You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

487 lines
22 KiB

{
"cluster_layer_apps": [
{"name":"Account", "apptype": 10, "sequence": 2, "stoptimeout":10, "script":"AccountServer" },
{"name":"DB", "apptype": 11, "sequence": 1, "stoptimeout":10, "script":"DBServer" },
{"name":"GateAccount", "apptype": 13, "sequence": 2, "stoptimeout":10, "script":"GateServer" },
{"name":"HttpProxy", "apptype": 14, "sequence": 1, "stoptimeout":10, "script":"HttpProxy" },
{"name":"Version", "apptype": 15, "sequence": 1, "stoptimeout":10, "script":"VersionServer" },
{"name":"GateVersion", "apptype": 16, "sequence": 2, "stoptimeout":10, "script":"GateServer" },
{"name":"Realmlist", "apptype": 17, "sequence": 1, "stoptimeout":10, "script":"RealmlistServer" },
{"name":"HttpProxyPay", "apptype": 22, "sequence": 2, "stoptimeout":10, "script":"HttpProxyPay" },
{"name":"AccountBillLog", "apptype": 23, "sequence": 1, "stoptimeout":10, "script":"BillLogServer" },
{"name":"Operation", "apptype": 24, "sequence": 2, "stoptimeout":10, "script":"OperationServer" },
{"name":"PlayerOp", "apptype": 25, "sequence": 2, "stoptimeout":10, "script":"PlayerOpServer" },
{"name":"Name", "apptype": 19, "sequence": 1, "stoptimeout":10, "script":"NameServer" },
{"name":"FrameSync", "apptype": 26, "sequence": 1, "stoptimeout":10, "script":"FrameSync" },
{"name":"GateFrameSync", "apptype": 27, "sequence": 1, "stoptimeout":10, "script":"GateServer" }
],
"world_layer_apps": [
{"name":"Game", "apptype": 200, "sequence": 5, "stoptimeout":100, "script":"GameServer" },
{"name":"GateGame", "apptype": 201, "sequence": 6, "stoptimeout":10 , "script":"GateServer" },
{"name":"World", "apptype": 202, "sequence": 4, "stoptimeout":10 , "script":"WorldServer" },
{"name":"GameDB", "apptype": 203, "sequence": 3, "stoptimeout":10 , "script":"GameDBServer" },
{"name":"HttpProxyWorld", "apptype": 206, "sequence": 1, "stoptimeout":10 , "script":"HttpProxyWorld" },
{"name":"Chat", "apptype": 207, "sequence": 3, "stoptimeout":10 , "script":"ChatServer" },
{"name":"GateChat", "apptype": 208, "sequence": 6, "stoptimeout":10 , "script":"GateServer" },
{"name":"Rank", "apptype": 209, "sequence": 3, "stoptimeout":10 , "script":"RankServer" },
{"name":"BillLog", "apptype": 210, "sequence": 1, "stoptimeout":10 , "script":"BillLogServer" },
{"name":"Friend", "apptype": 216, "sequence": 1, "stoptimeout":100, "script":"FriendServer" },
{"name":"Mail", "apptype": 218, "sequence": 3, "stoptimeout":100 }
],
"channels": [
{"app1" : "Account", "app2" : "DB", "type": 1},
{"app1" : "Account", "app2" : "HttpProxy", "type": 1},
{"app1" : "Account", "app2" : "Realmlist", "type": 1},
{"app1" : "Account", "app2" : "AccountBillLog", "type": 1},
{"app1" : "Account", "app2" : "Version", "type": 1},
{"app1" : "Account", "app2" : "Account"},
{"app1" : "Account", "app2" : "HttpProxyPay"},
{"app1" : "Game", "app2" : "World" },
{"app1" : "Game", "app2" : "BillLog" },
{"app1" : "Game", "app2" : "Rank"},
{"app1" : "Game", "app2" : "GameDB" },
{"app1" : "Game", "app2" : "Mail" },
{"app1" : "Game", "app2" : "Chat" },
{"app1" : "Game", "app2" : "Name" },
{"app1" : "World", "app2" : "Account"},
{"app1" : "World", "app2" : "Realmlist"},
{"app1" : "World", "app2" : "HttpProxyPay"},
{"app1" : "World", "app2" : "Operation"},
{"app1" : "World", "app2" : "PlayerOp"},
{"app1" : "World", "app2" : "Friend"},
{"app1" : "World", "app2" : "GameDB" },
{"app1" : "World", "app2" : "BillLog"},
{"app1" : "World", "app2" : "HttpProxyWorld" },
{"app1" : "World", "app2" : "Mail"},
{"app1" : "Mail", "app2" : "Friend"},
{"app1" : "Mail", "app2" : "Chat"},
{"app1" : "Mail", "app2" : "GameDB" },
{"app1" : "Mail", "app2" : "BillLog"},
{"app1" : "HttpProxyPay", "app2" : "DB"},
{"app1" : "Realmlist", "app2" : "DB"},
{"app1" : "Friend", "app2" : "GameDB"},
{"app1" : "Friend", "app2" : "BillLog"},
{"app1" : "Friend", "app2" : "Friend"},
{"app1" : "Rank", "app2" : "GameDB"},
{"app1" : "Rank", "app2" : "BillLog"},
{"app1" : "Rank", "app2" : "World"},
{"app1" : "Rank", "app2" : "Mail"},
{"app1" : "Chat", "app2" : "World"},
{"app1" : "Chat", "app2" : "BillLog"},
{"app1" : "Chat", "app2" : "Friend"},
{"app1" : "Operation", "app2" : "Version"},
{"app1" : "Operation", "app2" : "Realmlist", "type": 1},
{"app1" : "Operation", "app2" : "DB", "type": 1},
{"app1" : "Operation", "app2" : "PlayerOp"},
{"app1" : "Version", "app2" : "AccountBillLog", "type": 1},
{"app1" : "GateAccount", "app2" : "Account", "type": 1},
{"app1" : "GateVersion", "app2" : "Version", "type": 1},
{"app1" : "GateGame", "app2" : "Game"},
{"app1" : "GateChat", "app2" : "Chat"},
{"app1" : "GateFrameSync", "app2" : "FrameSync", "type": 1},
],
"groupdeploy" : [
{ "groupname":"m_version_primary",
"procs" : [
{"app":"GateVersion", "instid":1, "clusterport" : 19701, "cfg":"GateServer_Version.json", "param":""},
{"app":"Version", "instid":1, "clusterport" : 19702, "cfg":"VersionServer.json", "param":""},
{"app":"GateFrameSync", "instid":1, "clusterport" : 19703, "cfg":"GateServer_FrameSync.json", "param":""},
{"app":"FrameSync", "instid":1, "clusterport" : 19704, "cfg":"FrameSyncServer.json", "param":""}
]
},
{ "groupname":"m_account_primary",
"procs" : [
{"app":"Account", "instid":1, "clusterport" : 19711, "cfg":"AccountServer.json", "param":""},
{"app":"GateAccount", "instid":1, "clusterport" : 19721, "cfg":"GateServer_Account.json", "param":""},
{"app":"DB", "instid":1, "clusterport" : 19731, "cfg":"DBServer.json", "param":""},
{"app":"HttpProxy", "instid":1, "clusterport" : 19741, "cfg":"HttpProxy.json", "param":""},
{"app":"Realmlist", "instid":1, "clusterport" : 19751, "cfg":"RealmlistServer.json", "param":""},
// {"app":"HttpProxyPay", "instid":1, "clusterport" : 19791, "cfg":"HttpProxyPay.json", "param":""},
{"app":"AccountBillLog","instid":1, "clusterport" : 19792, "cfg":"AccountBillLogServer.json", "param":""},
{"app":"Operation", "instid":1, "clusterport" : 19793, "cfg":"OperationServer.json", "param":""},
{"app":"PlayerOp", "instid":1, "clusterport" : 19794, "cfg":"PlayerOpServer.json", "param":""}
]
},
// { "groupname":"m_account_secondary",
// "procs" : [
// {"app":"Account", "instid":2, "clusterport" : 19711, "cfg":"AccountServer.json", "param":""},
// {"app":"GateAccount", "instid":2, "clusterport" : 19721, "cfg":"GateServer_Account.json", "param":""},
// {"app":"DB", "instid":2, "clusterport" : 19731, "cfg":"DBServer.json", "param":""},
// {"app":"HttpProxy", "instid":2, "clusterport" : 19741, "cfg":"HttpProxy.json", "param":""},
// {"app":"Realmlist", "instid":2, "clusterport" : 19751, "cfg":"RealmlistServer.json", "param":""},
// {"app":"HttpProxyPay", "instid":2, "clusterport" : 19791, "cfg":"HttpProxyPay.json", "param":""},
// {"app":"AccountBillLog","instid":2, "clusterport" : 19792, "cfg":"AccountBillLogServer.json", "param":""},
// {"app":"Operation", "instid":2, "clusterport" : 19793, "cfg":"OperationServer.json", "param":""},
// {"app":"PlayerOp", "instid":2, "clusterport" : 19794, "cfg":"PlayerOpServer.json", "param":""}
// ]
// },
{ "groupname":"m_game",
"procs" : [
{"app":"GateGame", "instid":1, "clusterport" : 19801, "cfg":"GateServer_Game.json", "param":""},
{"app":"Game", "instid":1, "clusterport" : 19806, "cfg":"GameServer.json", "param":""},
// {"app":"GateGame", "instid":2, "clusterport" : 19803, "cfg":"GateServer_Game.json", "param":""},
// {"app":"Game", "instid":2, "clusterport" : 19804, "cfg":"GameServer.json", "param":""},
{"app":"World", "instid":1, "clusterport" : 19808, "cfg":"WorldServer.json", "param":""},
{"app":"GameDB", "instid":1, "clusterport" : 19810, "cfg":"GameDBServer.json", "param":""},
// {"app":"HttpProxyWorld","instid":1, "clusterport" : 19812, "cfg":"HttpProxyWorld.json", "param":""},
// {"app":"Chat", "instid":1, "clusterport" : 19821, "cfg":"ChatServer.json", "param":""},
// {"app":"GateChat", "instid":1, "clusterport" : 19831, "cfg":"GateServer_Chat.json", "param":""},
// {"app":"Rank", "instid":1, "clusterport" : 19841, "cfg":"RankServer.json", "param":""},
// {"app":"Friend", "instid":1, "clusterport" : 19871, "cfg":"FriendServer.json", "param":""},
// {"app":"Friend", "instid":2, "clusterport" : 19872, "cfg":"FriendServer.json", "param":""},
{"app":"BillLog", "instid":1, "clusterport" : 19703, "cfg":"BillLogServer.json", "param":""},
// {"app":"Mail", "instid":1, "clusterport" : 19880, "cfg":"MailServer.json", "param":""},
// {"app":"Name", "instid":1, "clusterport" : 19820, "cfg":"NameServer.json", "param":""},
]
}
],
"bussiness": [
{
"businessname": "mgame@gjn",
"param": "realmname_1=gjn1,realmname_2=gjn2,realmgateurl_1=123.57.11.107:9711,realmgateurl_2=123.57.11.107:9712,chatgateurl=123.57.11.107:9810,netmode=2,testReload=0",
"hosts": [
{
"hostname": "ZOUWEI-NB1",
"worldid": 1,
"externalip": "123.57.11.107",
"innerip": "127.0.0.1",
"param": "dbtype=0, dbip=127.0.0.1,randNameRow=1, gamedbtype=0, gamedbip=127.0.0.1, playeropdbip = 127.0.0.1 , playeropdbtype = 0",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@zwwin",
"workpath": "D:/dev/arpg/arpg_svr_proj/bin",
"param": "realmname_1=zwwin1,realmname_2=zwwin2,realmgateurl_1=10.0.21.148:9711,realmgateurl_2=10.0.21.148:9712,chatgateurl=10.0.21.148:9810,netmode=2,testReload=0",
"hosts": [
{
"hostname": "ZOUWEI-NB1",
"worldid": 1,
"innerip": "10.0.21.148",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "arpg",
"param": "realmname_1=yw_1,realmgateurl_1=192.168.1.195:9711,realmgateurl_2=192.168.1.195:9712,chatgateurl=192.168.1.195:9810,netmode=2,testReload=0",
"hosts": [
{
"idc": "yuan",
"hostname": "yuan-pc",
"worldid": 1,
"externalip": "192.168.1.195",
"innerip": "192.168.1.195",
"cfgpath": "../cfg/standalone",
"param": "dbtype=0, dbip=127.0.0.1, gamedbtype=0, gamedbip=127.0.0.1",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
},
{
"idc": "yuan",
"hostname": "yuan-vm",
"worldid": 2,
"externalip": "192.168.1.159",
"innerip": "192.168.1.159",
"cfgpath": "../cfg/standalone",
"param": "dbtype=2, gamedbtype=2",
"groups": [
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "pdr@yuan_bj",
"workpath": "../bin",
"param": "realmname=yuan_bj,realmgateurl_1=10.0.21.39:9711,realmgateurl_2=10.0.21.39:9712,chatgateurl=10.0.21.39:9810,netmode=2,testReload=1",
"hosts": [
{
"hostname": "01YXHY0744",
"worldid": 1,
"innerip": "10.0.21.39",
"cfgpath": "../cfg/standalone",
"param": "dbtype=0, dbip=127.0.0.1,randNameRow=1, gamedbtype=0, gamedbip=127.0.0.1",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "143Builder",
"workpath": "../bin",
"param": "realmname=ServerBuilder,realmgateurl_1=10.0.22.143:9711,realmgateurl_2=10.0.22.143:9712,chatgateurl=10.0.22.143:9713,netmode=2,testReload=1",
"hosts": [
{
"hostname": "DESKTOP-LTR2PVU",
"worldid": 1,
"innerip": "10.0.22.143",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@yangdong",
"workpath": "../bin",
"param": "realmname=yangdong,realmgateurl_1=10.0.23.39:9711,realmgateurl_2=10.0.23.39:9712,chatgateurl=10.0.23.39:9713,netmode=2,testReload=1",
"hosts": [
{
"hostname": "yangdong",
"worldid": 1,
"innerip": "10.0.23.39",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@shijiajun",
"workpath": "../bin",
"param": "realmname=shijiajun,realmgateurl_1=10.0.21.164:9711,realmgateurl_2=10.0.21.164:9712,chatgateurl=10.0.21.164:9713,netmode=2,testReload=1",
"hosts": [
{
"hostname": "jiajun.shi",
"worldid": 1,
"innerip": "10.0.21.164",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@zhaoxiaomeng",
"workpath": "../bin",
"param": "version_port=9601,realmListfile=realmList.json,realmname=zhaoxiaomeng,realmgateurl_1=10.0.22.28:9721,realmgateurl_2=10.0.22.28:9722,chatgateurl=10.0.22.28:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "zhaoxiaomeng",
"worldid": 1,
"innerip": "10.0.22.28",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@zhengdingshun",
"workpath": "../bin",
"param": "version_port=9601,realmListfile=realmList.json,realmname=zhengdingshun,realmgateurl_1=10.0.22.47:9721,realmgateurl_2=10.0.22.47:9722,chatgateurl=10.0.22.47:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "zhengdingshun",
"worldid": 1,
"innerip": "10.0.22.47",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@press_test",
"workpath": "../bin",
"param": "realmname=press_test,realmgateurl_1=10.1.0.5:9711,realmgateurl_2=10.1.0.5:9712,chatgateurl=10.1.0.5:9810,netmode=2,testReload=1",
"hosts": [
{
"hostname": "press_test",
"worldid": 1,
"innerip": "10.1.0.5",
"cfgpath": "../cfg/standalone",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@xiongfei",
"workpath": "../bin",
"param": "currency=3,realmListfile=realmListForPlayerData_ZH.json,realmname=xiongfei,realmgateurl_1=10.0.22.35:9721,realmgateurl_2=10.0.22.35:9721,chatgateurl=10.0.22.35:9820,netmode=2,testReload=1",
"hosts": [
{
"idc":"testidc",
"hostname": "xiongfei",
"worldid": 1,
"innerip": "10.0.22.35",
"cfgpath": "../cfg/standalone",
"param": "currency=3,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@wenjiang.tang",
"workpath": "../bin",
"param": "currency=3,realmListfile=realmList.json,realmname=tangwenjiang,realmgateurl_1=10.0.22.23:9721,realmgateurl_2=10.0.22.23:9721,chatgateurl=10.0.22.23:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "wenjiang.tang",
"worldid": 1,
"innerip": "10.0.22.23",
"cfgpath": "../cfg/standalone",
"param": "currency=4,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@docker",
"workpath": "../bin",
"param":"version_port=9601,realmListfile=realmList.json,accountGateUrl=101.42.52.137:9720,realmgateurl_1=101.42.52.137:9721,realmgateurl_2=101.42.52.137:9722,chatgateurl=101.42.52.137:9820, netmode=2, testReload=0",
"hosts": [
{
"hostname": "docker",
"worldid": 1,
"innerip": "172.17.0.1",
"cfgpath": "../cfg/standalone",
"param": "dk_params",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@jinyusheng",
"workpath": "../bin",
"param": "realmname=jinyusheng,realmListfile=realmList.json,realmgateurl_1=10.0.21.13:9721,realmgateurl_2=10.0.21.13:9722,chatgateurl=10.0.21.13:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "jinyusheng",
"worldid": 1,
"innerip": "10.0.21.13",
"cfgpath": "../cfg/standalone",
"param": "currency=3,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@chen.rong",
"workpath": "../bin",
"param": "realmname=chen.rong,realmListfile=realmList.json,realmgateurl_1=10.0.22.31:9721,realmgateurl_2=10.0.22.31:9722,chatgateurl=10.0.22.31:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "chen.rong",
"worldid": 1,
"innerip": "10.0.22.31",
"cfgpath": "../cfg/standalone",
"param": "currency=3,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@zongcheng.guo",
"workpath": "../bin",
"param": "realmname=zongcheng.guo,realmListfile=realmList.json,realmgateurl_1=10.0.22.39:9721,realmgateurl_2=10.0.22.39:9722,chatgateurl=10.0.22.39:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "zongcheng.guo",
"worldid": 1,
"innerip": "10.0.22.39",
"cfgpath": "../cfg/standalone",
"param": "currency=3,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
},
{
"businessname": "mgame@lixiang.yu",
"workpath": "../bin",
"param": "realmname=lixiang.yu,realmListfile=realmList.json,realmgateurl_1=10.0.22.142:9721,realmgateurl_2=10.0.22.142:9722,chatgateurl=10.0.22.142:9820,netmode=2,testReload=1",
"hosts": [
{
"hostname": "lixiang.yu",
"worldid": 1,
"innerip": "10.0.22.142",
"cfgpath": "../cfg/standalone",
"param": "currency=3,randNameRow=2",
"groups": [
{ "groupname": "m_version_primary" },
{ "groupname": "m_account_primary" },
{ "groupname": "m_game" }
]
}
]
}
]
}