diff --git a/game-server/config/genServers.ts b/game-server/config/genServers.ts index 358885e50..32ba9d542 100644 --- a/game-server/config/genServers.ts +++ b/game-server/config/genServers.ts @@ -34,6 +34,12 @@ let [totalConnector, totalChat, totalRole, totalBattle, totalComBattle, totalGui // { name: 'ch4', host: '172.16.4.175', clientHost: 'yjz-ch-game4.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'ch5', host: '172.16.4.172', clientHost: 'yjz-ch-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'ch6', host: '172.16.4.170', clientHost: 'yjz-ch-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// { name: 'ch7', host: '172.16.4.199', clientHost: 'yjz-bk-game10.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 2, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// { name: 'ch8', host: '172.16.4.200', clientHost: 'yjz-bk-game11.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// { name: 'ch9', host: '172.16.4.201', clientHost: 'yjz-bk-game12.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch10', host: '172.16.4.203', clientHost: 'yjz-bk-game13.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch11', host: '172.16.4.198', clientHost: 'yjz-bk-game14.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch12', host: '172.16.4.204', clientHost: 'yjz-bk-game15.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // ]; // 服务器配置:自营 @@ -51,6 +57,15 @@ const zy1ServerConfig: ServerConfig[] = [ { name: 'zy8', host: '172.16.4.169', clientHost: 'yjz-zy-game8.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, { name: 'zy9', host: '172.16.4.176', clientHost: 'yjz-zy-game9.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, { name: 'zy10', host: '172.16.4.171', clientHost: 'yjz-zy-game10.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy11', host: '172.16.4.195', clientHost: 'yjz-bk-game1.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy12', host: '172.16.4.196', clientHost: 'yjz-bk-game2.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy13', host: '172.16.4.193', clientHost: 'yjz-bk-game3.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy14', host: '172.16.4.194', clientHost: 'yjz-bk-game4.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy15', host: '172.16.4.197', clientHost: 'yjz-bk-game5.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy16', host: '172.16.4.205', clientHost: 'yjz-bk-game6.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 5, guildCnt: 5, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy17', host: '172.16.4.202', clientHost: 'yjz-bk-game7.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy18', host: '172.16.4.207', clientHost: 'yjz-bk-game8.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy19', host: '172.16.4.206', clientHost: 'yjz-bk-game9.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, ]; function genServer(config: ServerConfig) { diff --git a/game-server/config/servers.ts b/game-server/config/servers.ts index df5529e4f..bc7cd80d3 100644 --- a/game-server/config/servers.ts +++ b/game-server/config/servers.ts @@ -1,5 +1,5 @@ -const { zy1, zy2, zy3, zy4, zy5, zy6, zy7, zy8, zy9, zy10 } = require("./yjz_zy"); -const { ch1, ch2, ch3, ch4, ch5, ch6 } = require("./yjz_ch"); +const { zy1, zy2, zy3, zy4, zy5, zy6, zy7, zy8, zy9, zy10, zy11, zy12, zy13, zy14, zy15, zy16 } = require("./yjz_zy"); +const { ch1, ch2, ch3, ch4, ch5, ch6, ch7, ch8, ch9 } = require("./yjz_ch"); const { yjzios } = require("./ios_review"); module.exports = { @@ -677,7 +677,7 @@ module.exports = { 'activity': [], 'order': [], }, - 'zy1': zy1, 'zy2': zy2, 'zy3': zy3, 'zy4': zy4, 'zy5': zy5, 'zy6': zy6, 'zy7': zy7, 'zy8': zy8, 'zy9': zy9, 'zy10': zy10, // 公测自营服务器 + 'zy1': zy1, 'zy2': zy2, 'zy3': zy3, 'zy4': zy4, 'zy5': zy5, 'zy6': zy6, 'zy7': zy7, 'zy8': zy8, 'zy9': zy9, 'zy10': zy10, 'zy11': zy11, 'zy12': zy12, 'zy13': zy13, 'zy14': zy14, 'zy15': zy15, 'zy16': zy16, // 公测自营服务器 'yjzios': yjzios, // 公测 ios 审核服 - 'ch1': ch1, 'ch2': ch2, 'ch3': ch3, 'ch4': ch4, 'ch5': ch5, 'ch6': ch6, // 公测渠道服 + 'ch1': ch1, 'ch2': ch2, 'ch3': ch3, 'ch4': ch4, 'ch5': ch5, 'ch6': ch6, 'ch7': ch7, 'ch8': ch8, 'ch9': ch9 // 公测渠道服 }; diff --git a/game-server/config/yjz_ch.ts b/game-server/config/yjz_ch.ts index 8ce6d1042..8af80d0a8 100644 --- a/game-server/config/yjz_ch.ts +++ b/game-server/config/yjz_ch.ts @@ -1143,4 +1143,527 @@ export const ch6 = { ], "gm": [], "systimer": [] +}; +export const ch7 = { + "connector": [ + { + "id": "connector-server-37", + "host": "172.16.4.199", + "port": 4051, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-38", + "host": "172.16.4.199", + "port": 4052, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-39", + "host": "172.16.4.199", + "port": 4053, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-40", + "host": "172.16.4.199", + "port": 4054, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-41", + "host": "172.16.4.199", + "port": 4055, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-42", + "host": "172.16.4.199", + "port": 4056, + "clientHost": "yjz-bk-game10.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-37", + "host": "172.16.4.199", + "port": 6021 + }, + { + "id": "role-server-38", + "host": "172.16.4.199", + "port": 6022 + }, + { + "id": "role-server-39", + "host": "172.16.4.199", + "port": 6023 + }, + { + "id": "role-server-40", + "host": "172.16.4.199", + "port": 6024 + }, + { + "id": "role-server-41", + "host": "172.16.4.199", + "port": 6025 + }, + { + "id": "role-server-42", + "host": "172.16.4.199", + "port": 6026 + }, + { + "id": "role-server-43", + "host": "172.16.4.199", + "port": 6027 + }, + { + "id": "role-server-44", + "host": "172.16.4.199", + "port": 6028 + }, + { + "id": "role-server-45", + "host": "172.16.4.199", + "port": 6029 + }, + { + "id": "role-server-46", + "host": "172.16.4.199", + "port": 6030 + }, + { + "id": "role-server-47", + "host": "172.16.4.199", + "port": 6031 + }, + { + "id": "role-server-48", + "host": "172.16.4.199", + "port": 6032 + }, + { + "id": "role-server-49", + "host": "172.16.4.199", + "port": 6033 + }, + { + "id": "role-server-50", + "host": "172.16.4.199", + "port": 6034 + }, + { + "id": "role-server-51", + "host": "172.16.4.199", + "port": 6035 + }, + { + "id": "role-server-52", + "host": "172.16.4.199", + "port": 6036 + }, + { + "id": "role-server-53", + "host": "172.16.4.199", + "port": 6037 + }, + { + "id": "role-server-54", + "host": "172.16.4.199", + "port": 6038 + }, + { + "id": "role-server-55", + "host": "172.16.4.199", + "port": 6039 + }, + { + "id": "role-server-56", + "host": "172.16.4.199", + "port": 6040 + } + ], + "battle": [], + "comBattle": [], + "guild": [], + "activity": [ + { + "id": "activity-server-20", + "host": "172.16.4.199", + "port": 6051 + }, + { + "id": "activity-server-21", + "host": "172.16.4.199", + "port": 6052 + } + ], + "order": [], + "gm": [], + "systimer": [] +}; +export const ch8 = { + "connector": [ + { + "id": "connector-server-43", + "host": "172.16.4.200", + "port": 4051, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-44", + "host": "172.16.4.200", + "port": 4052, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-45", + "host": "172.16.4.200", + "port": 4053, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-46", + "host": "172.16.4.200", + "port": 4054, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-47", + "host": "172.16.4.200", + "port": 4055, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-48", + "host": "172.16.4.200", + "port": 4056, + "clientHost": "yjz-bk-game11.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-57", + "host": "172.16.4.200", + "port": 6021 + }, + { + "id": "role-server-58", + "host": "172.16.4.200", + "port": 6022 + }, + { + "id": "role-server-59", + "host": "172.16.4.200", + "port": 6023 + }, + { + "id": "role-server-60", + "host": "172.16.4.200", + "port": 6024 + }, + { + "id": "role-server-61", + "host": "172.16.4.200", + "port": 6025 + }, + { + "id": "role-server-62", + "host": "172.16.4.200", + "port": 6026 + }, + { + "id": "role-server-63", + "host": "172.16.4.200", + "port": 6027 + }, + { + "id": "role-server-64", + "host": "172.16.4.200", + "port": 6028 + }, + { + "id": "role-server-65", + "host": "172.16.4.200", + "port": 6029 + }, + { + "id": "role-server-66", + "host": "172.16.4.200", + "port": 6030 + } + ], + "battle": [ + { + "id": "battle-server-21", + "host": "172.16.4.200", + "port": 6031 + }, + { + "id": "battle-server-22", + "host": "172.16.4.200", + "port": 6032 + }, + { + "id": "battle-server-23", + "host": "172.16.4.200", + "port": 6033 + }, + { + "id": "battle-server-24", + "host": "172.16.4.200", + "port": 6034 + }, + { + "id": "battle-server-25", + "host": "172.16.4.200", + "port": 6035 + } + ], + "comBattle": [ + { + "id": "comBattle-server-7", + "host": "172.16.4.200", + "port": 6091 + }, + { + "id": "comBattle-server-8", + "host": "172.16.4.200", + "port": 6092 + } + ], + "guild": [], + "activity": [ + { + "id": "activity-server-22", + "host": "172.16.4.200", + "port": 6051 + }, + { + "id": "activity-server-23", + "host": "172.16.4.200", + "port": 6052 + }, + { + "id": "activity-server-24", + "host": "172.16.4.200", + "port": 6053 + }, + { + "id": "activity-server-25", + "host": "172.16.4.200", + "port": 6054 + }, + { + "id": "activity-server-26", + "host": "172.16.4.200", + "port": 6055 + } + ], + "order": [], + "gm": [], + "systimer": [] +}; +export const ch9 = { + "connector": [ + { + "id": "connector-server-49", + "host": "172.16.4.201", + "port": 4051, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-50", + "host": "172.16.4.201", + "port": 4052, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-51", + "host": "172.16.4.201", + "port": 4053, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-52", + "host": "172.16.4.201", + "port": 4054, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-53", + "host": "172.16.4.201", + "port": 4055, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-54", + "host": "172.16.4.201", + "port": 4056, + "clientHost": "yjz-bk-game12.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-67", + "host": "172.16.4.201", + "port": 6021 + }, + { + "id": "role-server-68", + "host": "172.16.4.201", + "port": 6022 + }, + { + "id": "role-server-69", + "host": "172.16.4.201", + "port": 6023 + }, + { + "id": "role-server-70", + "host": "172.16.4.201", + "port": 6024 + }, + { + "id": "role-server-71", + "host": "172.16.4.201", + "port": 6025 + }, + { + "id": "role-server-72", + "host": "172.16.4.201", + "port": 6026 + }, + { + "id": "role-server-73", + "host": "172.16.4.201", + "port": 6027 + }, + { + "id": "role-server-74", + "host": "172.16.4.201", + "port": 6028 + }, + { + "id": "role-server-75", + "host": "172.16.4.201", + "port": 6029 + }, + { + "id": "role-server-76", + "host": "172.16.4.201", + "port": 6030 + } + ], + "battle": [ + { + "id": "battle-server-26", + "host": "172.16.4.201", + "port": 6031 + }, + { + "id": "battle-server-27", + "host": "172.16.4.201", + "port": 6032 + }, + { + "id": "battle-server-28", + "host": "172.16.4.201", + "port": 6033 + }, + { + "id": "battle-server-29", + "host": "172.16.4.201", + "port": 6034 + }, + { + "id": "battle-server-30", + "host": "172.16.4.201", + "port": 6035 + } + ], + "comBattle": [ + { + "id": "comBattle-server-9", + "host": "172.16.4.201", + "port": 6091 + }, + { + "id": "comBattle-server-10", + "host": "172.16.4.201", + "port": 6092 + } + ], + "guild": [], + "activity": [ + { + "id": "activity-server-27", + "host": "172.16.4.201", + "port": 6051 + }, + { + "id": "activity-server-28", + "host": "172.16.4.201", + "port": 6052 + }, + { + "id": "activity-server-29", + "host": "172.16.4.201", + "port": 6053 + }, + { + "id": "activity-server-30", + "host": "172.16.4.201", + "port": 6054 + }, + { + "id": "activity-server-31", + "host": "172.16.4.201", + "port": 6055 + } + ], + "order": [], + "gm": [], + "systimer": [] }; \ No newline at end of file diff --git a/game-server/config/yjz_zy.ts b/game-server/config/yjz_zy.ts index 6d43aa630..a4c3af669 100644 --- a/game-server/config/yjz_zy.ts +++ b/game-server/config/yjz_zy.ts @@ -1825,4 +1825,1035 @@ export const zy10 = { ], "gm": [], "systimer": [] +}; +export const zy11 = { + "connector": [ + { + "id": "connector-server-55", + "host": "172.16.4.195", + "port": 4051, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-56", + "host": "172.16.4.195", + "port": 4052, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-57", + "host": "172.16.4.195", + "port": 4053, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-58", + "host": "172.16.4.195", + "port": 4054, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-59", + "host": "172.16.4.195", + "port": 4055, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-60", + "host": "172.16.4.195", + "port": 4056, + "clientHost": "yjz-bk-game1.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-91", + "host": "172.16.4.195", + "port": 6021 + }, + { + "id": "role-server-92", + "host": "172.16.4.195", + "port": 6022 + }, + { + "id": "role-server-93", + "host": "172.16.4.195", + "port": 6023 + }, + { + "id": "role-server-94", + "host": "172.16.4.195", + "port": 6024 + }, + { + "id": "role-server-95", + "host": "172.16.4.195", + "port": 6025 + }, + { + "id": "role-server-96", + "host": "172.16.4.195", + "port": 6026 + }, + { + "id": "role-server-97", + "host": "172.16.4.195", + "port": 6027 + }, + { + "id": "role-server-98", + "host": "172.16.4.195", + "port": 6028 + }, + { + "id": "role-server-99", + "host": "172.16.4.195", + "port": 6029 + }, + { + "id": "role-server-100", + "host": "172.16.4.195", + "port": 6030 + }, + { + "id": "role-server-101", + "host": "172.16.4.195", + "port": 6031 + }, + { + "id": "role-server-102", + "host": "172.16.4.195", + "port": 6032 + }, + { + "id": "role-server-103", + "host": "172.16.4.195", + "port": 6033 + }, + { + "id": "role-server-104", + "host": "172.16.4.195", + "port": 6034 + }, + { + "id": "role-server-105", + "host": "172.16.4.195", + "port": 6035 + }, + { + "id": "role-server-106", + "host": "172.16.4.195", + "port": 6036 + }, + { + "id": "role-server-107", + "host": "172.16.4.195", + "port": 6037 + }, + { + "id": "role-server-108", + "host": "172.16.4.195", + "port": 6038 + }, + { + "id": "role-server-109", + "host": "172.16.4.195", + "port": 6039 + }, + { + "id": "role-server-110", + "host": "172.16.4.195", + "port": 6040 + } + ], + "battle": [], + "comBattle": [], + "guild": [ + { + "id": "guild-server-44", + "host": "172.16.4.195", + "port": 6041 + }, + { + "id": "guild-server-45", + "host": "172.16.4.195", + "port": 6042 + } + ], + "activity": [], + "order": [], + "gm": [], + "systimer": [] +}; +export const zy12 = { + "connector": [ + { + "id": "connector-server-61", + "host": "172.16.4.196", + "port": 4051, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-62", + "host": "172.16.4.196", + "port": 4052, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-63", + "host": "172.16.4.196", + "port": 4053, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-64", + "host": "172.16.4.196", + "port": 4054, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-65", + "host": "172.16.4.196", + "port": 4055, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-66", + "host": "172.16.4.196", + "port": 4056, + "clientHost": "yjz-bk-game2.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-111", + "host": "172.16.4.196", + "port": 6021 + }, + { + "id": "role-server-112", + "host": "172.16.4.196", + "port": 6022 + }, + { + "id": "role-server-113", + "host": "172.16.4.196", + "port": 6023 + }, + { + "id": "role-server-114", + "host": "172.16.4.196", + "port": 6024 + }, + { + "id": "role-server-115", + "host": "172.16.4.196", + "port": 6025 + }, + { + "id": "role-server-116", + "host": "172.16.4.196", + "port": 6026 + }, + { + "id": "role-server-117", + "host": "172.16.4.196", + "port": 6027 + }, + { + "id": "role-server-118", + "host": "172.16.4.196", + "port": 6028 + }, + { + "id": "role-server-119", + "host": "172.16.4.196", + "port": 6029 + }, + { + "id": "role-server-120", + "host": "172.16.4.196", + "port": 6030 + }, + { + "id": "role-server-121", + "host": "172.16.4.196", + "port": 6031 + }, + { + "id": "role-server-122", + "host": "172.16.4.196", + "port": 6032 + }, + { + "id": "role-server-123", + "host": "172.16.4.196", + "port": 6033 + }, + { + "id": "role-server-124", + "host": "172.16.4.196", + "port": 6034 + }, + { + "id": "role-server-125", + "host": "172.16.4.196", + "port": 6035 + }, + { + "id": "role-server-126", + "host": "172.16.4.196", + "port": 6036 + }, + { + "id": "role-server-127", + "host": "172.16.4.196", + "port": 6037 + }, + { + "id": "role-server-128", + "host": "172.16.4.196", + "port": 6038 + }, + { + "id": "role-server-129", + "host": "172.16.4.196", + "port": 6039 + }, + { + "id": "role-server-130", + "host": "172.16.4.196", + "port": 6040 + } + ], + "battle": [], + "comBattle": [], + "guild": [ + { + "id": "guild-server-46", + "host": "172.16.4.196", + "port": 6041 + }, + { + "id": "guild-server-47", + "host": "172.16.4.196", + "port": 6042 + } + ], + "activity": [], + "order": [], + "gm": [], + "systimer": [] +}; +export const zy13 = { + "connector": [ + { + "id": "connector-server-67", + "host": "172.16.4.193", + "port": 4051, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-68", + "host": "172.16.4.193", + "port": 4052, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-69", + "host": "172.16.4.193", + "port": 4053, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-70", + "host": "172.16.4.193", + "port": 4054, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-71", + "host": "172.16.4.193", + "port": 4055, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-72", + "host": "172.16.4.193", + "port": 4056, + "clientHost": "yjz-bk-game3.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [ + { + "id": "role-server-131", + "host": "172.16.4.193", + "port": 6021 + }, + { + "id": "role-server-132", + "host": "172.16.4.193", + "port": 6022 + }, + { + "id": "role-server-133", + "host": "172.16.4.193", + "port": 6023 + }, + { + "id": "role-server-134", + "host": "172.16.4.193", + "port": 6024 + }, + { + "id": "role-server-135", + "host": "172.16.4.193", + "port": 6025 + }, + { + "id": "role-server-136", + "host": "172.16.4.193", + "port": 6026 + }, + { + "id": "role-server-137", + "host": "172.16.4.193", + "port": 6027 + }, + { + "id": "role-server-138", + "host": "172.16.4.193", + "port": 6028 + }, + { + "id": "role-server-139", + "host": "172.16.4.193", + "port": 6029 + }, + { + "id": "role-server-140", + "host": "172.16.4.193", + "port": 6030 + }, + { + "id": "role-server-141", + "host": "172.16.4.193", + "port": 6031 + }, + { + "id": "role-server-142", + "host": "172.16.4.193", + "port": 6032 + }, + { + "id": "role-server-143", + "host": "172.16.4.193", + "port": 6033 + }, + { + "id": "role-server-144", + "host": "172.16.4.193", + "port": 6034 + }, + { + "id": "role-server-145", + "host": "172.16.4.193", + "port": 6035 + }, + { + "id": "role-server-146", + "host": "172.16.4.193", + "port": 6036 + }, + { + "id": "role-server-147", + "host": "172.16.4.193", + "port": 6037 + }, + { + "id": "role-server-148", + "host": "172.16.4.193", + "port": 6038 + }, + { + "id": "role-server-149", + "host": "172.16.4.193", + "port": 6039 + }, + { + "id": "role-server-150", + "host": "172.16.4.193", + "port": 6040 + } + ], + "battle": [], + "comBattle": [], + "guild": [ + { + "id": "guild-server-48", + "host": "172.16.4.193", + "port": 6041 + }, + { + "id": "guild-server-49", + "host": "172.16.4.193", + "port": 6042 + } + ], + "activity": [], + "order": [], + "gm": [], + "systimer": [] +}; +export const zy14 = { + "connector": [ + { + "id": "connector-server-73", + "host": "172.16.4.194", + "port": 4051, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-74", + "host": "172.16.4.194", + "port": 4052, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-75", + "host": "172.16.4.194", + "port": 4053, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-76", + "host": "172.16.4.194", + "port": 4054, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-77", + "host": "172.16.4.194", + "port": 4055, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-78", + "host": "172.16.4.194", + "port": 4056, + "clientHost": "yjz-bk-game4.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [], + "battle": [ + { + "id": "battle-server-25", + "host": "172.16.4.194", + "port": 6031 + }, + { + "id": "battle-server-26", + "host": "172.16.4.194", + "port": 6032 + }, + { + "id": "battle-server-27", + "host": "172.16.4.194", + "port": 6033 + }, + { + "id": "battle-server-28", + "host": "172.16.4.194", + "port": 6034 + }, + { + "id": "battle-server-29", + "host": "172.16.4.194", + "port": 6035 + }, + { + "id": "battle-server-30", + "host": "172.16.4.194", + "port": 6036 + }, + { + "id": "battle-server-31", + "host": "172.16.4.194", + "port": 6037 + }, + { + "id": "battle-server-32", + "host": "172.16.4.194", + "port": 6038 + }, + { + "id": "battle-server-33", + "host": "172.16.4.194", + "port": 6039 + }, + { + "id": "battle-server-34", + "host": "172.16.4.194", + "port": 6040 + } + ], + "comBattle": [], + "guild": [ + { + "id": "guild-server-50", + "host": "172.16.4.194", + "port": 6041 + }, + { + "id": "guild-server-51", + "host": "172.16.4.194", + "port": 6042 + } + ], + "activity": [ + { + "id": "activity-server-27", + "host": "172.16.4.194", + "port": 6051 + }, + { + "id": "activity-server-28", + "host": "172.16.4.194", + "port": 6052 + }, + { + "id": "activity-server-29", + "host": "172.16.4.194", + "port": 6053 + }, + { + "id": "activity-server-30", + "host": "172.16.4.194", + "port": 6054 + }, + { + "id": "activity-server-31", + "host": "172.16.4.194", + "port": 6055 + }, + { + "id": "activity-server-32", + "host": "172.16.4.194", + "port": 6056 + }, + { + "id": "activity-server-33", + "host": "172.16.4.194", + "port": 6057 + }, + { + "id": "activity-server-34", + "host": "172.16.4.194", + "port": 6058 + }, + { + "id": "activity-server-35", + "host": "172.16.4.194", + "port": 6059 + }, + { + "id": "activity-server-36", + "host": "172.16.4.194", + "port": 6060 + } + ], + "order": [], + "gm": [], + "systimer": [] +}; +export const zy15 = { + "connector": [ + { + "id": "connector-server-79", + "host": "172.16.4.197", + "port": 4051, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-80", + "host": "172.16.4.197", + "port": 4052, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-81", + "host": "172.16.4.197", + "port": 4053, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-82", + "host": "172.16.4.197", + "port": 4054, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-83", + "host": "172.16.4.197", + "port": 4055, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-84", + "host": "172.16.4.197", + "port": 4056, + "clientHost": "yjz-bk-game5.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [], + "battle": [ + { + "id": "battle-server-35", + "host": "172.16.4.197", + "port": 6031 + }, + { + "id": "battle-server-36", + "host": "172.16.4.197", + "port": 6032 + }, + { + "id": "battle-server-37", + "host": "172.16.4.197", + "port": 6033 + }, + { + "id": "battle-server-38", + "host": "172.16.4.197", + "port": 6034 + }, + { + "id": "battle-server-39", + "host": "172.16.4.197", + "port": 6035 + }, + { + "id": "battle-server-40", + "host": "172.16.4.197", + "port": 6036 + }, + { + "id": "battle-server-41", + "host": "172.16.4.197", + "port": 6037 + }, + { + "id": "battle-server-42", + "host": "172.16.4.197", + "port": 6038 + }, + { + "id": "battle-server-43", + "host": "172.16.4.197", + "port": 6039 + }, + { + "id": "battle-server-44", + "host": "172.16.4.197", + "port": 6040 + } + ], + "comBattle": [], + "guild": [ + { + "id": "guild-server-52", + "host": "172.16.4.197", + "port": 6041 + }, + { + "id": "guild-server-53", + "host": "172.16.4.197", + "port": 6042 + } + ], + "activity": [ + { + "id": "activity-server-37", + "host": "172.16.4.197", + "port": 6051 + }, + { + "id": "activity-server-38", + "host": "172.16.4.197", + "port": 6052 + }, + { + "id": "activity-server-39", + "host": "172.16.4.197", + "port": 6053 + }, + { + "id": "activity-server-40", + "host": "172.16.4.197", + "port": 6054 + }, + { + "id": "activity-server-41", + "host": "172.16.4.197", + "port": 6055 + }, + { + "id": "activity-server-42", + "host": "172.16.4.197", + "port": 6056 + }, + { + "id": "activity-server-43", + "host": "172.16.4.197", + "port": 6057 + }, + { + "id": "activity-server-44", + "host": "172.16.4.197", + "port": 6058 + }, + { + "id": "activity-server-45", + "host": "172.16.4.197", + "port": 6059 + }, + { + "id": "activity-server-46", + "host": "172.16.4.197", + "port": 6060 + } + ], + "order": [], + "gm": [], + "systimer": [] +}; +export const zy16 = { + "connector": [ + { + "id": "connector-server-85", + "host": "172.16.4.205", + "port": 4051, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3051, + "frontend": true + }, + { + "id": "connector-server-86", + "host": "172.16.4.205", + "port": 4052, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3052, + "frontend": true + }, + { + "id": "connector-server-87", + "host": "172.16.4.205", + "port": 4053, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3053, + "frontend": true + }, + { + "id": "connector-server-88", + "host": "172.16.4.205", + "port": 4054, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3054, + "frontend": true + }, + { + "id": "connector-server-89", + "host": "172.16.4.205", + "port": 4055, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3055, + "frontend": true + }, + { + "id": "connector-server-90", + "host": "172.16.4.205", + "port": 4056, + "clientHost": "yjz-bk-game6.fdd73.com", + "clientPort": 3056, + "frontend": true + } + ], + "chat": [], + "role": [], + "battle": [ + { + "id": "battle-server-45", + "host": "172.16.4.205", + "port": 6031 + }, + { + "id": "battle-server-46", + "host": "172.16.4.205", + "port": 6032 + }, + { + "id": "battle-server-47", + "host": "172.16.4.205", + "port": 6033 + }, + { + "id": "battle-server-48", + "host": "172.16.4.205", + "port": 6034 + }, + { + "id": "battle-server-49", + "host": "172.16.4.205", + "port": 6035 + }, + { + "id": "battle-server-50", + "host": "172.16.4.205", + "port": 6036 + }, + { + "id": "battle-server-51", + "host": "172.16.4.205", + "port": 6037 + }, + { + "id": "battle-server-52", + "host": "172.16.4.205", + "port": 6038 + }, + { + "id": "battle-server-53", + "host": "172.16.4.205", + "port": 6039 + }, + { + "id": "battle-server-54", + "host": "172.16.4.205", + "port": 6040 + } + ], + "comBattle": [ + { + "id": "comBattle-server-11", + "host": "172.16.4.205", + "port": 6091 + }, + { + "id": "comBattle-server-12", + "host": "172.16.4.205", + "port": 6092 + }, + { + "id": "comBattle-server-13", + "host": "172.16.4.205", + "port": 6093 + }, + { + "id": "comBattle-server-14", + "host": "172.16.4.205", + "port": 6094 + }, + { + "id": "comBattle-server-15", + "host": "172.16.4.205", + "port": 6095 + } + ], + "guild": [ + { + "id": "guild-server-54", + "host": "172.16.4.205", + "port": 6041 + }, + { + "id": "guild-server-55", + "host": "172.16.4.205", + "port": 6042 + }, + { + "id": "guild-server-56", + "host": "172.16.4.205", + "port": 6043 + }, + { + "id": "guild-server-57", + "host": "172.16.4.205", + "port": 6044 + }, + { + "id": "guild-server-58", + "host": "172.16.4.205", + "port": 6045 + } + ], + "activity": [], + "order": [], + "gm": [], + "systimer": [] }; \ No newline at end of file diff --git a/pushAndRestart.sh b/pushAndRestart.sh index b410b73f6..da928b05a 100755 --- a/pushAndRestart.sh +++ b/pushAndRestart.sh @@ -11,15 +11,15 @@ envs=() masterAddr='' if [ ${1} == 'zy' ] ; then - sshAddr=( "yjz-zy-game1" "yjz-zy-game2" "yjz-zy-game3" "yjz-zy-game4" "yjz-zy-game5" "yjz-zy-game6" "yjz-zy-game7" "yjz-zy-game8" "yjz-zy-game9" "yjz-zy-game10") - envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8" "zy9" "zy10") + sshAddr=( "yjz-zy-game1" "yjz-zy-game2" "yjz-zy-game3" "yjz-zy-game4" "yjz-zy-game5" "yjz-zy-game6" "yjz-zy-game7" "yjz-zy-game8" "yjz-zy-game9" "yjz-zy-game10" "yjz-bk-1" "yjz-bk-2" "yjz-bk-3" "yjz-bk-4" "yjz-bk-5" "yjz-bk-6") + envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8" "zy9" "zy10" "zy11" "zy12" "zy13" "zy14" "zy15" "zy16") masterAddr=${sshAddr[0]} echo ${masterAddr} port=22 env='zy1' elif [ ${1} == 'ch' ] ; then - sshAddr=("yjz-ch-game1" "yjz-ch-game2" "yjz-ch-game3" "yjz-ch-game4" "yjz-ch-game5" "yjz-ch-game6") - envs=("ch1" "ch2" "ch3" "ch4" "ch5" "ch6") + sshAddr=("yjz-ch-game1" "yjz-ch-game2" "yjz-ch-game3" "yjz-ch-game4" "yjz-ch-game5" "yjz-ch-game6" "yjz-bk-10" "yjz-bk-11" "yjz-bk-12") + envs=("ch1" "ch2" "ch3" "ch4" "ch5" "ch6" "ch7" "ch8" "ch9") masterAddr=${sshAddr[0]} echo ${masterAddr} port=22 diff --git a/pushdocker.sh b/pushdocker.sh index 32e1a80ba..fdb31f14b 100755 --- a/pushdocker.sh +++ b/pushdocker.sh @@ -182,6 +182,66 @@ elif [ ${1} == 'yjzios' ] ; then destUrl="root@yjz-ios-review:/root/zyz/" port=22 env='yjzios' +elif [ ${1} == 'zy11' ] ; then + destUrl="root@yjz-bk-1:/root/zyz/" + port=22 + env='zy1' +elif [ ${1} == 'zy12' ] ; then + destUrl="root@yjz-bk-2:/root/zyz/" + port=22 + env='zy1' +elif [ ${1} == 'zy13' ] ; then + destUrl="root@yjz-bk-3:/root/zyz/" + port=22 + env='zy1' +elif [ ${1} == 'zy14' ] ; then + destUrl="root@yjz-bk-4:/root/zyz/" + port=22 + env='zy1' +elif [ ${1} == 'zy15' ] ; then + destUrl="root@yjz-bk-5:/root/zyz/" + port=22 + env='zy1' +elif [ ${1} == 'zy16' ] ; then + destUrl="root@yjz-bk-6:/root/zyz/" + port=22 + env='zy1' +# elif [ ${1} == 'zy17' ] ; then +# destUrl="root@yjz-bk-7:/root/zyz/" +# port=22 +# env='zy1' +# elif [ ${1} == 'zy18' ] ; then +# destUrl="root@yjz-bk-8:/root/zyz/" +# port=22 +# env='zy1' +# elif [ ${1} == 'zy19' ] ; then +# destUrl="root@yjz-bk-9:/root/zyz/" +# port=22 +# env='zy1' +elif [ ${1} == 'ch7' ] ; then + destUrl="root@yjz-bk-10:/root/zyz/" + port=22 + env='ch1' +elif [ ${1} == 'ch8' ] ; then + destUrl="root@yjz-bk-11:/root/zyz/" + port=22 + env='ch1' +elif [ ${1} == 'ch9' ] ; then + destUrl="root@yjz-bk-12:/root/zyz/" + port=22 + env='ch1' +# elif [ ${1} == 'ch10' ] ; then +# destUrl="root@yjz-bk-13:/root/zyz/" +# port=22 +# env='ch1' +# elif [ ${1} == 'ch11' ] ; then +# destUrl="root@yjz-bk-14:/root/zyz/" +# port=22 +# env='ch1' +# elif [ ${1} == 'ch12' ] ; then +# destUrl="root@yjz-bk-15:/root/zyz/" +# port=22 +# env='ch1' else echo "需要一个参数指明服务器" exit 1;