Finish Customizing a Preinstalled SMW HA System

Before beginning this procedure, complete the yast2 changes on the second SMW, as described in Change IP Addresses, Host Names, Name Server, and Route Settings on the Second SMW.

Update the cluster configuration to finish customizing the SMW HA system.

  1. Power on the first SMW and wait for it to come up. After the system powers on, the prompt displays the new host name (for example, smw1-new).
  2. Remove the default host names from the CRM configuration on the first SMW.
    In the following commands, replace smw1-default with the default (pre-configured) host name of the first SMW. Replace smw2-default with the default host name of the second SMW.
    smw1-new# crm node delete smw1-default
    INFO: node smw1-default not found by crm_node
    INFO: node smw1-default deleted                 =====> deleted
    
    smw1-new# crm node delete smw2-default
    INFO: node smw2-default not found by crm_node
    INFO: node smw2-default deleted                 =====> deleted

    For each command, ignore the first message that the node is not found. The second message confirms that the node has been deleted.

  3. Restart Pacemaker on the first SMW.
    smw1-new# systemctl restart pacemaker
  4. Power on the second SMW and wait for it to come up.
    After the system powers on, the prompt displays the new host name (for example, smw2-new).
  5. Copy the synchronization files /etc/csync2/csync2.cfg and /etc/csync2/csync2_cray.cfg from the first SMW to the second SMW. In the following commands, replace smw2-new with the actual host name of the second SMW.
    smw1-new# scp /etc/csync2/csync2.cfg smw2-new:/etc/csync2/ 
    smw1-new# scp /etc/csync2/csync2_cray.cfg smw2-new:/etc/csync2/
  6. Synchronize the csync files between the first SMW and the second SMW.
    smw1-new# csync2 -xv

    If all files are synchronized successfully, csync2 will finish with no errors.

  7. Copy the localtime file on the second SMW if the time zone was changed on both SMWs. .
    Put the SMW time zone setting where the cabinet and blade controllers can access it. Execute the following command on the second SMW.
    smw2-new# cp -p /etc/localtime /opt/tftpboot/localtime