Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Install a 2nd CS instance.

2. While installing databse database set region_id using -r option in cloud-setup-databases script.

...

1. Install CS in all new regions

2. Before staring the mgmt server for the 1st time,  While installing database set region_id in db.properties(for all mgmt servers in region N) by adding below lineusing -r option in cloud-setup-databases script.

cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password> -e <encryption_type> -m <management_server_key> -k <database_key-r <region_id>       region.id=<n> 

3. Start mgmt server

4. Using addRegion API, add existing regions to region n and also region n to all existing regions

...

1. Ownership of all the resource created in the region being removed(say Region 3) should change to another region. Set region_id =1 (or one of the other regions) for account/user/doman tables where region_id = 3

    Below steps need to be repeated in all regions.

  • mysql> update account set region_id = 1 where region_id = <id_of_region_being_removed>;
  • mysql> update user set region_id = 1 where region_id = <id_of_region_being_removed>;
  • mysql> update domain set region_id = 1 where region_id = <id_of_region_being_removed>;

...