...
- Verify that MS is on version 4.2
- Disable all the zones in region 1
- Stop all MS
- Dump region 1 DB mysqldump -u cloud -p -h <region1_db_host> cloud > region1.sqlVerify that region end_point is not localhost. (Use updateRegion API to set correct IP)
- Install 4.2 MS in the remaining Regions
- Set the region_id while installing the DB
- cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password> -e <encryption_type> -m <management_server_key> -k <database_key> -r <region_id>
- Add all new regions to region 1 using addRegion API
- Disable all the zones in region 1
- Stop all MS
- Dump region 1 DB
- mysqldump -u cloud -p -h <region1_db_host> cloud > region1.sql
- Copy region 1 DB to other regions
- mysql -u cloud -p -h <region2_db_host> cloud < region1.sql
- In each Region, delete all zones from the DB which are not supposed to be in that region using zone delete script. e.g if zone 2 is moved to region2, it has to be deleted from region1 using the script
...
{"serverDuration": 100, "requestCorrelationId": "a57db20e40b648b4"}