========================================check combine data========================================= mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_776 -e"select count(1),server_id from user group by server_id;" ==========================================step 1=============================================== 10.10.6.169-170 python wjtx.py changestatus -m maintain -o add -s 776-779 mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_776 >legend_776.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_777 >legend_777.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_778 >legend_778.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_779 >legend_779.sql python wjtx.py initdb -s 776 mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_776 -e"source all.sql" python import_redis.py 10.10.6.169 6381 out/game_redis.script python import_redis.py 10.10.6.4 6379 out/global_redis.script close 10.10.6.170 python wjtx.py changestatus -m maintain -o remove -s 776-779 ==========================================step 2=============================================== 10.10.6.246,161 python wjtx.py changestatus -m maintain -o add -s 712-767 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_760 >legend_760.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 close 10.10.6.161 python wjtx.py changestatus -m maintain -o remove -s 712-767 =======================================step 3=============================================== 10.10.6.165,167 python wjtx.py changestatus -m maintain -o add -s 768-775 mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_768 >legend_768.sql mysqldump --default-character-set=utf8 -uwjtx -pmMWA4DKCfeOL -h10.10.6.2 legend_772 >legend_772.sql python wjtx.py initdb -s 768 mysql -uroot -p0usmUwROtWjf -h10.10.6.2 legend_768 -e"source all.sql" python import_redis.py 10.10.6.165 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 768 redis-cli -h 10.10.6.4 hdel hefu_info 772 close 10.10.6.167 python wjtx.py changestatus -m maintain -o remove -s 768-775