diff options
author | Diva Canto | 2010-01-31 14:01:47 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-31 14:01:47 -0800 |
commit | af758ea16456a47832cc823465819fc4f9576c77 (patch) | |
tree | e2efc6c6bf3be178034919f232e35dbba50a781b /bin/OpenSim.Server.HG.ini.example | |
parent | Can't comment [Network] even if it's not used. (diff) | |
download | opensim-SC-af758ea16456a47832cc823465819fc4f9576c77.zip opensim-SC-af758ea16456a47832cc823465819fc4f9576c77.tar.gz opensim-SC-af758ea16456a47832cc823465819fc4f9576c77.tar.bz2 opensim-SC-af758ea16456a47832cc823465819fc4f9576c77.tar.xz |
* More config cleanup
* Added different ports (8002 and 8003) to the many services in OpenSim.Server.ini.example
* Added a separate OpenSim.Server.HG.ini.example to make it easier to run
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.Server.HG.ini.example | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/bin/OpenSim.Server.HG.ini.example b/bin/OpenSim.Server.HG.ini.example new file mode 100644 index 0000000..7c1ccef --- /dev/null +++ b/bin/OpenSim.Server.HG.ini.example | |||
@@ -0,0 +1,173 @@ | |||
1 | ;; Configurations for enabling HG1.5 | ||
2 | ;; | ||
3 | ;; Run | ||
4 | ;; $ OpenSim.Server.exe -inifile OpenSim.Server.HG.ini | ||
5 | |||
6 | ;; HG1.5 handlers are: OpenSim.Server.Handlers.dll:GatekeeperService | ||
7 | ;; OpenSim.Server.Handlers.dll:UserAgentService | ||
8 | ;; OpenSim.Server.Handlers.dll:HGInventoryServiceInConnector | ||
9 | ;; | ||
10 | ;; Note that we're putting the asset service in 8002. | ||
11 | ;; Make sure your simulators point to that. | ||
12 | |||
13 | [Startup] | ||
14 | ServiceConnectors = "8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:InventoryServiceInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8003/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,8002/OpenSim.Server.Handlers.dll:HGInventoryServiceInConnector" | ||
15 | |||
16 | ; * This is common for all services, it's the network setup for the entire | ||
17 | ; * server instance, if none if specified above | ||
18 | ; * | ||
19 | [Network] | ||
20 | port = 8003 | ||
21 | |||
22 | ; * The following are for the remote console | ||
23 | ; * They have no effect for the local or basic console types | ||
24 | ; * Leave commented to diable logins to the console | ||
25 | ;ConsoleUser = Test | ||
26 | ;ConsolePass = secret | ||
27 | ;ConsolePort = 0 | ||
28 | |||
29 | ; * As an example, the below configuration precisely mimicks the legacy | ||
30 | ; * asset server. It is read by the asset IN connector (defined above) | ||
31 | ; * and it then loads the OUT connector (a local database module). That, | ||
32 | ; * in turn, reads the asset loader and database connection information | ||
33 | ; * | ||
34 | [AssetService] | ||
35 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | ||
36 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
37 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
38 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
39 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
40 | |||
41 | ; * This configuration loads the inventory server modules. It duplicates | ||
42 | ; * the function of the legacy inventory server | ||
43 | ; * | ||
44 | [InventoryService] | ||
45 | LocalServiceModule = "OpenSim.Services.InventoryService.dll:InventoryService" | ||
46 | SessionAuthentication = "false" | ||
47 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
48 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
49 | |||
50 | ; * This is the new style grid service. | ||
51 | ; * "Realm" is the table that is used for user lookup. | ||
52 | ; * It defaults to "regions", which uses the legacy tables | ||
53 | ; * | ||
54 | [GridService] | ||
55 | LocalServiceModule = "OpenSim.Services.GridService.dll:GridService" | ||
56 | StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" | ||
57 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
58 | Realm = "regions" | ||
59 | ; AllowDuplicateNames = "True" | ||
60 | ;; Next, we can specify properties of regions, including default and fallback regions | ||
61 | ;; The syntax is: Region_<RegionName> = "<flags>" | ||
62 | ;; or: Region_<RegionID> = "<flags>" | ||
63 | ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut,Reservation,NoMove,Authenticate | ||
64 | ;; For example: | ||
65 | ; Region_Welcome_Area = "DefaultRegion, FallbackRegion" | ||
66 | ; (replace spaces with underscore) | ||
67 | |||
68 | ; * This is the configuration for the freeswitch server in grid mode | ||
69 | [FreeswitchService] | ||
70 | LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService" | ||
71 | |||
72 | ; * This is the new style authentication service. Currently, only MySQL | ||
73 | ; * is implemented. "Realm" is the table that is used for user lookup. | ||
74 | ; * By setting it to "users", you can use the old style users table | ||
75 | ; * as an authentication source. | ||
76 | ; * | ||
77 | [AuthenticationService] | ||
78 | ; for the server connector | ||
79 | LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
80 | ; for the service | ||
81 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
82 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
83 | |||
84 | [OpenIdService] | ||
85 | ; for the server connector | ||
86 | AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
87 | UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
88 | |||
89 | ; * This is the new style user service. | ||
90 | ; * "Realm" is the table that is used for user lookup. | ||
91 | ; * It defaults to "users", which uses the legacy tables | ||
92 | ; * | ||
93 | [UserAccountService] | ||
94 | ; for the server connector | ||
95 | LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
96 | ; for the service | ||
97 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
98 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
99 | ; Realm = "useraccounts" | ||
100 | ;; These are for creating new accounts by the service | ||
101 | AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
102 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
103 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
104 | InventoryService = "OpenSim.Services.InventoryService.dll:InventoryService" | ||
105 | |||
106 | [PresenceService] | ||
107 | ; for the server connector | ||
108 | LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
109 | ; for the service | ||
110 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
111 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
112 | |||
113 | [AvatarService] | ||
114 | ; for the server connector | ||
115 | LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
116 | ; for the service | ||
117 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
118 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim123;" | ||
119 | |||
120 | [LibraryService] | ||
121 | LibraryName = "OpenSim Library" | ||
122 | DefaultLibrary = "./inventory/Libraries.xml" | ||
123 | |||
124 | [LoginService] | ||
125 | ; for the server connector | ||
126 | LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService" | ||
127 | ; for the service | ||
128 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
129 | AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
130 | InventoryService = "OpenSim.Services.InventoryService.dll:InventoryService" | ||
131 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | ||
132 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
133 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
134 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | ||
135 | LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService" | ||
136 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
137 | |||
138 | DefaultRegion = "OpenSim Test" | ||
139 | WelcomeMessage = "Welcome, Avatar!" | ||
140 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) | ||
141 | ; CHANGE THIS | ||
142 | HomeURI = "http://127.0.0.1:8002" | ||
143 | GatekeeperURI = "http://127.0.0.1:8002" | ||
144 | InventoryServerURI = "http://127.0.0.1:8002" | ||
145 | AssetServerURI = "http://127.0.0.1:8002" | ||
146 | |||
147 | [GatekeeperService] | ||
148 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService" | ||
149 | ;; for the service | ||
150 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | ||
151 | UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
152 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
153 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
154 | AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" | ||
155 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | ||
156 | ; how does the outside world reach me? This acts as public key too. | ||
157 | ; CHANGE THIS | ||
158 | ExternalName = "http://127.0.0.1:8002" | ||
159 | |||
160 | [UserAgentService] | ||
161 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService" | ||
162 | ;; for the service | ||
163 | PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService" | ||
164 | GridService = "OpenSim.Services.GridService.dll:GridService" | ||
165 | |||
166 | ;; The interface that local users get when they are in other grids. | ||
167 | ;; This restricts the inventory operations while in other grids. | ||
168 | ;; Still not completely safe, especially if users perform inventory operations | ||
169 | ;; while in those grids. The more the user accesses his/her inventory, the more | ||
170 | ;; those simulators will know about the user's inventory. | ||
171 | [HGInventoryService] | ||
172 | ; For the InventoryServiceInConnector | ||
173 | LocalServiceModule = "OpenSim.Services.InventoryService.dll:HGInventoryService" | ||