refactor(server_999): 更新服务器配置和IP地址
- 修改 msgq_config.xml 中的 IP 地址从 121.41.123.129 到 10.999.91.1 - 更新 relation_svr 相关配置,包括共享内存键值和日志路径 - 修改 zone_svr 启动和停止脚本中的 IP 地址
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.60.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -19,7 +19,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.30.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -30,7 +30,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.88.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -41,7 +41,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.69.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -53,7 +53,7 @@
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>10.999.89.1</Address>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
<Desc>channel for zone_svr and gloabl db_proxy </Desc>
|
||||
@@ -75,7 +75,7 @@
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>10.999.70.1</Address>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
<Desc>channel for zone_svr and world </Desc>
|
||||
@@ -96,7 +96,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.10.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -108,7 +108,7 @@
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>10.999.66.1</Address>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<RecvSize>20971520 </RecvSize>
|
||||
<SendSize>20971520 </SendSize>
|
||||
<Desc>channel for chat_svr to zone_svr </Desc>
|
||||
@@ -129,7 +129,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<RecvSize>20971520 </RecvSize>
|
||||
<SendSize>20971520 </SendSize>
|
||||
@@ -140,7 +140,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.900.91.1</Address>
|
||||
<RecvSize>20971520 </RecvSize>
|
||||
<SendSize>20971520 </SendSize>
|
||||
@@ -151,7 +151,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.900.93.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -162,7 +162,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.900.92.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -173,7 +173,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.900.71.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
@@ -184,7 +184,7 @@
|
||||
<Channels type="ChannelCnf">
|
||||
<Priority>8 </Priority>
|
||||
<AddressCount>2 </AddressCount>
|
||||
<Address>121.41.123.129</Address>
|
||||
<Address>10.999.91.1</Address>
|
||||
<Address>10.900.64.1</Address>
|
||||
<RecvSize>20971520</RecvSize>
|
||||
<SendSize>20971520</SendSize>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
ipcrm -M 11090011
|
||||
ipcrm -M 1109994
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="GBK" standalone="yes" ?>
|
||||
|
||||
<relation_svrconf version="1" >
|
||||
<MemPoolShmKey>11090011</MemPoolShmKey>
|
||||
<MemPoolShmKey>1109994</MemPoolShmKey>
|
||||
<MemPoolShmSize>20000000</MemPoolShmSize>
|
||||
<MaxPlayerCount>50</MaxPlayerCount>
|
||||
<MaxPlayerCacheCount>60</MaxPlayerCacheCount>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<Type>FILE </Type>
|
||||
<Device type="TLOGDevSelector">
|
||||
<File type="TLOGDevFile">
|
||||
<Pattern>/data/game_log/server_900/relation_svr/relation_svr_%Y%m%d%H.log</Pattern>
|
||||
<Pattern>/data/game_log/server_999/relation_svr/relation_svr_%Y%m%d%H.log</Pattern>
|
||||
<BuffSize>0 </BuffSize>
|
||||
<SizeLimit>536870912 </SizeLimit>
|
||||
<Precision>1 </Precision>
|
||||
@@ -56,7 +56,7 @@
|
||||
<Type>FILE </Type>
|
||||
<Device type="TLOGDevSelector">
|
||||
<File type="TLOGDevFile">
|
||||
<Pattern>/data/game_log/server_900/relation_svr/relation_svr_%Y%m%d%H.error</Pattern>
|
||||
<Pattern>/data/game_log/server_999/relation_svr/relation_svr_%Y%m%d%H.error</Pattern>
|
||||
<BuffSize>0 </BuffSize>
|
||||
<SizeLimit>536870912 </SizeLimit>
|
||||
<Precision>1 </Precision>
|
||||
@@ -81,7 +81,7 @@
|
||||
<Type>FILE </Type>
|
||||
<Device type="TLOGDevSelector">
|
||||
<File type="TLOGDevFile">
|
||||
<Pattern>/data/game_log/server_900/relation_svr/relation_svr_tbus_%Y%m%d%H.log</Pattern>
|
||||
<Pattern>/data/game_log/server_999/relation_svr/relation_svr_tbus_%Y%m%d%H.log</Pattern>
|
||||
<BuffSize>0 </BuffSize>
|
||||
<SizeLimit>536870912 </SizeLimit>
|
||||
<Precision>1 </Precision>
|
||||
@@ -106,7 +106,7 @@
|
||||
<Type>FILE </Type>
|
||||
<Device type="TLOGDevSelector">
|
||||
<File type="TLOGDevFile">
|
||||
<Pattern>/data/game_log/server_900/relation_svr/relation_svr_rundata_%Y%m%d%H.log</Pattern>
|
||||
<Pattern>/data/game_log/server_999/relation_svr/relation_svr_rundata_%Y%m%d%H.log</Pattern>
|
||||
<BuffSize>0 </BuffSize>
|
||||
<SizeLimit>536870912 </SizeLimit>
|
||||
<Precision>1 </Precision>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user