You must turn off the senhasegura instances in the reverse order of the cluster, in the example below we will use two instances.
2. Secondary Instance:
- Run the following commands in sequence
orbit shutdown
3. Validate cluster status in primary node:
orbit cluster status
4. Primary Instance:
orbit shutdown
To turn on, the procedure must be the opposite of the one mentioned above, it must be following the order of the cluster.
1. Primary Instance:
- Turn on the instance and run the following command:
orbit cluster start
Wait 5 minutes for correct database initialization.
2. Secondary Instance:
- Turn on the instance, wait 5 minutes for automatic synchronization and validate that the secondary is accessible. Otherwise, run the following command:
orbit cluster start
3. Validate cluster status
orbit cluster status
4. To add the Arbiter to the cluster, follow the documentation starting from step 6.