4.3.5 Migrating Standby BM NOAM to VM NOAM

Perform the following procedure to migrate Standby BM NOAM to VM NOAM.
  1. Remove standby NOAM from topology.
    1. Log in to Active DSR NOAM GUI.
    2. Navigate to Status & Manage from Main Menu, then select HA.
    3. To change standby NOAM 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 NOAM to OOS.
    4. To remove the standby NOAM from NOAM Server group, perform the following steps:
      1. Navigate to Configuration from Main Menu, then select Server Groups.
      2. Select Noam (Level A) Server Group and click Edit.
      3. Uncheck Standby Noam from Server Group and click OK.
    5. Navigate to Configuration from Main Menu, then select Servers and select Standby NOAM and click Delete.
  2. Shutdown standby NOAM by running the following command:
    sudo shutdown -h now
  3. Create vDSR 9.0.1 VM.
  4. Assign XMI IP to new vDSR 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>
  5. Add Standby NOAM server in the server group again on vDSR 9.0.1 Active NOAM, by performing the following steps:
    1. Log in to the XMI IP of the Active vDSR 9.0.1 VM server.
    2. Navigate to Configuration from Main Menu, then select Servers.
    3. Click Insert.
    4. Add the following details for NOAM server:
      • Enter NOAM hostname
      • Update Role as Network OAM&P
      • Hardware Profile as DSR Guest
      • Configure XMI and IMI IP's and NTP server IP
    5. Click Ok.
    6. Navigate to Configuration from Main Menu, then select Servers.
    7. Select new Standby NOAM server.
    8. Click Export to export server configuration file to filemgmt folder on the Active vDSR NOAM.
    9. Now ssh to Active DSR 9.0.X NOAM and follow the below steps to copy TKLCConfigData.<hostname>.sh to newly created Standby vDSR 9.0.1 NOAM. After copying the file, wait for 5 minutes.
      cd $FILE_MGMT_AREA
      sudo scp TKLCConfigData.<hostname>.sh admusr@<XMI IP of Standby NOAM>:/var/tmp/TKLCConfigData.sh
    10. Verify the /var/TKLC/appw/logs/Process/install.log log file on Standby NOAM for successfully running the 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!
    11. Navigate to Configuration from Main Menu, then select Server Groups.
    12. Select the NOAM(Level A) Server group and click Edit.
    13. Select the standby NOAM to add to the NOAM Server group, then click Ok to save the changes and wait for 5 minutes.
    14. If the Max Allowed HA Role of Standby NOAM is not Active, then navigate to Status & Manage from Main Menu, then select HA and change Max Allowed HA Role of Standby NOAM to Active.
      ssh to Standby DSR 9.0.X Noam
    15. Run the following commands to disable the upgrade barrier feature:
      iset -fvalue=1 IdbParamDef where "param='IdbDisableUpgBarrier'"
      sudo init 6
    16. Log in to Active vDSR NOAM GUI.
    17. Navigate to Status & Manage from Main Menu, then select Server and select Standby NOAM and click Restart.
  6. To verify servers, perform the following steps:
    1. Log in to the VIP of the DSR 9.0.X NOAM VM.
    2. Navigate to Status & Manage from Main Menu, then select Servers and verify if the screen displays data for all the servers in the topology.
  7. ssh to Standby 9.0.1 vDSR and run the following command, if any DSR application (such as PCA, FABR or RBAR) is activated and enabled on DSR.
    /usr/TKLC/dsr/bin/migrateNonReplicatedData

    Note:

    • If this verification fails, contact My Oracle Support.
    • The TKLCConfigData.sh file must be copied using SCP from Active vDSR 9.0.1 NOAM server to the new vDSR 9.0.1 that is required to be configured as standby NOAM.