2022-03-28 15:48:34 +08:00
..
2021-11-04 15:44:34 +08:00
2020-08-19 14:15:13 +08:00
2021-10-19 12:02:05 +08:00
2021-10-19 12:02:05 +08:00
2022-02-07 15:37:21 +08:00
1
2020-08-19 14:14:08 +08:00
1
2021-06-30 11:31:02 +08:00
2021-12-22 14:23:41 +08:00
2020-03-25 10:37:32 +08:00
2022-03-28 15:48:34 +08:00
1
2021-10-20 10:59:12 +08:00
2021-01-14 17:35:06 +08:00
2022-01-12 16:40:35 +08:00

========================================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