Changing active orchestrator to standby orchestrator
You can change the orchestrator instances from active orchestrator to standby orchestrator by using command-line interface (CLI).
Using the command-line interface
To switch the instance from active orchestrator to standby orchestrator, follow these steps:
- Enter ls3siteconfig command to validate the status of active
orchestrator and standby orchestrator.
[root@localhost home]# ls3siteconfig master_name Master master_site_name master_site_status online master_ip1 x.xxx.xxx.xx master_ip1_status reachable master_ip2 master_ip2_status not_configured master_port 17160 auxnear_name Aux_Near auxnear_site_name auxnear_site_status online auxnear_ip1 x.xxx.xxx.xx auxnear_ip1_status reachable auxnear_ip2 auxnear_ip2_status not_configured auxnear_port 17161 auxfar_name Auxfar_MM auxfar_site_status online auxfar_ip1 x.xxx.xxx.xxx auxfar_ip1_status reachable auxfar_ip2 auxfar_ip2_status not_configured auxfar_port 17162 username tuser keyfile /root/.ssh/pw_rsa topology metromirror orchestrator_version 4.1.220922160427 orchestrator_ha_status online
- Ensure that both orchestrators are up and running. To change standby orchestrator to
active orchestrator and active orchestrator to standby orchestrator, enter the following command on
active orchestrator:
[root@localhost home]# ch3siteconfig -standby -force
Note: The command might take couple of minutes to change standby orchestrator to active and active to become standby. - To verify whether the change is successful, enter the ls3siteconfig
command to validate configuration.
[root@rhel7host108 home]# ls3siteconfig master_name Master master_site_name master_site_status online master_ip1 x.xxx.xxx.xx master_ip1_status reachable master_ip2 master_ip2_status not_configured master_port 6000 auxnear_name Aux_Near auxnear_site_name auxnear_site_status online auxnear_ip1 x.xxx.xxx.xx auxnear_ip1_status reachable auxnear_ip2 auxnear_ip2_status not_configured auxnear_port 6001 auxfar_name Aux_Far auxfar_site_status online auxfar_ip1 x.xxx.xxx.xxx auxfar_ip1_status reachable auxfar_ip2 auxfar_ip2_status not_configured auxfar_port 6002 username tuser keyfile /root/.ssh/pw_rsa topology metromirror orchestrator_version 4.1.220922160427 orchestrator_ha_status online