new combine plane
This commit is contained in:
parent
f207efeacc
commit
9b5161ec66
@ -30,16 +30,74 @@ clear_mysql:
|
||||
select count(id) FROM `tribe_member` WHERE role_id NOT IN ( SELECT id FROM role)
|
||||
|
||||
====================================================step 1===============================================
|
||||
10.10.6.112-113
|
||||
python wjtx.py change_server_status -m maintain -o add -s 348-351
|
||||
10.10.6.93 98
|
||||
python wjtx.py change_server_status -m maintain -o add -s 310-327
|
||||
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_348 >legend_348.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_349 >legend_349.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_350 >legend_350.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_351 >legend_351.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_310 >legend_310.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_320 >legend_320.sql
|
||||
|
||||
python wjtx.py init_wjtx_mysql -s 348
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_348 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.112 6381 out/game_redis.script
|
||||
python wjtx.py init_wjtx_mysql -s 310
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_310 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.93 6381 out/game_redis.script
|
||||
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 348-351
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 310
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 320
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 310-327
|
||||
|
||||
====================================================step 2===============================================
|
||||
10.10.6.102 104
|
||||
python wjtx.py change_server_status -m maintain -o add -s 328-339
|
||||
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_328 >legend_328.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_332 >legend_332.sql
|
||||
|
||||
python wjtx.py init_wjtx_mysql -s 328
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_328 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.102 6381 out/game_redis.script
|
||||
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 328
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 332
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 328-339
|
||||
|
||||
====================================================step 3===============================================
|
||||
10.10.6.108 112
|
||||
python wjtx.py change_server_status -m maintain -o add -s 340-351
|
||||
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_340 >legend_340.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_348 >legend_348.sql
|
||||
|
||||
python wjtx.py init_wjtx_mysql -s 340
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_340 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.108 6381 out/game_redis.script
|
||||
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 340
|
||||
redis-cli -h 10.10.6.4 hdel hefu_info 348
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 340-351
|
||||
====================================================step 4===============================================
|
||||
10.10.6.114 115
|
||||
python wjtx.py change_server_status -m maintain -o add -s 352-355
|
||||
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_352 >legend_352.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_353 >legend_353.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_354 >legend_354.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_355 >legend_355.sql
|
||||
|
||||
python wjtx.py init_wjtx_mysql -s 352
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_352 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.114 6381 out/game_redis.script
|
||||
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 352-355
|
||||
====================================================step 5===============================================
|
||||
10.10.6.116 117
|
||||
python wjtx.py change_server_status -m maintain -o add -s 356-359
|
||||
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_356 >legend_356.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_357 >legend_357.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_358 >legend_358.sql
|
||||
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_359 >legend_359.sql
|
||||
|
||||
python wjtx.py init_wjtx_mysql -s 356
|
||||
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_356 -e"source all.sql"
|
||||
python import_redis.py 10.10.6.116 6381 out/game_redis.script
|
||||
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
||||
python wjtx.py change_server_status -m maintain -o remove -s 356-359
|
||||
|
@ -28,7 +28,7 @@ def read_json(filename):
|
||||
|
||||
def main():
|
||||
csv_data = get_csv()
|
||||
for i in range(1, 2):
|
||||
for i in range(1, 6):
|
||||
check_file = f"server_list_{i}.json"
|
||||
json_data = read_json(check_file)
|
||||
print(f"check {check_file}")
|
||||
|
@ -1,22 +1,12 @@
|
||||
[
|
||||
{
|
||||
"serverid": 348,
|
||||
"redis_host": "10.10.6.112",
|
||||
"serverid": 310,
|
||||
"redis_host": "10.10.6.93",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 349,
|
||||
"redis_host": "10.10.6.112",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 350,
|
||||
"redis_host": "10.10.6.113",
|
||||
"serverid": 320,
|
||||
"redis_host": "10.10.6.98",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 351,
|
||||
"redis_host": "10.10.6.113",
|
||||
"redis_port": 6382
|
||||
}
|
||||
]
|
||||
|
@ -1,43 +1,12 @@
|
||||
[
|
||||
{
|
||||
"serverid": 328,
|
||||
"redis_host": "10.10.6.102",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 332,
|
||||
"redis_host": "10.10.6.104",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 333,
|
||||
"redis_host": "10.10.6.104",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 334,
|
||||
"redis_host": "10.10.6.105",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 335,
|
||||
"redis_host": "10.10.6.105",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 336,
|
||||
"redis_host": "10.10.6.106",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 337,
|
||||
"redis_host": "10.10.6.106",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 338,
|
||||
"redis_host": "10.10.6.107",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 339,
|
||||
"redis_host": "10.10.6.107",
|
||||
"redis_port": 6382
|
||||
}
|
||||
|
||||
]
|
||||
|
@ -1,42 +0,0 @@
|
||||
[
|
||||
{
|
||||
"serverid": 340,
|
||||
"redis_host": "10.10.6.108",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 341,
|
||||
"redis_host": "10.10.6.108",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 342,
|
||||
"redis_host": "10.10.6.109",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 343,
|
||||
"redis_host": "10.10.6.109",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 344,
|
||||
"redis_host": "10.10.6.110",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 345,
|
||||
"redis_host": "10.10.6.110",
|
||||
"redis_port": 6382
|
||||
},
|
||||
{
|
||||
"serverid": 346,
|
||||
"redis_host": "10.10.6.111",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 347,
|
||||
"redis_host": "10.10.6.111",
|
||||
"redis_port": 6382
|
||||
}
|
||||
]
|
@ -1,12 +0,0 @@
|
||||
[
|
||||
{
|
||||
"serverid": 291,
|
||||
"redis_host": "10.10.6.86",
|
||||
"redis_port": 6381
|
||||
},
|
||||
{
|
||||
"serverid": 301,
|
||||
"redis_host": "10.10.6.90",
|
||||
"redis_port": 6381
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user