From 6ff13abf95968e58ebe0aa1af63d3d088964994f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 May 2025 20:55:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor(server=5F999):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE=E5=92=8CIP?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 msgq_config.xml 中的 IP 地址从 121.41.123.129 到 10.999.91.1 - 更新 relation_svr 相关配置,包括共享内存键值和日志路径 - 修改 zone_svr 启动和停止脚本中的 IP 地址 --- server_999/runenv/msgq/msgq_config.xml | 28 +++++++++---------- server_999/runenv/relation_svr/cfg/clear.sh | 2 +- .../runenv/relation_svr/cfg/relation_svr.xml | 2 +- .../relation_svr/cfg/relation_svr_log.xml | 8 +++--- .../runenv/zone_svr/cfg/start_zone_svr.sh | 2 +- .../runenv/zone_svr/cfg/stop_zone_svr.sh | 2 +- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/server_999/runenv/msgq/msgq_config.xml b/server_999/runenv/msgq/msgq_config.xml index 6ed6df3..977d2bc 100755 --- a/server_999/runenv/msgq/msgq_config.xml +++ b/server_999/runenv/msgq/msgq_config.xml @@ -8,7 +8,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.60.1
20971520 20971520 @@ -19,7 +19,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.30.1
20971520 20971520 @@ -30,7 +30,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.88.1
20971520 20971520 @@ -41,7 +41,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.69.1
20971520 20971520 @@ -53,7 +53,7 @@ 8 2
10.999.89.1
-
121.41.123.129
+
10.999.91.1
20971520 20971520 channel for zone_svr and gloabl db_proxy @@ -75,7 +75,7 @@ 8 2
10.999.70.1
-
121.41.123.129
+
10.999.91.1
20971520 20971520 channel for zone_svr and world @@ -96,7 +96,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.10.1
20971520 20971520 @@ -108,7 +108,7 @@ 8 2
10.999.66.1
-
121.41.123.129
+
10.999.91.1
20971520 20971520 channel for chat_svr to zone_svr @@ -129,7 +129,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.999.91.1
20971520 20971520 @@ -140,7 +140,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.900.91.1
20971520 20971520 @@ -151,7 +151,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.900.93.1
20971520 20971520 @@ -162,7 +162,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.900.92.1
20971520 20971520 @@ -173,7 +173,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.900.71.1
20971520 20971520 @@ -184,7 +184,7 @@ 8 2 -
121.41.123.129
+
10.999.91.1
10.900.64.1
20971520 20971520 diff --git a/server_999/runenv/relation_svr/cfg/clear.sh b/server_999/runenv/relation_svr/cfg/clear.sh index 8d1ae16..ae28df3 100755 --- a/server_999/runenv/relation_svr/cfg/clear.sh +++ b/server_999/runenv/relation_svr/cfg/clear.sh @@ -1,2 +1,2 @@ #!/bin/sh -ipcrm -M 11090011 +ipcrm -M 1109994 diff --git a/server_999/runenv/relation_svr/cfg/relation_svr.xml b/server_999/runenv/relation_svr/cfg/relation_svr.xml index b35b38e..d3d15ac 100755 --- a/server_999/runenv/relation_svr/cfg/relation_svr.xml +++ b/server_999/runenv/relation_svr/cfg/relation_svr.xml @@ -1,7 +1,7 @@ - 11090011 + 1109994 20000000 50 60 diff --git a/server_999/runenv/relation_svr/cfg/relation_svr_log.xml b/server_999/runenv/relation_svr/cfg/relation_svr_log.xml index f346548..ba18ea5 100755 --- a/server_999/runenv/relation_svr/cfg/relation_svr_log.xml +++ b/server_999/runenv/relation_svr/cfg/relation_svr_log.xml @@ -31,7 +31,7 @@ FILE - /data/game_log/server_900/relation_svr/relation_svr_%Y%m%d%H.log + /data/game_log/server_999/relation_svr/relation_svr_%Y%m%d%H.log 0 536870912 1 @@ -56,7 +56,7 @@ FILE - /data/game_log/server_900/relation_svr/relation_svr_%Y%m%d%H.error + /data/game_log/server_999/relation_svr/relation_svr_%Y%m%d%H.error 0 536870912 1 @@ -81,7 +81,7 @@ FILE - /data/game_log/server_900/relation_svr/relation_svr_tbus_%Y%m%d%H.log + /data/game_log/server_999/relation_svr/relation_svr_tbus_%Y%m%d%H.log 0 536870912 1 @@ -106,7 +106,7 @@ FILE - /data/game_log/server_900/relation_svr/relation_svr_rundata_%Y%m%d%H.log + /data/game_log/server_999/relation_svr/relation_svr_rundata_%Y%m%d%H.log 0 536870912 1 diff --git a/server_999/runenv/zone_svr/cfg/start_zone_svr.sh b/server_999/runenv/zone_svr/cfg/start_zone_svr.sh index 5a7033b..2816368 100755 --- a/server_999/runenv/zone_svr/cfg/start_zone_svr.sh +++ b/server_999/runenv/zone_svr/cfg/start_zone_svr.sh @@ -9,4 +9,4 @@ fi ./up_conf.sh -../bin/zone_svr a5game_zs_999 --id=121.41.123.129 --business-id=10 --log-level=300 --tlogconf ../cfg/zone_svr_log.xml --conf-file ../cfg/zone_svr.xml --bus-key=2109991 --pid-file=./zone_svr_10_999_ag.pid -D start +../bin/zone_svr a5game_zs_999 --id=10.999.91.1 --business-id=10 --log-level=300 --tlogconf ../cfg/zone_svr_log.xml --conf-file ../cfg/zone_svr.xml --bus-key=2109991 --pid-file=./zone_svr_10_999_ag.pid -D start diff --git a/server_999/runenv/zone_svr/cfg/stop_zone_svr.sh b/server_999/runenv/zone_svr/cfg/stop_zone_svr.sh index 5fdea47..0bc391a 100755 --- a/server_999/runenv/zone_svr/cfg/stop_zone_svr.sh +++ b/server_999/runenv/zone_svr/cfg/stop_zone_svr.sh @@ -7,5 +7,5 @@ if [ $curuser = "root1" ];then exit -1 fi -../bin/zone_svr --id=121.41.123.129 --business-id=10 --conf-file ../cfg/zone_svr.xml --pid-file=./zone_svr_10_999_ag.pid stop +../bin/zone_svr --id=10.999.91.1 --business-id=10 --conf-file ../cfg/zone_svr.xml --pid-file=./zone_svr_10_999_ag.pid stop