Updating configuration on standby orchestrator

If the configuration on active orchestrator is updated, same configuration can be updated on standby orchestrator by using the command-line interface (CLI).

Using the command-line interface

To update configuration of IBM Spectrum Virtualize 3-Site Orchestrator and synchronize it to standby orchestrator, follow these steps:
  1. For example, change the port number on active orchestrator by following these steps:
    1. Enter ls3siteconfig command to validate the configuration on active orchestrator.
      [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
    2. Change the port number by using ch3siteconfig command.
      [root@rhel7host108 home]# ch3siteconfig -port 7000
    3. Port number is changed successfully. Enter 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 7000
      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 7001
      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 7002
      username tuser
      keyfile /root/.ssh/pw_rsa
      topology metromirror
      orchestrator_version 4.1.220922160427
      orchestrator_ha_status online
  2. Copy the updated config.tar file at location /opt/ibm/SpectrumVirtualize/rc3site/config.tar from active orchestrator to standby orchestrator.
    [root@rhel7host108 home]# scp /opt/ibm/SpectrumVirtualize/rc3site/config.tar root@9.122.123.44:/home
    root@9.122.123.44's password:
    config.tar                                                                                                                                                 100%   10KB   5.9MB/s   
    00:00
  3. To update configuration file on standby orchestrator, enter the following command:
    [root@localhost home]#  ch3siteconfig -update  -config /home/config.tar
    
  4. Configuration file is successfully updated on standby orchestrator.