1 //-----------------------------------------------------------------------------
2 // The set of std01 domains
3 //-----------------------------------------------------------------------------
6 //-----------------------------------------------------------------------------
8 //-----------------------------------------------------------------------------
10 // the std01 domain -----------------
14 use shard_std01_unifier
15 use shard_std01_mainland01
16 use shard_std01_mainland02
17 use shard_std01_ring01
18 use shard_std01_ring02
21 cfg ASWebPort="46700";
25 cfg SUGlobalPort = 50503;
26 cfg L3BSPort = "49950";
27 cfg L3SlaveBSPort = "49951";
28 cfg L3MasterLGSPort = 49992;
29 cfg L3SlaveLGSPort = 49993;
30 cfg LGSBSPort = 49994;
31 cfg L3LGSBSPort = 49995;
34 cfg AESHost = "localhost";
35 cfg SUHost = "su1.std01.ryzomcore.local";
36 cfg MFSHost = "su1.std01.ryzomcore.local";
37 cfg BSHost = "pd1.std01.ryzomcore.local:49990"; // Backup service host for domain
38 cfg SlaveBSHost= "pd2.std01.ryzomcore.local:49991";
39 cfg MasterLGSHost = "pd3.std01.ryzomcore.local";
40 cfg SlaveLGSHost = "pd4.std01.ryzomcore.local";
41 cfg LGSBSHost = "csr.core.ryzomcore.local"; // Backup service host for log service
42 cfg DBHost = "sql.core.ryzomcore.local";
43 cfgAfter WebSrvHost = "http://su1.std01.ryzomcore.local:50000/";
45 // initial config files
46 cfgFile ../cfg/00_base.cfg
47 cfgFile ../cfg/01_domain_std01.cfg
49 // shard names and ids
50 cfgAfter Mainlands = {
51 cfgAfter "101", "Mainland 01", "(Mainland 01)", "en",
52 cfgAfter "102", "Mainland 02", "(Mainland 02)", "en",
54 cfgAfter HomeMainlandNames =
56 cfgAfter "101", "Mainland 01", "mla",
57 cfgAfter "102", "Mainland 02", "mlb",
59 cfgAfter RRDVarPath = "../rrd_graphs";
61 // addition of extra filters for this domain
62 // cfgAfter NegFiltersDebug+= {"DEFAULT_CB", "NET","ADMIN","MIRROR","CDB_MULTI_IMPULSION"};
63 cfgAfter NegFiltersInfo+= {"FESTATS", "FETIME", "FERECV", "FESEND: sent SYNC message to client 1", "EIT: Register EId"};
64 cfgAfter NegFiltersWarning+= {"PIPO_SESSION1", "casino_session_matis01", "invalid damage type 10", "_log_Item_Delete",
65 cfgAfter "_log_Item_Money", "_log_Item_Create", "_log_Item_Move", "botChatMissionAdvance> invalid index 0",
66 cfgAfter "_MaxRange(0) < _MinRange(1)", "Can't find craft plan sheet 'unknown.unknown'"};
67 cfgAfter DontUseAES=1;
68 // cfgAfter RingAccessLimits="d3:j2:f2:l2:p2";
69 cfgAfter RingRPEnabled=0;
70 cfgAfter DomainName = "std01";
71 cfgAfter EnableStlAllocatorChecker = 0;
73 cfgAfter // start commands for setting up the exchange level caps of different std01 shards
74 cfgAfter StartCommands += { "setShardExchangeLimit 101 250" };
75 cfgAfter StartCommands += { "setShardExchangeLimit 102 250" };
76 cfgAfter StartCommands += { "displayShardExchangeLimits" };
79 // shard unifier -------------------
81 define shard_std01_unifier
84 use shard_exe_set_std01_ras
85 use shard_exe_set_std01_unifier
87 define shard_exe_set_std01_ras
89 host ep1.std01.ryzomcore.local
91 define shard_exe_set_std01_unifier
92 use exe_set_std_unifier
93 host su1.std01.ryzomcore.local
94 cfg DBPass = DBNelPass;
97 // shard mainland01 ----------------
99 define shard_std01_mainland01
101 use shard_exe_set_std01_mainland01_be01
102 use shard_exe_set_std01_mainland01_be02
103 use shard_exe_set_std01_mainland01_be03
104 use shard_exe_set_std01_mainland01_fe01
105 use shard_exe_set_std01_mainland01_fe02
107 cfg BasePort = 51000;
108 cfg SaveFilesDirectory="std01_mainland01/";
109 cfg NSHost = "mla1.std01.ryzomcore.local";
110 cfgFile ../cfg/02_shard_type_std_mainland.cfg
112 define shard_exe_set_std01_mainland01_be01
113 use exe_set_std_mainland_be01
114 host mla1.std01.ryzomcore.local
116 define shard_exe_set_std01_mainland01_be02
117 use exe_set_std_mainland_be02
118 host mla2.std01.ryzomcore.local
120 define shard_exe_set_std01_mainland01_be03
121 use exe_set_std_mainland_be03
122 host mla3.std01.ryzomcore.local
124 define shard_exe_set_std01_mainland01_fe01
125 use exe_set_std_mainland_fe
126 host mla4.std01.ryzomcore.local
127 cfg FSListenHost = "mla4.std01.ryzomcore.local";
129 define shard_exe_set_std01_mainland01_fe02
130 use exe_set_std_mainland_fe
131 host mla5.std01.ryzomcore.local
132 cfg FSListenHost = "mla5.std01.ryzomcore.local";
135 // shard mainland02 ----------------
137 define shard_std01_mainland02
139 use shard_exe_set_std01_mainland02_be01
140 use shard_exe_set_std01_mainland02_be02
141 use shard_exe_set_std01_mainland02_be03
142 use shard_exe_set_std01_mainland02_fe01
143 use shard_exe_set_std01_mainland02_fe02
145 cfg BasePort = 51100;
146 cfg SaveFilesDirectory="std01_mainland02/";
147 cfg NSHost = "mlb1.std01.ryzomcore.local";
148 cfgFile ../cfg/02_shard_type_std_mainland.cfg
150 define shard_exe_set_std01_mainland02_be01
151 use exe_set_std_mainland_be01
152 host mlb1.std01.ryzomcore.local
154 define shard_exe_set_std01_mainland02_be02
155 use exe_set_std_mainland_be02
156 host mlb2.std01.ryzomcore.local
158 define shard_exe_set_std01_mainland02_be03
159 use exe_set_std_mainland_be03
160 host mlb3.std01.ryzomcore.local
162 define shard_exe_set_std01_mainland02_fe01
163 use exe_set_std_mainland_fe
164 host mlb4.std01.ryzomcore.local
165 cfg FSListenHost = "mlb4.std01.ryzomcore.local";
167 define shard_exe_set_std01_mainland02_fe02
168 use exe_set_std_mainland_fe
169 host mlb5.std01.ryzomcore.local
170 cfg FSListenHost = "mlb5.std01.ryzomcore.local";
173 // shard ring01 --------------------
175 define shard_std01_ring01
177 use shard_exe_set_std01_ring01_be
178 use shard_exe_set_std01_ring01_fe
180 cfg BasePort = 51400;
181 cfg SaveFilesDirectory="std01_ring01/";
182 cfg NSHost = "rra1.std01.ryzomcore.local";
183 cfgFile ../cfg/02_shard_type_std_ring.cfg
185 define shard_exe_set_std01_ring01_be
186 use exe_set_std_ring_be
187 host rra1.std01.ryzomcore.local
189 define shard_exe_set_std01_ring01_fe
190 use exe_set_std_ring_fe
191 host rra2.std01.ryzomcore.local
192 cfg FSListenHost = "rra2.std01.ryzomcore.local";
195 // shard ring02 --------------------
197 define shard_std01_ring02
199 use shard_exe_set_std01_ring02_be
200 use shard_exe_set_std01_ring02_fe
202 cfg BasePort = 51500;
203 cfg SaveFilesDirectory="std01_ring02/";
204 cfg NSHost = "rrb1.std01.ryzomcore.local";
205 cfgFile ../cfg/02_shard_type_std_ring.cfg
207 define shard_exe_set_std01_ring02_be
208 use exe_set_std_ring_be
209 host rrb1.std01.ryzomcore.local
211 define shard_exe_set_std01_ring02_fe
212 use exe_set_std_ring_fe
213 host rrb2.std01.ryzomcore.local
214 cfg FSListenHost = "rrb2.std01.ryzomcore.local";
217 // the std01 backup domain ----------
219 define domain_std01_backup
221 use shard_std01_backup_ras
222 use shard_std01_backup
226 cfg ASWebPort="46710";
230 // initial config files
231 cfgFile ../cfg/00_base.cfg
232 cfgFile ../cfg/01_domain_std01.cfg
234 // addition of extra filters for this domain
235 cfgAfter NegFiltersDebug+= {"DEFAULT_CB", "NET","ADMIN","MIRROR","CDB_MULTI_IMPULSION"};
236 cfgAfter NegFiltersInfo+= {"NET", "FETIME","TimerManagerUpdate"};
237 cfgAfter NegFiltersWarning+= {"AES"};
239 // Force all backup services to launch in write only mode
240 cfgAfter BSReadState = 0;
241 cfgAfter RRDVarPath = "../rrd_graphs";
242 cfgAfter DontUseAES=1;
243 cfgAfter DontUseNS=1;
245 // shard names and ids
246 cfgAfter Mainlands = {
247 cfgAfter "101", "Mainland 01", "(Mainland 01)", "en",
248 cfgAfter "102", "Mainland 02", "(Mainland 02)", "en",
250 cfgAfter HomeMainlandNames =
252 cfgAfter "101", "Mainland 01", "mla",
253 cfgAfter "102", "Mainland 02", "mlb",
257 // backup domain ras ---------------
259 define shard_std01_backup_ras
260 shard std01_backup_ras
263 host ep1.std01.ryzomcore.local
266 // the main backup pair ------------
268 define shard_std01_backup
270 use shard_exe_set_std01_backup_master
271 use shard_exe_set_std01_backup_slave
273 define shard_exe_set_std01_backup_master
275 use exe_set_std_backup_master
276 host pd1.std01.ryzomcore.local
278 define shard_exe_set_std01_backup_slave
280 // hack to workaround bug in backup service
281 // use exe_set_std_backup_slave
282 use exe_set_std01_backup_slave
283 host pd2.std01.ryzomcore.local
284 cfgAfter MasterBSHost = "pd1.std01.ryzomcore.local:49990";
286 // hack to workaround bug in backup service
287 define exe_set_std01_backup_slave
289 use std01_backup_slave
292 // hack to workaround bug in backup service
293 define std01_backup_slave
295 cmdLine backup_service -C. -L. --nobreak --writepid -P49991
296 cfg #include "../std01/cfg/backup_module_service_slave.cfg"
297 cfgAfter ListeningPort = 49991;
298 cfgAfter L3ListeningPort = 49951;
299 cfgAfter WebPort = 49971;
300 cfgAfter BSReadState = 0;
301 cfgAfter SaveShardRoot = "../save_shard/";
304 // lgs pair & relates bs ------------
306 define shard_std01_lgs
308 use shard_exe_set_std01_lgs_primary
309 use shard_exe_set_std01_lgs_secondary
310 use shard_exe_set_std01_lgs_bs
311 cfg L3MasterLGSPort = 49992;
312 cfg L3SlaveLGSPort = 49993;
313 cfg LGSBSPort = 49994;
314 cfg L3LGSBSPort = 49995;
315 cfg MasterLGSHost = "pd3.std01.ryzomcore.local";
316 cfg SlaveLGSHost = "pd4.std01.ryzomcore.local";
317 cfg LGSBSHost = "csr.core.ryzomcore.local";
319 define shard_exe_set_std01_lgs_primary
322 use exe_set_std_lgs_master
323 host pd3.std01.ryzomcore.local
325 define shard_exe_set_std01_lgs_secondary
328 use exe_set_std_lgs_slave
329 host pd4.std01.ryzomcore.local
331 define shard_exe_set_std01_lgs_bs
335 host csr.core.ryzomcore.local
338 // the std01 las domain -------------
340 define domain_std01_las
342 use shard_std01_las_ras
343 use shard_std01_las_master
344 use shard_std01_las_slave
347 cfg ASWebPort="46720";
351 // initial config files
352 cfgFile ../cfg/00_base.cfg
353 // cfgFile ../cfg/01_domain_std01.cfg
355 // addition of extra filters for this domain
356 cfgAfter NegFiltersDebug+= {"DEFAULT_CB", "NET","ADMIN","MIRROR","CDB_MULTI_IMPULSION"};
357 cfgAfter NegFiltersInfo+= {"NET", "FETIME","TimerManagerUpdate"};
358 cfgAfter NegFiltersWarning+= {"AES"};
359 cfgAfter DontUseAES=1;
362 // las domain ras ------------------
364 define shard_std01_las_ras
368 host ep1.std01.ryzomcore.local
371 // master las ----------------------
373 define shard_std01_las_master
374 shard std01_las_master
381 host pd3.std01.ryzomcore.local
383 define las_mainland01
384 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_mainland01/pds"};
385 cfgAfter WebPort = 49899;
389 define las_mainland02
390 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_mainland02/pds"};
391 cfgAfter WebPort = 49898;
396 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_ring01/pds"};
397 cfgAfter WebPort = 49894;
402 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_ring02/pds"};
403 cfgAfter WebPort = 49893;
408 // slave las ------------------------
410 define shard_std01_las_slave
411 shard std01_las_slave
414 use las_mainland01_slave
415 use las_mainland02_slave
418 host pd4.std01.ryzomcore.local
420 define las_mainland01_slave
421 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_mainland01/pds"};
422 cfgAfter WebPort = 49899;
426 define las_mainland02_slave
427 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_mainland02/pds"};
428 cfgAfter WebPort = 49898;
432 define las_ring01_slave
433 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_ring01/pds"};
434 cfgAfter WebPort = 49894;
438 define las_ring02_slave
439 cfgAfter StartCommands += {"PDRootDirectory /srv/core/backup01/save_shard_pd/std01_ring02/pds"};
440 cfgAfter WebPort = 49893;