diff options
author | onefang | 2019-05-19 22:57:26 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:57:26 +1000 |
commit | 5e27d15a1f8045de70e5b061dcda51b0e5555701 (patch) | |
tree | 75d3eb166bfeb37654237b5592aeda00d324295a /bin/config-include/GridCommon.ini | |
parent | Build instructions ++ (diff) | |
download | opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.zip opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.gz opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.bz2 opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.xz |
Major clean up of .ini files.
Sorry about the lack of details.
Diffstat (limited to '')
-rw-r--r-- | bin/config-include/GridCommon.ini | 255 | ||||
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 5 |
2 files changed, 259 insertions, 1 deletions
diff --git a/bin/config-include/GridCommon.ini b/bin/config-include/GridCommon.ini new file mode 100644 index 0000000..8621651 --- /dev/null +++ b/bin/config-include/GridCommon.ini | |||
@@ -0,0 +1,255 @@ | |||
1 | ; This is the main configuration file for an instance of OpenSim running in grid mode | ||
2 | ; In particular, this one is set up for connecting to Infinite Grid. | ||
3 | |||
4 | [DatabaseService] | ||
5 | ; | ||
6 | ; ### Choose the DB | ||
7 | ; | ||
8 | |||
9 | ; SQLite | ||
10 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
11 | |||
12 | ; MySql | ||
13 | ; Uncomment these lines if you want to use mysql storage | ||
14 | ; Change the connection string to your db details | ||
15 | ;StorageProvider = "OpenSim.Data.MySQL.dll" | ||
16 | ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
17 | ; Uncomment this line if you are using MySQL and want to use a different database for estates | ||
18 | ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. | ||
19 | ; Most people won't need to do this so only uncomment if you know what you're doing. | ||
20 | ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
21 | |||
22 | ; MSSQL | ||
23 | ; Uncomment these lines if you want to use MSSQL storage | ||
24 | ; Change the connection string to your db details | ||
25 | ; The value for server property is shown in your SQL Server Management Studio login dialog. | ||
26 | ; (This sample is the default of express edition) | ||
27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | ||
28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | ||
29 | |||
30 | ; PGSQL | ||
31 | ; Uncomment these lines if you want to use PGSQL storage | ||
32 | ; Change the connection string to your db details | ||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
35 | |||
36 | StorageProvider = "${Const|DataProvider}" | ||
37 | ConnectionString = "${Const|ConnectionString}" | ||
38 | |||
39 | |||
40 | [Hypergrid] | ||
41 | ; Uncomment the variables in this section only if you are in | ||
42 | ; Hypergrid configuration. Otherwise, ignore. | ||
43 | |||
44 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
45 | ;; If this is a standalone world, this is the address of this instance. | ||
46 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
47 | ;; runs the UserAgentsService. | ||
48 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
49 | ;; This is a default that can be overwritten in some sections. | ||
50 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
51 | |||
52 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
53 | ;; If this is a standalone world, this is the address of this instance. | ||
54 | ;; If this is a grided simulator, this is the address of the external robust server | ||
55 | ;; that runs the Gatekeeper service. | ||
56 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
57 | ;; This is a default that can be overwritten in some sections. | ||
58 | GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
59 | |||
60 | [Modules] | ||
61 | ;; Choose one cache module and the corresponding config file, if it exists. | ||
62 | ;; Copy the config .example file into your own .ini file and adapt that. | ||
63 | ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. | ||
64 | ; I think only Windows needs caching, haven't noticed any difference under Linux, which uses spare memory for file caching anyway. | ||
65 | |||
66 | AssetCaching = "FlotsamAssetCache" | ||
67 | Include-FlotsamCache = "config-include/FlotsamCache.ini" | ||
68 | |||
69 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
70 | ;Include-CenomeCache = "config-include/CenomeCache.ini" | ||
71 | |||
72 | ;AssetCaching = "GlynnTuckerAssetCache" | ||
73 | |||
74 | ;; Optionally, the port for the LLProxyLoginModule module can be changed | ||
75 | ;Setup_LLProxyLoginModule = "9090/" | ||
76 | |||
77 | ;; Authorization is not on by default, as it depends on external php | ||
78 | ;AuthorizationServices = "RemoteAuthorizationServicesConnector" | ||
79 | |||
80 | [AssetService] | ||
81 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
82 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
83 | |||
84 | ; | ||
85 | ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. | ||
86 | ; | ||
87 | AssetServerURI = "${Const|BaseURL}:${Const|AssetServerPort}" | ||
88 | |||
89 | [InventoryService] | ||
90 | ; | ||
91 | ; Change this to your grid-wide inventory server | ||
92 | ; | ||
93 | InventoryServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
94 | ;MaxRetries = 0 | ||
95 | |||
96 | [GridInfo] | ||
97 | ; | ||
98 | ; Change this to your grid info service | ||
99 | ; | ||
100 | GridInfoURI = "${Const|GridURL}:${Const|PublicPort}" | ||
101 | |||
102 | [GridService] | ||
103 | ; | ||
104 | ; Change this to your grid-wide grid server | ||
105 | ; | ||
106 | GridServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
107 | AllowHypergridMapSearch = true | ||
108 | |||
109 | ;; Directory for map tile images of linked regions | ||
110 | MapTileDirectory = "${Paths|CachePath}/maptiles" | ||
111 | |||
112 | ; === HG ONLY === | ||
113 | ;; Change this to the address of your Gatekeeper service | ||
114 | ;; (usually bundled with the rest of the services in one | ||
115 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
116 | Gatekeeper="${Const|GridURL}:${Const|PublicPort}" | ||
117 | |||
118 | [EstateDataStore] | ||
119 | ; | ||
120 | ; Uncomment if you want centralized estate data at robust server, | ||
121 | ; in which case the URL in [EstateService] will be used | ||
122 | ; | ||
123 | ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector" | ||
124 | |||
125 | [EstateService] | ||
126 | EstateServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
127 | |||
128 | [Messaging] | ||
129 | ; === HG ONLY === | ||
130 | ;; Change this to the address of your Gatekeeper service | ||
131 | ;; (usually bundled with the rest of the services in one | ||
132 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
133 | Gatekeeper = "${Const|GridURL}:${Const|PublicPort}" | ||
134 | |||
135 | [AvatarService] | ||
136 | ; | ||
137 | ; Change this to your grid-wide grid server | ||
138 | ; | ||
139 | AvatarServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
140 | |||
141 | [AgentPreferencesService] | ||
142 | ; | ||
143 | ; Change this to your grid-wide avatar prefs server | ||
144 | ; | ||
145 | AgentPreferencesServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
146 | |||
147 | [PresenceService] | ||
148 | ; | ||
149 | ; Change this to your grid-wide presence server | ||
150 | ; | ||
151 | PresenceServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
152 | |||
153 | [UserAccountService] | ||
154 | ; | ||
155 | ; Change this to your grid-wide user accounts server | ||
156 | ; | ||
157 | UserAccountServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
158 | |||
159 | [GridUserService] | ||
160 | ; | ||
161 | ; Change this to your grid-wide user accounts server | ||
162 | ; | ||
163 | GridUserServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
164 | |||
165 | [AuthenticationService] | ||
166 | ; | ||
167 | ; Change this to your grid-wide authentication server | ||
168 | ; | ||
169 | AuthenticationServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
170 | |||
171 | [FriendsService] | ||
172 | ; | ||
173 | ; Change this to your grid-wide friends server | ||
174 | ; | ||
175 | FriendsServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
176 | |||
177 | [HGInventoryAccessModule] | ||
178 | ; | ||
179 | ; === HG ONLY === | ||
180 | ; Change this to your server | ||
181 | ; accessible from other grids | ||
182 | ; | ||
183 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
184 | Gatekeeper = "${Const|GridURL}:${Const|PublicPort}" | ||
185 | ;; If you want to protect your assets from being copied by foreign visitors | ||
186 | ;; set this to false. You may want to do this on sims that have licensed content. | ||
187 | ;; Default is true. | ||
188 | OutboundPermission = True | ||
189 | |||
190 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | ||
191 | ;; and available when they return. True by default. | ||
192 | ;RestrictInventoryAccessAbroad = True | ||
193 | |||
194 | ;; Warning: advanced and unusual. Default is false. | ||
195 | ;; Enables configurations where grids share user services, including inventory, | ||
196 | ;; while separating regions' assets from users' assets. Asset transfer between | ||
197 | ;; the users' asset server and the regions' asset server is done in HG-like manner. | ||
198 | ; CheckSeparateAssets = false | ||
199 | ; RegionHGAssetServerURI = ${Const|GridURL}:${Const|PublicPort} | ||
200 | |||
201 | |||
202 | [HGAssetService] | ||
203 | ; | ||
204 | ; === HG ONLY === | ||
205 | ; Change this to your server | ||
206 | ; accessible from other grids | ||
207 | ; | ||
208 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
209 | |||
210 | ;; The asset types that this grid can export to / import from other grids. | ||
211 | ;; Comma separated. | ||
212 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
213 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
214 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
215 | ;; | ||
216 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
217 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
218 | ;; of scripts, like so: | ||
219 | ; DisallowExport ="LSLText" | ||
220 | ; DisallowImport ="LSLBytecode" | ||
221 | |||
222 | [HGFriendsModule] | ||
223 | ; User level required to be able to send friendship invitations to foreign users | ||
224 | LevelHGFriends = 0; | ||
225 | |||
226 | [UserAgentService] | ||
227 | ; | ||
228 | ; === HG ONLY === | ||
229 | ; Change this to your user agent server (HG robust) | ||
230 | ; | ||
231 | UserAgentServerURI = "${Const|GridURL}:${Const|PublicPort}" | ||
232 | |||
233 | [MapImageService] | ||
234 | MapImageServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
235 | |||
236 | [AuthorizationService] | ||
237 | ; If you have regions with access restrictions | ||
238 | ; specify them here using the convention | ||
239 | ; Region_<Region_Name> = <flags> | ||
240 | ; Valid flags are: | ||
241 | ; DisallowForeigners -- HG visitors not allowed | ||
242 | ; DisallowResidents -- only Admins and Managers allowed | ||
243 | ; Example: | ||
244 | ; Region_Test_1 = "DisallowForeigners" | ||
245 | |||
246 | ;; Uncomment if you are using SimianGrid for grid services | ||
247 | [SimianGrid] | ||
248 | ;; SimianGrid services URL | ||
249 | ;; SimianServiceURL = "http://grid.sciencesim.com/Grid/" | ||
250 | |||
251 | ;; Capability assigned by the grid administrator for the simulator | ||
252 | ;; SimulatorCapability = "00000000-0000-0000-0000-000000000000" | ||
253 | |||
254 | [MuteListService] | ||
255 | MuteListServerURI = "${Const|BaseURL}:${Const|PrivatePort}" | ||
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index e93ce3c..5406295 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -6,7 +6,7 @@ | |||
6 | ; | 6 | ; |
7 | 7 | ||
8 | ; SQLite | 8 | ; SQLite |
9 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | 9 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; |
10 | 10 | ||
11 | ; MySql | 11 | ; MySql |
12 | ; Uncomment these lines if you want to use mysql storage | 12 | ; Uncomment these lines if you want to use mysql storage |
@@ -32,6 +32,9 @@ | |||
32 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | 32 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" |
33 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | 33 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" |
34 | 34 | ||
35 | StorageProvider = "${Const|DataProvider}" | ||
36 | ConnectionString = "${Const|ConnectionString}" | ||
37 | |||
35 | [Hypergrid] | 38 | [Hypergrid] |
36 | ; Uncomment the variables in this section only if you are in | 39 | ; Uncomment the variables in this section only if you are in |
37 | ; Hypergrid configuration. Otherwise, ignore. | 40 | ; Hypergrid configuration. Otherwise, ignore. |