- DSR BareMetal to Cloud Migration Guide
- Migration
- New Hardware and Existing IP Addresses
- Migrating BM Standby SOAM to VM
4.3.8 Migrating BM Standby SOAM to VM
Perform the following procedure to migrate BM Standby SOAM to
VM.
- Remove standby SOAM from topology.
- Log in to Active DSR NOAM GUI.
- Navigate to Status & Manage from Main Menu, then select HA.
- To change standby SOAM HA state to OOS, perform the
following steps:
- Navigate to Status & Manage from Main Menu, then select HA.
- Click Edit and change Max Allowed HA Role of Standby SOAM to OOS.
- To remove the standby SOAM from SOAM Server group, perform
the following steps:
- Navigate to Configuration from Main Menu, then select Server Groups.
- Select SOAM (Level B) Server Group and click Edit.
- Uncheck Standby SOAM from Server Group and click OK.
- Navigate to Configuration from Main Menu, then select Servers and select Standby SOAM and click Delete.
- Shutdown standby SOAM by running the following command:
sudo shutdown -h now
- Create vDSR 9.0.1 VM.
Note:
Create SOAM VM where Active NOAM VM is created. - Assign XMI IP to new vDSR 9.0.1 VM.
- 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>
- To configure netmask and XMI IP address values, run the
following
command:
- Export and run
TKLCConfigData.sh
file of Standby SOAM.- Log in to VIP IP of the DSR 9.0.X Active NOAM VM.
- Navigate to Configuration from Main Menu, then select Servers.
- Click Insert.
- Add the following details for SOAM server:
- Enter SOAM hostname
- Update Role as System OAM
- Hardware Profile as DSR Guest
- Configure XMI and IMI IP's and NTP server IP
- Click Ok.
- Select the required standby SOAM server, which was created in the previous step.
- Click Export, to export server configuration file to the file management folder on the Active NOAM.
- Now ssh to Active DSR 9.0.X NOAM and copy
TKLCConfigData.<hostname>.sh
file to the newly created vDSR 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 new vDSR 9.0.X SOAM VM>:/var/tmp/TKLCConfigData.sh
- SSH to the new vDSR 9.0.X SOAM VM IP and verify the
/var/TKLC/appw/logs/Process/install.log
log file for successfully running ofTKLCConfigData.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!
- Wait for 10 minutes for server to configure with the IP
configuration, then reboot the VM using
sudo init 6
command on CLI. - Log in to Active DSR NOAM GUI using VIP.
- Navigate to Configuration from Main Menu, then select Server Groups.
- Select the SOAM(Level B) Server group and click Edit.
- Select the new vDSR 9.0.X SOAM VM to add to the SOAM Server
group, then click Ok to save the changes and wait
for 5 minutes.
Note:
After adding new vDSR 9.0.X SOAM VM to SOAM Server group it is configured as Standby SOAM. Post that the newly added vDSR 9.0.X SOAM VM will be considered as Standby SOAM. - If the Max Allowed HA Role of the new vDSR 9.0.X SOAM VM is not Active then navigate to Status & Manage from Main Menu, then select HA and change Max Allowed HA Role of the new vDSR 9.0.X SOAM VM to Active.
- ssh to Standby DSR 9.0.X SOAM.
- Run the following commands to disable the upgrade barrier
feature:
iset -fvalue=1 IdbParamDef where "param='IdbDisableUpgBarrier'" sudo init 6
- Log in to Active vDSR Noam GUI.
- Navigate to Status & Manage from Main Menu, then select Server and select Standby SOAM and click Restart.
- ssh to Standby 9.0.1 vDSR SOAM 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:
This step is not required if none of the DSR applications are activated or enabled. - To switchover the role of Active SOAM to standby SOAM and standby SOAM to
Active SOAM, perform the following steps:
- Log in to DSR 9.0.1 Active NOAM VIP.
- Navigate to Status & Manage from Main Menu, then select HA and change Max Allowed HA Role of Active SOAM HA state to Standby.
- After switching over, the Standby vDSR 9.0.X VM will be Active and 8.6.X DSR 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.