🐎 ci(配置): 回收服务器后修改配置

This commit is contained in:
luying
2023-09-13 17:15:37 +08:00
parent 06c23e24f6
commit 4e37719503
6 changed files with 95 additions and 2458 deletions

View File

@@ -228,7 +228,7 @@ async function treatStartLogic(app: _pinus.Application) {
} }
if(app.isMaster()) { if(app.isMaster()) {
redisService.initAllRank(); // redisService.initAllRank();
redisService.readDataBase(); redisService.readDataBase();
redisService.clearComBtlQueue(); redisService.clearComBtlQueue();
redisService.clearChannelServers(); redisService.clearChannelServers();

View File

@@ -24,19 +24,19 @@ interface ServerConfig { name: string, host: string, clientHost: string, connect
let [totalConnector, totalChat, totalRole, totalBattle, totalComBattle, totalGuild, totalActivity, totalOrder, totalGm, totalSystimer, totalGmConnector] = Array(11).fill(0); let [totalConnector, totalChat, totalRole, totalBattle, totalComBattle, totalGuild, totalActivity, totalOrder, totalGm, totalSystimer, totalGmConnector] = Array(11).fill(0);
// 服务器配置:公测渠道 // // 服务器配置:公测渠道
// const CH_SERVERS_FILE = 'yjz_ch.ts'; // const CH_SERVERS_FILE = 'yjz_ch.ts';
// const ch1ServerConfig: ServerConfig[] = [ // const ch1ServerConfig: ServerConfig[] = [
// { name: 'ch1', host: '172.16.4.144', clientHost: 'yjz-ch-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 2, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 }, // { name: 'ch1', host: '172.16.4.144', clientHost: 'yjz-ch-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 2, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 },
// { name: 'ch2', host: '172.16.4.139', clientHost: 'yjz-ch-game2.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'ch2', host: '172.16.4.139', clientHost: 'yjz-ch-game2.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
// { name: 'ch3', host: '172.16.4.143', clientHost: 'yjz-ch-game3.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 2, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, // { name: 'ch3', host: '172.16.4.143', clientHost: 'yjz-ch-game3.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 },
// { 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: '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: '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: '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: '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: '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: '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: '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: '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 }, // // { 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 },
@@ -49,20 +49,20 @@ const ZY_SERVERS_FILE = 'yjz_zy.ts';
const zy1ServerConfig: ServerConfig[] = [ const zy1ServerConfig: ServerConfig[] = [
{ name: 'zy1', host: '172.16.4.140', clientHost: 'yjz-zy-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 3, activityCnt: 2, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, { name: 'zy1', host: '172.16.4.140', clientHost: 'yjz-zy-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 3, activityCnt: 2, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
{ name: 'zy2', host: '172.16.4.146', clientHost: 'yjz-zy-game2.fdd73.com', connectorCnt: 4, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 0, activityCnt: 3, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 }, { name: 'zy2', host: '172.16.4.146', clientHost: 'yjz-zy-game2.fdd73.com', connectorCnt: 4, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 0, activityCnt: 3, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 },
{ name: 'zy3', host: '172.16.4.142', clientHost: 'yjz-zy-game3.fdd73.com', connectorCnt: 2, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 5, activityCnt: 0, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, { name: 'zy3', host: '172.16.4.142', clientHost: 'yjz-zy-game3.fdd73.com', connectorCnt: 2, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 5, activityCnt: 1, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 },
{ name: 'zy4', host: '172.16.4.145', clientHost: 'yjz-zy-game4.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: 'zy4', host: '172.16.4.145', clientHost: 'yjz-zy-game4.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
{ name: 'zy5', host: '172.16.4.141', clientHost: 'yjz-zy-game5.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: 'zy5', host: '172.16.4.141', clientHost: 'yjz-zy-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
{ name: 'zy6', host: '172.16.4.174', clientHost: 'yjz-zy-game6.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: 'zy6', host: '172.16.4.174', clientHost: 'yjz-zy-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
{ name: 'zy7', host: '172.16.4.173', clientHost: 'yjz-zy-game7.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: 'zy7', host: '172.16.4.173', clientHost: 'yjz-zy-game7.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 },
{ 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: 'zy8', host: '172.16.4.169', clientHost: 'yjz-zy-game8.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 2, 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: '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: '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: '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: '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: '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: '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: '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: '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: '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: '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 }, // { 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 },

View File

@@ -486,6 +486,16 @@ export const ch3 = {
"id": "battle-server-8", "id": "battle-server-8",
"host": "172.16.4.143", "host": "172.16.4.143",
"port": 6032 "port": 6032
},
{
"id": "battle-server-9",
"host": "172.16.4.143",
"port": 6033
},
{
"id": "battle-server-10",
"host": "172.16.4.143",
"port": 6034
} }
], ],
"comBattle": [ "comBattle": [
@@ -662,22 +672,22 @@ export const ch4 = {
], ],
"battle": [ "battle": [
{ {
"id": "battle-server-9", "id": "battle-server-11",
"host": "172.16.4.175", "host": "172.16.4.175",
"port": 6031 "port": 6031
}, },
{ {
"id": "battle-server-10", "id": "battle-server-12",
"host": "172.16.4.175", "host": "172.16.4.175",
"port": 6032 "port": 6032
}, },
{ {
"id": "battle-server-11", "id": "battle-server-13",
"host": "172.16.4.175", "host": "172.16.4.175",
"port": 6033 "port": 6033
}, },
{ {
"id": "battle-server-12", "id": "battle-server-14",
"host": "172.16.4.175", "host": "172.16.4.175",
"port": 6034 "port": 6034
} }
@@ -757,913 +767,4 @@ export const ch4 = {
], ],
"gm": [], "gm": [],
"systimer": [] "systimer": []
};
export const ch5 = {
"connector": [
{
"id": "connector-server-25",
"host": "172.16.4.172",
"port": 4051,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3051,
"frontend": true
},
{
"id": "connector-server-26",
"host": "172.16.4.172",
"port": 4052,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3052,
"frontend": true
},
{
"id": "connector-server-27",
"host": "172.16.4.172",
"port": 4053,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3053,
"frontend": true
},
{
"id": "connector-server-28",
"host": "172.16.4.172",
"port": 4054,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3054,
"frontend": true
},
{
"id": "connector-server-29",
"host": "172.16.4.172",
"port": 4055,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3055,
"frontend": true
},
{
"id": "connector-server-30",
"host": "172.16.4.172",
"port": 4056,
"clientHost": "yjz-ch-game5.fdd73.com",
"clientPort": 3056,
"frontend": true
}
],
"chat": [
{
"id": "chat-server-9",
"host": "172.16.4.172",
"port": 6011
},
{
"id": "chat-server-10",
"host": "172.16.4.172",
"port": 6012
}
],
"role": [
{
"id": "role-server-25",
"host": "172.16.4.172",
"port": 6021
},
{
"id": "role-server-26",
"host": "172.16.4.172",
"port": 6022
},
{
"id": "role-server-27",
"host": "172.16.4.172",
"port": 6023
},
{
"id": "role-server-28",
"host": "172.16.4.172",
"port": 6024
},
{
"id": "role-server-29",
"host": "172.16.4.172",
"port": 6025
},
{
"id": "role-server-30",
"host": "172.16.4.172",
"port": 6026
}
],
"battle": [
{
"id": "battle-server-13",
"host": "172.16.4.172",
"port": 6031
},
{
"id": "battle-server-14",
"host": "172.16.4.172",
"port": 6032
},
{
"id": "battle-server-15",
"host": "172.16.4.172",
"port": 6033
},
{
"id": "battle-server-16",
"host": "172.16.4.172",
"port": 6034
}
],
"comBattle": [
{
"id": "comBattle-server-5",
"host": "172.16.4.172",
"port": 6091
}
],
"guild": [
{
"id": "guild-server-25",
"host": "172.16.4.172",
"port": 6041
},
{
"id": "guild-server-26",
"host": "172.16.4.172",
"port": 6042
},
{
"id": "guild-server-27",
"host": "172.16.4.172",
"port": 6043
},
{
"id": "guild-server-28",
"host": "172.16.4.172",
"port": 6044
},
{
"id": "guild-server-29",
"host": "172.16.4.172",
"port": 6045
},
{
"id": "guild-server-30",
"host": "172.16.4.172",
"port": 6046
}
],
"activity": [
{
"id": "activity-server-12",
"host": "172.16.4.172",
"port": 6051
},
{
"id": "activity-server-13",
"host": "172.16.4.172",
"port": 6052
},
{
"id": "activity-server-14",
"host": "172.16.4.172",
"port": 6053
},
{
"id": "activity-server-15",
"host": "172.16.4.172",
"port": 6054
}
],
"order": [
{
"id": "order-server-9",
"host": "172.16.4.172",
"port": 6061
},
{
"id": "order-server-10",
"host": "172.16.4.172",
"port": 6062
}
],
"gm": [],
"systimer": []
};
export const ch6 = {
"connector": [
{
"id": "connector-server-31",
"host": "172.16.4.170",
"port": 4051,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3051,
"frontend": true
},
{
"id": "connector-server-32",
"host": "172.16.4.170",
"port": 4052,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3052,
"frontend": true
},
{
"id": "connector-server-33",
"host": "172.16.4.170",
"port": 4053,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3053,
"frontend": true
},
{
"id": "connector-server-34",
"host": "172.16.4.170",
"port": 4054,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3054,
"frontend": true
},
{
"id": "connector-server-35",
"host": "172.16.4.170",
"port": 4055,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3055,
"frontend": true
},
{
"id": "connector-server-36",
"host": "172.16.4.170",
"port": 4056,
"clientHost": "yjz-ch-game6.fdd73.com",
"clientPort": 3056,
"frontend": true
}
],
"chat": [
{
"id": "chat-server-11",
"host": "172.16.4.170",
"port": 6011
},
{
"id": "chat-server-12",
"host": "172.16.4.170",
"port": 6012
}
],
"role": [
{
"id": "role-server-31",
"host": "172.16.4.170",
"port": 6021
},
{
"id": "role-server-32",
"host": "172.16.4.170",
"port": 6022
},
{
"id": "role-server-33",
"host": "172.16.4.170",
"port": 6023
},
{
"id": "role-server-34",
"host": "172.16.4.170",
"port": 6024
},
{
"id": "role-server-35",
"host": "172.16.4.170",
"port": 6025
},
{
"id": "role-server-36",
"host": "172.16.4.170",
"port": 6026
}
],
"battle": [
{
"id": "battle-server-17",
"host": "172.16.4.170",
"port": 6031
},
{
"id": "battle-server-18",
"host": "172.16.4.170",
"port": 6032
},
{
"id": "battle-server-19",
"host": "172.16.4.170",
"port": 6033
},
{
"id": "battle-server-20",
"host": "172.16.4.170",
"port": 6034
}
],
"comBattle": [
{
"id": "comBattle-server-6",
"host": "172.16.4.170",
"port": 6091
}
],
"guild": [
{
"id": "guild-server-31",
"host": "172.16.4.170",
"port": 6041
},
{
"id": "guild-server-32",
"host": "172.16.4.170",
"port": 6042
},
{
"id": "guild-server-33",
"host": "172.16.4.170",
"port": 6043
},
{
"id": "guild-server-34",
"host": "172.16.4.170",
"port": 6044
},
{
"id": "guild-server-35",
"host": "172.16.4.170",
"port": 6045
},
{
"id": "guild-server-36",
"host": "172.16.4.170",
"port": 6046
}
],
"activity": [
{
"id": "activity-server-16",
"host": "172.16.4.170",
"port": 6051
},
{
"id": "activity-server-17",
"host": "172.16.4.170",
"port": 6052
},
{
"id": "activity-server-18",
"host": "172.16.4.170",
"port": 6053
},
{
"id": "activity-server-19",
"host": "172.16.4.170",
"port": 6054
}
],
"order": [
{
"id": "order-server-11",
"host": "172.16.4.170",
"port": 6061
},
{
"id": "order-server-12",
"host": "172.16.4.170",
"port": 6062
}
],
"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": []
}; };

File diff suppressed because it is too large Load Diff

View File

@@ -11,15 +11,15 @@ envs=()
masterAddr='' masterAddr=''
if [ ${1} == 'zy' ] ; then 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" "yjz-bk-1" "yjz-bk-2" "yjz-bk-3" "yjz-bk-4" "yjz-bk-5" "yjz-bk-6") 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")
envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8" "zy9" "zy10" "zy11" "zy12" "zy13" "zy14" "zy15" "zy16") envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8")
masterAddr=${sshAddr[0]} masterAddr=${sshAddr[0]}
echo ${masterAddr} echo ${masterAddr}
port=22 port=22
env='zy1' env='zy1'
elif [ ${1} == 'ch' ] ; then elif [ ${1} == 'ch' ] ; then
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") sshAddr=("yjz-ch-game1" "yjz-ch-game2" "yjz-ch-game3" "yjz-ch-game4")
envs=("ch1" "ch2" "ch3" "ch4" "ch5" "ch6" "ch7" "ch8" "ch9") envs=("ch1" "ch2" "ch3" "ch4")
masterAddr=${sshAddr[0]} masterAddr=${sshAddr[0]}
echo ${masterAddr} echo ${masterAddr}
port=22 port=22

View File

@@ -101,14 +101,6 @@ elif [ ${1} == 'zy8' ] ; then
destUrl="root@yjz-zy-game8:/root/zyz/" destUrl="root@yjz-zy-game8:/root/zyz/"
port=22 port=22
env='zy1' env='zy1'
elif [ ${1} == 'zy9' ] ; then
destUrl="root@yjz-zy-game9:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zy10' ] ; then
destUrl="root@yjz-zy-game10:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zyweb1' ] ; then elif [ ${1} == 'zyweb1' ] ; then
destUrl="root@yjz-zy-web1:/root/zyz/" destUrl="root@yjz-zy-web1:/root/zyz/"
port=22 port=22
@@ -117,14 +109,6 @@ elif [ ${1} == 'zyweb2' ] ; then
destUrl="root@yjz-zy-web2:/root/zyz/" destUrl="root@yjz-zy-web2:/root/zyz/"
port=22 port=22
env='zy1' env='zy1'
elif [ ${1} == 'zyweb3' ] ; then
destUrl="root@yjz-zy-web3:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zyweb4' ] ; then
destUrl="root@yjz-zy-web4:/root/zyz/"
port=22
env='zy1'
# ch1 - ch6, chweb1 - chweb3 # ch1 - ch6, chweb1 - chweb3
elif [ ${1} == 'ch1' ] ; then elif [ ${1} == 'ch1' ] ; then
destUrl="root@yjz-ch-game1:/root/zyz/" destUrl="root@yjz-ch-game1:/root/zyz/"
@@ -142,22 +126,10 @@ elif [ ${1} == 'ch4' ] ; then
destUrl="root@yjz-ch-game4:/root/zyz/" destUrl="root@yjz-ch-game4:/root/zyz/"
port=22 port=22
env='ch1' env='ch1'
elif [ ${1} == 'ch5' ] ; then
destUrl="root@yjz-ch-game5:/root/zyz/"
port=22
env='ch1'
elif [ ${1} == 'ch6' ] ; then
destUrl="root@yjz-ch-game6:/root/zyz/"
port=22
env='ch1'
elif [ ${1} == 'chweb1' ] ; then elif [ ${1} == 'chweb1' ] ; then
destUrl="root@yjz-ch-web1:/root/zyz/" destUrl="root@yjz-ch-web1:/root/zyz/"
port=22 port=22
env='ch1' env='ch1'
elif [ ${1} == 'chweb2' ] ; then
destUrl="root@yjz-ch-web2:/root/zyz/"
port=22
env='ch1'
elif [ ${1} == 'chweb3' ] ; then elif [ ${1} == 'chweb3' ] ; then
destUrl="root@yjz-ch-web3:/root/zyz/" destUrl="root@yjz-ch-web3:/root/zyz/"
port=22 port=22
@@ -182,66 +154,6 @@ elif [ ${1} == 'yjzios' ] ; then
destUrl="root@yjz-ios-review:/root/zyz/" destUrl="root@yjz-ios-review:/root/zyz/"
port=22 port=22
env='yjzios' 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'
elif [ ${1} == 'zytest' ] ; then elif [ ${1} == 'zytest' ] ; then
destUrl="root@yjz-bk-1:/root/zyz/" destUrl="root@yjz-bk-1:/root/zyz/"
port=22 port=22