-
Notifications
You must be signed in to change notification settings - Fork 2
/
shard_ctrl_prod.txt
201 lines (171 loc) · 5.3 KB
/
shard_ctrl_prod.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
//-----------------------------------------------------------------------------
// Prod Domain
//-----------------------------------------------------------------------------
// the domain ----------------------
define domain_prod
domain prod
use shard_prod_unifier
use shard_prod_ml1
use shard_prod_ml2
use shard_prod_csr
use shard_prod_rra
use shard_prod_rrb
// domain ports
cfg ASWebPort = "46699";
cfg ASPort = "46698";
cfg AESPort = "46697";
cfg SUGlobalPort = 46695;
cfg RSMPort = "46694";
cfg LSPort = "46693";
cfg MFSFwdPort = "46692";
cfg SUPort = 43505;
cfg L3BSPort = "43950";
cfg L3SlaveBSPort = "43951";
cfg L3MasterLGSPort = 43992;
cfg L3SlaveLGSPort = 43993;
cfg LGSBSPort = 43994;
cfg L3LGSBSPort = 43995;
// domain hosts
cfg AESHost="localhost";
cfg SUHost = "prod";
cfg MFSHost = "prod";
cfg BSHost = "prod:43990";
cfg PDBSHost= "prod:43991";
cfg MasterLGSHost = "prod";
cfg SlaveLGSHost = "prod";
cfg LGSBSHost = "prod";
cfg DBHost = "maria";
cfg DBPort = "3306";
cfgAfter WebSrvHost = "https://prod.example.com/";
// initial config files
cfgFile ../cfg/00_base.cfg
cfgFile ../cfg/01_domain_prod.cfg
// shard names and ids
cfgAfter Mainlands = {
cfgAfter "601", "Mainland 1", "(Regular)", "en",
cfgAfter "602", "Mainland 2", "(Open Admin Privileges)", "en",
cfgAfter };
cfgAfter HomeMainlandNames =
cfgAfter {
cfgAfter "601", "Mainland 1", "ml1",
cfgAfter "602", "Mainland 2", "ml2",
cfgAfter "699", "CSR", "csr",
cfgAfter };
cfgAfter RRDVarPath = "../rrd_graphs";
// addition of extra filters for this domain
// cfgAfter NegFiltersDebug+= {"DEFAULT_CB", "NET","ADMIN","MIRROR","CDB_MULTI_IMPULSION"};
// cfgAfter NegFiltersInfo+= {"NET", "FETIME","TimerManagerUpdate"};
// cfgAfter NegFiltersWarning+= {"AES"};
// default minimal access
// cfgAfter DefaultCharRingAccess="a1";
// full ring access rights
cfgAfter DefaultCharRingAccess="f7:j7:l6:d7:p13:g9:a9";
// cfgAfter RingAccessLimits="d3:j2:f2:l2:p2";
cfgAfter RingRPEnabled=0;
cfgAfter DomainName = "prod";
cfgAfter EnableStlAllocatorChecker = 0;
// hook for local overrides (per machine)
cfgAfter #optional "../local.cfg"
// shard unifier -------------------
define shard_prod_unifier
shard unifier
cfg ShardId = 600;
data data_www
use ras
use exe_set_std_unifier
use bms_master
use exe_set_std_lgs_master
use exe_set_std_lgs_slave
use backup_lgs
// cfg DBPass="nevrax";
host prod
// shard ml1 ---------------------
define shard_prod_ml1
shard ml1
use shard_exe_set_prod_ml1
cfg ShardId = 601;
cfg BasePort = 36100;
cfg FSBasePort = 47670;
cfg SaveFilesDirectory="prod_ml1/";
cfg StringManagerCacheDirectory = "../data_shard_ml1";
cfg LogChatDirectory = "../data_shard_ml1";
cfgAfter NSPort = 45601;
cfgAfter NSHost = "game:45601";
cfgFile ../cfg/02_shard_type_std_mainland.cfg
// Activate logging of time consuming AStar searches
// cfg LogTimeConsumingAStar = 1;
// Dissable generation / display of nldebug messages
// cfg DissableNLDebug = 1;
define shard_exe_set_prod_ml1
use exe_set_all_mainland
host game
cfg FSListenHost = "game.example.com"; // FES
// cfgAfter AcceptInvalidCookie = 1; // LS
// shard ml2 ---------------------
define shard_prod_ml2
shard ml2
use shard_exe_set_prod_ml2
cfg ShardId = 602;
cfg BasePort = 36200;
cfg FSBasePort = 47680;
cfg SaveFilesDirectory="prod_ml2/";
cfg StringManagerCacheDirectory = "../data_shard_ml2";
cfg LogChatDirectory = "../data_shard_ml2";
cfgAfter NSPort = 45602;
cfgAfter NSHost = "game:45602";
cfgFile ../cfg/02_shard_type_std_mainland.cfg
// Activate logging of time consuming AStar searches
// cfg LogTimeConsumingAStar = 1;
// Dissable generation / display of nldebug messages
// cfg DissableNLDebug = 1;
define shard_exe_set_prod_ml2
use exe_set_all_mainland
host game
cfg FSListenHost = "game.example.com"; // LS
cfgAfter ClientCommandsPrivilegesFile = "client_commands_privileges_open.txt"; // EGS
// cfgAfter AcceptInvalidCookie = 1; // LS
// shard csr -----------------------
define shard_prod_csr
shard csr
use exe_set_mini_mainland
cfg ShardId = 699;
cfg BasePort = 36900;
cfg FSBasePort = 47690;
cfg SaveFilesDirectory="prod_csr/";
cfg StringManagerCacheDirectory = "../data_shard_csr";
cfg LogChatDirectory = "../data_shard_csr";
cfg FSListenHost = "game.example.com";
cfgFile ../cfg/02_shard_type_mini_mainland.cfg
host game
cfgAfter NSPort = 45699;
cfgAfter NSHost = "game:45699";
// shard ring01 --------------------
define shard_prod_rra
shard ring01
use exe_set_mini_ring
cfg ShardId = 611;
cfg BasePort = 36300;
cfg FSBasePort = 47610;
cfg SaveFilesDirectory="prod_ring01/";
cfg StringManagerCacheDirectory = "../data_shard_ring01";
cfg LogChatDirectory = "../data_shard_ring01";
cfg FSListenHost = "game.example.com";
cfgFile ../cfg/02_shard_type_mini_ring.cfg
host game
cfgAfter NSPort = 45611;
cfgAfter NSHost = "game:45611";
// shard ring02 --------------------
define shard_prod_rrb
shard ring02
use exe_set_mini_ring
cfg ShardId = 612;
cfg BasePort = 36400;
cfg FSBasePort = 47620;
cfg SaveFilesDirectory="prod_ring02/";
cfg StringManagerCacheDirectory = "../data_shard_ring02";
cfg LogChatDirectory = "../data_shard_ring02";
cfg FSListenHost = "game.example.com";
cfgFile ../cfg/02_shard_type_mini_ring.cfg
host game
cfgAfter NSPort = 45612;
cfgAfter NSHost = "game:45612";