You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Steps to migration a existing zones to new Regions in 4.2
- Upgrade existing MS to 4.2. This MS will become region 1
- Disable all the zones in region 1
- Dump region 1 DB
- mysqldump -u cloud -p -h <region1_db_host> cloud > region1.sql
- 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>
- 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 zone delete script. e.g if zone 2 is moved to region2, it has to be deleted from region1 using the script
- Start all management servers. At this point all regions contain only the desired zones
- Enable zones in the required regions
- Destroy CPVM and SSVM in each zone, so that they will be recreated