64 lines
3.8 KiB
Plaintext
64 lines
3.8 KiB
Plaintext
========================================check combine data=========================================
|
|
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_812 -e"select count(1),server_id from user group by server_id;"
|
|
==========================================step 1===============================================
|
|
10.10.6.185-188
|
|
python wjtx.py changestatus -m maintain -o add -s 808-815
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_808 >legend_808.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_809 >legend_809.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_810 >legend_810.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_811 >legend_811.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_812 >legend_812.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_813 >legend_813.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_814 >legend_814.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_815 >legend_815.sql
|
|
|
|
python wjtx.py initdb -s 808
|
|
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_808 -e"source all.sql"
|
|
|
|
python import_redis.py 10.10.6.185 6381 out/game_redis.script
|
|
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
|
close 10.10.6.186,187,188
|
|
python wjtx.py changestatus -m maintain -o remove -s 808-815
|
|
==========================================step 2===============================================
|
|
10.10.6.189,190
|
|
python wjtx.py changestatus -m maintain -o add -s 816-819
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_816 >legend_816.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_817 >legend_817.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_818 >legend_818.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_819 >legend_819.sql
|
|
python wjtx.py initdb -s 816
|
|
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_816 -e"source all.sql"
|
|
python import_redis.py 10.10.6.189 6381 out/game_redis.script
|
|
python import_redis.py 10.10.6.4 6379 out/global_redis.script
|
|
close 10.10.6.190
|
|
python wjtx.py changestatus -m maintain -o remove -s 816-819
|
|
=======================================step 3===============================================
|
|
10.10.6.246,171
|
|
python wjtx.py changestatus -m maintain -o add -s 712-795
|
|
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_712 >legend_712.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_780 >legend_780.sql
|
|
|
|
python wjtx.py initdb -s 712
|
|
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_712 -e"source all.sql"
|
|
python import_redis.py 10.10.6.246 6382 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 712
|
|
redis-cli -h 10.10.6.4 hdel hefu_info 780
|
|
close 10.10.6.171
|
|
python wjtx.py changestatus -m maintain -o remove -s 712-795
|
|
=======================================step 4===============================================
|
|
10.10.6.179,183
|
|
python wjtx.py changestatus -m maintain -o add -s 796-807
|
|
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_796 >legend_796.sql
|
|
mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_804 >legend_804.sql
|
|
|
|
python wjtx.py initdb -s 796
|
|
mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_796 -e"source all.sql"
|
|
python import_redis.py 10.10.6.179 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 796
|
|
redis-cli -h 10.10.6.4 hdel hefu_info 804
|
|
close 10.10.6.183
|
|
python wjtx.py changestatus -m maintain -o remove -s 796-807 |