aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/config-include
diff options
context:
space:
mode:
Diffstat (limited to 'bin/config-include')
-rw-r--r--bin/config-include/FlotsamCache.ini97
-rw-r--r--bin/config-include/GridCommon.ini255
2 files changed, 352 insertions, 0 deletions
diff --git a/bin/config-include/FlotsamCache.ini b/bin/config-include/FlotsamCache.ini
new file mode 100644
index 0000000..cf06d6c
--- /dev/null
+++ b/bin/config-include/FlotsamCache.ini
@@ -0,0 +1,97 @@
1[AssetCache]
2 ;;
3 ;; Options for FlotsamAssetCache
4 ;;
5
6 ; cache directory can be shared by multiple instances
7 CacheDirectory = ${Paths|CachePath}/assetcache
8 ; Other examples:
9 ;CacheDirectory = /directory/writable/by/OpenSim/instance
10
11 ; Log level
12 ; 0 - (Error) Errors only
13 ; 1 - (Info) Hit Rate Stats + Level 0
14 ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
15 ;
16 LogLevel = 0
17
18 ; How often should hit rates be displayed (given in AssetRequests)
19 ; 0 to disable
20 HitRateDisplay = 100
21
22 ; Set to false for no memory cache
23 ; assets can be requested several times in short periods
24 ; so even a small memory cache is useful
25 MemoryCacheEnabled = false
26
27 ; If a memory cache hit happens, or the asset is still in memory
28 ; due to other causes, update the timestamp on the disk file anyway.
29 ; Don't turn this on unless you share your asset cache between simulators
30 ; AND use an external process, e.g. cron job, to clean it up.
31 UpdateFileTimeOnCacheHit = false
32
33 ; Enabling this will cache negative fetches. If an asset is negative-cached
34 ; it will not be re-requested from the asset server again for a while.
35 ; Generally, this is a good thing.
36 ;
37 ; Regular expiration settings (non-sliding) mean that the asset will be
38 ; retried after the time has expired. Sliding expiration means that
39 ; the time the negative cache will keep the asset is refreshed each
40 ; time a fetch is attempted. Use sliding expiration if you have rogue
41 ; scripts hammering the asset server with requests for nonexistent
42 ; assets.
43 ;
44 ; There are two cases where negative caching may cause issues:
45 ;
46 ; 1 - If an invalid asset is repeatedly requested by a script and that asset is
47 ; subsequently created, it will not be seen until fcache clear
48 ; is used. This is a very theoretical scenario since UUID collisions
49 ; are deemed to be not occuring in practice.
50 ; This can only become an issue with sliding expiration time.
51 ;
52 ; 2 - If the asset service is clustered, an asset may not have propagated
53 ; to all cluster members when it is first attempted to fetch it.
54 ; This may theoretically occur with networked vendor systems and
55 ; would lead to an asset not found message. However, after the
56 ; expiration time has elapsed, the asset will then be fetchable.
57 ;
58 ; The defaults below are suitable for all small to medium installations
59 ; including grids.
60 NegativeCacheEnabled = true
61 NegativeCacheTimeout = 120
62 NegativeCacheSliding = false
63
64 ; Set to false for no file cache
65 FileCacheEnabled = true
66
67 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
68 ; even a few minutes may mean many assets loaded to memory, if not all.
69 ; this is good if memory is not a problem.
70 ; if memory is a problem then a few seconds may actually save same.
71 ; see hit rates with console comand: fcache status
72 MemoryCacheTimeout = .016 ; one minute
73
74 ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
75 ; Specify 0 if you do not want your disk cache to expire
76 FileCacheTimeout = 48
77
78 ; How often {in hours} should the disk be checked for expired files
79 ; Specify 0 to disable expiration checking
80 FileCleanupTimer = 0.0 ; disabled
81
82 ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
83 ; long (in miliseconds) to block a request thread while trying to complete
84 ; an existing write to disk.
85 ; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE
86 ; WaitOnInprogressTimeout = 3000
87
88 ; Number of tiers to use for cache directories (current valid
89 ; range 1 to 3)
90 ;CacheDirectoryTiers = 1
91
92 ; Number of letters per path tier, 1 will create 16 directories
93 ; per tier, 2 - 256, 3 - 4096 and 4 - 65K
94 ;CacheDirectoryTierLength = 3
95
96 ; Warning level for cache directory size
97 ;CacheWarnAt = 30000
diff --git a/bin/config-include/GridCommon.ini b/bin/config-include/GridCommon.ini
new file mode 100644
index 0000000..26accd9
--- /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 IG or MG.
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 GatekeeperURI="${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 GatekeeperURI = "${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 GatekeeperURI = "${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}"