Completing the Metro Mirror configuration in the IBM Spectrum Virtualize 3-Site Orchestrator

After you create the 3-Site Administrator users on each system and create the list of known hosts on the 3-Site Orchestrator, you need to complete the configuration process before you can configure 3-site replication.

Note: For RHEL 8.x version, private key is not recognized and you need to run below command with private key file path.
ssh-keygen -p -m PEM -f <private key file path>
Ensure you have the following information before you complete the 3-Site Orchestrator configuration:
  • All management IP addresses for each system in the configuration. Each system can have two IP addresses that are configured as management IP addresses for redundancy; however, the second IP address is optional.
  • The username for the 3-Site Orchestrator user.
  • The location of the corresponding key file that is used to authentication SSH connections between the systems and the 3-Site Orchestrator.
On the 3-Site Orchestrator host, complete these steps:
  1. Enter the following command:
    [root@ORCH-HOST cli]# mk3siteconfig -ip1 x.xxx.xxx.xx,x.xxx.xxx.xx,x.xxx.xxx.xxx 
    -keyfile '/root/.ssh/id_rsa' -username 'tsuser'  -port 6000
    where x.xxx.xxx.xx represents the management IP addresses of each of systems at the Master, Auxiliary-near and Auxiliary-far sites. The -keyfile value is the file path where the SSH private key is on the Orchestrator host. The -username value specifies the name of the user that has 3-Site Orchestrator administrator role. The value in the -port parameter is the starting address of the three port numbers that are assigned to each site. For example, if 6000 is set as -port, then the master port (master_port) is set at 6000; the auxiliary-near port (auxnear_port) is set at 6001; and the auxiliary-far port (auxfar_port) is set at 6002.
    Note: The mk3siteconfig command generates a tar file at location /opt/ibm/SpectrumVirtualize/rc3site/config.tar.
  2. To verify the configuration, enter the following command:
    [root@ORCH-HOST cli]# ls3siteconfig
    master_name Master 
    master_site_name  
    master_site_status online 
    master_ip1 x.xxx.xx.xx 
    master_ip1_status reachable 
    master_ip2  
    master_ip2_status not_configured 
    master_port 6000 
    auxnear_name AuxNear 
    auxnear_site_name  
    auxnear_site_status online 
    auxnear_ip1 x.xxx.xx.xx 
    auxnear_ip1_status reachable 
    auxnear_ip2  
    auxnear_ip2_status not_configured 
    auxnear_port 6001 
    auxfar_name AuxFar 
    auxfar_site_status online 
    auxfar_ip1 x.xxx.xx.xx 
    auxfar_ip1_status reachable 
    auxfar_ip2  
    auxfar_ip2_status not_configured 
    auxfar_port 6002 
    username tsuser 
    keyfile /root/.ssh/id_rsa 
    topology metromirror 
    

After the 3-site configuration is verified, you can convert an existing Metro Mirror consistency group or add a relationship to a 3-site consistency group. For more information, see Converting a Metro Mirror consistency group to a 3-site consistency group or Adding a Metro Mirror relationship to an existing 3-site consistency group.