4.1.8 Migrating BM Standby SOAM to VM

Perform the following procedure to migrate BM Standby SOAM to VM.
  1. Remove standby SOAM from topology.
    1. Login to Active SDS NOAM GUI.
    2. Navigate to Status & Manage from Main Menu, then select HA.
    3. To change standby SOAM HA state to OOS, perform the following steps:
      1. Navigate to Status & Manage from Main Menu, then select HA.
      2. Click Edit and change Max Allowed HA Role of Standby SOAM to OOS.
    4. To remove the standby SOAM from SOAM Server group, perform the following steps:
      1. Navigate to Configuration from Main Menu, then select Server Groups.
      2. Select Soam (Level B) Server Group and click Edit.
      3. Uncheck Standby Soam from Server Group and click OK.
    5. Navigate to Configuration from Main Menu, then select Servers and select Standby SOAM and click Delete.
  2. Shutdown standby SOAM by running the following command:
    sudo shutdown -h now
  3. Install OL8 and KVM on the shutdown BM server.

    Note:

    For information on installing OL8 and KVM, refer to SDS Installation on OL8 and KVM section in SDS Cloud Installation Guide.
  4. Create vSDS 9.0.1 VM.

    Note:

    Create SOAM VM where Active NOAM VM is created.
  5. Assign XMI IP to new vSDS 9.0.1.
    • To configure netmask and XMI IP address values, run the following command:
      sudo /usr/TKLC/plat/bin/netAdm set --onboot=yes --netmask=<netmask> --device=eth0 --address=<IP address>
  6. Export and run TKLCConfigData.sh file of Standby SOAM.
    1. Login to VIP IP of the SDS 9.0.X Active NOAM VM.
    2. Navigate to Configuration from Main Menu, then select Servers.
    3. Click Insert.
    4. Add the following details for SOAM server:
      • Enter SOAM hostname
      • Update Role as System OAM
      • Hardware Profile as SDS Cloud Guest
      • Configure XMI and IMI IP's and NTP server IP
    5. Click Ok.
    6. Select the required newly created 9.0.X vSDS SOAM VM server, which was created in the previous step.
    7. Click Export, to export server configuration file to the file management folder on the Active NOAM.
    8. Now ssh to Active SDS 9.0.X NOAM and copy TKLCConfigData.<hostname>.sh file to newly created vSDS 9.0.X SOAM. After copying the file wait for 5 minutes.
      cd $FILE_MGMT_AREA
      sudo scp TKLCConfigData.<hostname>.sh admusr@<XMI IP of newly added vSDS 9.0.X SOAM>:/var/tmp/TKLCConfigData.sh
    9. SSH to newly added vSDS 9.0.X SOAM IP and verify the /var/TKLC/appw/logs/Process/install.log log file for successfully running of TKLCConfigData.sh file. You can run following command to check logs.
      sudo tail -f /var/TKLC/appw/logs/Process/install.log
      Output:
      + sed -i s/WALLET_KEY_TO_BE_REPLACED_DURING_SERVER_EXPORT/bc332acff044aa6bcc7871c0742b0b89abd658efc23549acc70d857279a1ee3bb31e04f2e85fcc50fe2fad0c6aa69d3596ecb68f84983b44d7805d98a994ad96/g/usr/TKLC/appworks/prod/maint/loaders/install/postInstall/load.AppworksSecConfig
      + /usr/sbin/chpasswd
      ++ aw.wallet credential get tpdProvd tpdProvd
      + /usr/TKLC/appworks/sbin/updateMylogincnf
      Imysql: [Warning] Using a password on the command line interface can be insecure.
      Imysql: [Warning] Using a password on the command line interface can be insecure.
      + pm.kill apwSoapServer cmsoapa
      + /bin/touch /var/TKLC/appw/TKLCinitcfg
      + /bin/sleep 1
      [SUCCESS] script completed successfully!
    10. Wait for 10 minutes for server to configure with the IP configuration, then reboot the VM using sudo init 6 command on CLI.
    11. Navigate to Configuration from Main Menu, then select Server Groups.
    12. Select the SOAM(Level B) Server group and click Edit.
    13. Select the newly added vSDS 9.0.X SOAM to add to the SOAM Server group, then click Ok to save the changes and wait for 5 minutes.
    14. If the Max Allowed HA Role of newly added vSDS 9.0.X Soam is not Active then navigate to Status & Manage from Main Menu, then select HA and change Max Allowed HA Role of that server to Active by clicking Edit.
    15. SSH to Standby SDS 9.0.X SOAM.
    16. Run the following commands to disable the upgrade barrier feature:
      iset -fvalue=1 IdbParamDef where "param='IdbDisableUpgBarrier'"
      sudo init 6
    17. Login to Active vSDS Noam GUI.
    18. Navigate to Status & Manage from Main Menu, then select Server and select Standby SOAM and click Restart.

    After switching over, the Standby vSDS 9.0.X VM will be Active and 8.6.X SDS BM NOAM will be Standby. Repeat the steps in Migrating BM Standby SOAM to VM to migrate the 8.6.X BM standby SOAM to 9.0.X.