========================================check combine data========================================= mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_732 -e"select count(1),server_id from user group by server_id;" ==========================================step 1=============================================== 10.10.6.147-150 python wjtx.py changestatus -m maintain -o add -s 732-739 mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_732 >legend_732.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_733 >legend_733.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_734 >legend_734.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_735 >legend_735.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_736 >legend_736.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_737 >legend_737.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_738 >legend_738.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_739 >legend_739.sql python wjtx.py initdb -s 732 mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_732 -e"source all.sql" python import_redis.py 10.10.6.147 6381 out/game_redis.script python import_redis.py 10.10.6.4 6379 out/global_redis.script close 10.10.6.148-150 python wjtx.py changestatus -m maintain -o remove -s 732-739 ==========================================step 2=============================================== 10.10.6.151,152 python wjtx.py changestatus -m maintain -o add -s 740-743 mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_740 >legend_740.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_741 >legend_741.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_742 >legend_742.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_743 >legend_743.sql python wjtx.py initdb -s 740 mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_740 -e"source all.sql" python import_redis.py 10.10.6.151 6381 out/game_redis.script python import_redis.py 10.10.6.4 6379 out/global_redis.script close 10.10.6.152 python wjtx.py changestatus -m maintain -o remove -s 740-743 =======================================step 3=============================================== 10.10.6.137,141,145 python wjtx.py changestatus -m maintain -o add -s 712-731 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_720 >legend_720.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_728 >legend_728.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.137 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 720 redis-cli -h 10.10.6.4 hdel hefu_info 728 close 10.10.6.141,145 python wjtx.py changestatus -m maintain -o remove -s 712-731