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.

167 lines
9.2 KiB

1 month ago
{
"cluster_layer_apps": [
{"name":"Account", "apptype": 10, "sequence": 2, "stoptimeout":10 },
{"name":"DB", "apptype": 11, "sequence": 1, "stoptimeout":10 },
{"name":"GateAccount", "apptype": 13, "sequence": 2, "stoptimeout":10 },
{"name":"HttpProxy", "apptype": 14, "sequence": 1, "stoptimeout":10 },
{"name":"Version", "apptype": 15, "sequence": 1, "stoptimeout":10 },
{"name":"GateVersion", "apptype": 16, "sequence": 2, "stoptimeout":10 },
{"name":"Realmlist", "apptype": 17, "sequence": 1, "stoptimeout":10 },
{"name":"Name", "apptype": 19, "sequence": 2, "stoptimeout":10 },
{"name":"HttpProxyPay", "apptype": 22, "sequence": 2, "stoptimeout":10 },
{"name":"AccountBillLog", "apptype": 23, "sequence": 1, "stoptimeout":10 },
{"name":"Operation", "apptype": 24, "sequence": 2, "stoptimeout":10 }
],
"world_layer_apps": [
{"name":"Game", "apptype": 200, "sequence": 5, "stoptimeout":100 },
{"name":"GateGame", "apptype": 201, "sequence": 6, "stoptimeout":10 },
{"name":"World", "apptype": 202, "sequence": 4, "stoptimeout":10 },
{"name":"GameDB", "apptype": 203, "sequence": 3, "stoptimeout":10 },
{"name":"Battle", "apptype": 204, "sequence": 5, "stoptimeout":10 },
{"name":"HttpProxyWorld", "apptype": 206, "sequence": 1, "stoptimeout":10 },
{"name":"Chat", "apptype": 207, "sequence": 3, "stoptimeout":10 },
{"name":"GateChat", "apptype": 208, "sequence": 6, "stoptimeout":10 },
{"name":"Rank", "apptype": 209, "sequence": 3, "stoptimeout":10 },
{"name":"BillLog", "apptype": 210, "sequence": 1, "stoptimeout":10 },
{"name":"Union", "apptype": 214, "sequence": 1, "stoptimeout":100 },
{"name":"Arena", "apptype": 215, "sequence": 3, "stoptimeout":10 },
{"name":"Friend", "apptype": 216, "sequence": 1, "stoptimeout":100 }
],
"channels": [
{"app1" : "Account", "app2" : "DB"},
{"app1" : "Account", "app2" : "HttpProxy"},
{"app1" : "Account", "app2" : "Realmlist"},
{"app1" : "Account", "app2" : "Version"},
{"app1" : "Account", "app2" : "AccountBillLog"},
{"app1" : "Game", "app2" : "World" },
{"app1" : "Game", "app2" : "BillLog" },
{"app1" : "Game", "app2" : "Rank"},
{"app1" : "Game", "app2" : "Battle"},
{"app1" : "Game", "app2" : "Union"},
{"app1" : "Game", "app2" : "GameDB" },
{"app1" : "Game", "app2" : "Arena" },
{"app1" : "Game", "app2" : "Chat" },
{"app1" : "World", "app2" : "Friend"},
{"app1" : "World", "app2" : "Chat"},
{"app1" : "World", "app2" : "GameDB" },
{"app1" : "World", "app2" : "Account"},
{"app1" : "World", "app2" : "Realmlist"},
{"app1" : "World", "app2" : "BillLog"},
{"app1" : "World", "app2" : "HttpProxyWorld" },
{"app1" : "World", "app2" : "HttpProxyPay"},
{"app1" : "HttpProxyPay", "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" : "Chat", "app2" : "BillLog"},
{"app1" : "Chat", "app2" : "Friend"},
{"app1" : "Chat", "app2" : "Realmlist"},
{"app1" : "World", "app2" : "Operation"},
{"app1" : "Realmlist", "app2" : "Operation"},
{"app1" : "GateAccount", "app2" : "Account"},
{"app1" : "GateVersion", "app2" : "Version"},
{"app1" : "GateGame", "app2" : "Game"},
{"app1" : "GateChat", "app2" : "Chat"},
{"app1" : "Union", "app2" : "World"},
{"app1" : "Union", "app2" : "Chat"},
{"app1" : "Union", "app2" : "GameDB" },
{"app1" : "Union", "app2" : "BillLog"},
{"app1" : "Arena", "app2" : "GameDB"},
{"app1" : "Arena", "app2" : "BillLog"},
{"app1" : "Arena", "app2" : "World"}
],
"groupdeploy" : [
{ "groupname":"m_version",
"procs" : [
{"app":"GateVersion", "instid":1, "clusterport" : 19701, "cfg":"GateServer_Version.json", "param":""},
{"app":"Version", "instid":1, "clusterport" : 19702, "cfg":"VersionServer.json", "param":""}
]
},
{ "groupname":"m_account",
"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":""}
]
},
{ "groupname":"m_game",
"procs" : [
{"app":"GateGame", "instid":1, "clusterport" : 19801, "cfg":"GateServer_Game.json", "param":""},
{"app":"GateGame", "instid":2, "clusterport" : 19802, "cfg":"GateServer_Game.json", "param":""},
{"app":"Game", "instid":1, "clusterport" : 19806, "cfg":"GameServer.json", "param":""},
{"app":"Game", "instid":2, "clusterport" : 19807, "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":"Union", "instid":1, "clusterport" : 19814, "cfg":"UnionServer.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":"Battle", "instid":1, "clusterport" : 19851, "cfg":"BattleServer_1.json", "param":""},
{"app":"Battle", "instid":2, "clusterport" : 19852, "cfg":"BattleServer_2.json", "param":""},
{"app":"Arena", "instid":1, "clusterport" : 19861, "cfg":"ArenaServer.json", "param":""},
{"app":"Friend", "instid":1, "clusterport" : 19871, "cfg":"FriendServer_1.json", "param":""},
{"app":"Friend", "instid":2, "clusterport" : 19872, "cfg":"FriendServer_2.json", "param":""},
{"app":"BillLog", "instid":1, "clusterport" : 19703, "cfg":"BillLogServer.json", "param":""}
]
}
],
"bussiness" :[
{ "businessname" : "arpg@yuanwin",
"workpath" : "D:\\arpg_demo\\arpg_svr_proj\\bin",
"param":"realmname_1=yw_1,realmname_2=yw_2,realmname_3=yw_3,realmgateurl_1=192.168.1.195:9711,realmgateurl_2=192.168.1.195:9712,realmgateurl_3=192.168.1.195:9713,chatgateurl=192.168.1.195:9810,netmode=2,testReload=0",
"hosts": [
{
"hostname":"yuan-pc","worldid":1,"innerip":"192.168.1.195","cfgpath":"../cfg/yuanwin",
"param":"dbip=192.168.1.222,gamedbip=192.168.1.222",
"groups" :[
{"groupname" : "m_version"},
{"groupname" : "m_account"},
{"groupname" : "m_game"}
]
}
]
},
{ "businessname" : "arpg@yuan-vm",
"workpath" : "/data/mmogrun/publish/bin",
"param":"realmname_1=yvm_1,realmname_2=yvm_2,realmname_3=yvm_3,realmgateurl_1=192.168.1.159:9711,realmgateurl_2=192.168.1.159:9712,realmgateurl_3=192.168.1.159:9713,chatgateurl=192.168.1.159:9810,netmode=2,testReload=0",
"hosts": [
{
"hostname":"yuan-vm","worldid":1,"innerip":"192.168.1.159","cfgpath":"../cfg/yuanwin",
"param":"dbip=192.168.1.222,gamedbip=192.168.1.222",
"groups" :[
{"groupname" : "m_version"},
{"groupname" : "m_account"},
{"groupname" : "m_game"}
]
}
]
}
]
}