...
- 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 new Region, update mgmt cluster IP in configuration table:
- mysql> update `cloud`.`configuration` set value = '<ip_address>' where name = 'host';
- 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": 95, "requestCorrelationId": "aa1f4432d380f707"}