2.2.1 Replacement of a DP Server
Pre-Condition:
- DP server has stopped processing traffic
- It has been determined that the DP server is defective and needs replacement
Prepare for VM replacement
- Replace a DP Server:
- Identify the DP server that needs to be replaced:
Hostname: VM DP server hostname
- Identify the DP server that needs to be replaced:
- Make DP server’s Max Allowed HA Role “OOS” so it does not become active:
- From the SDS GUI, navigate to Status & Manage and HA.
- Select the DP server that needs to be replaced.
- Change its Max Allowed HA Role to "OOS". So it does not become active and click Ok.
- Remove DP server from the server group:
- From the SDS GUI, navigate to Configuration and Server Groups.
- Select DP server’s server group and click Edit.
- Move DP server out of the server group and click Ok.
- Replace VM For VMWare based deployments:
- Open the cloud client of your choice, for example, vSphere Client and locate the defective DP server VM.
- Power down DP server VM and remove it from the inventory or disk.
For more information, see section 2.2 “Creating SDS Guests (VMware)” from Oracle Communications SDS Cloud Installation Guide.
. - For KVM or OpenStack based deployments:
- Run the following command to log in to the OpenStack control node:
$ ssh admusr@node - Run the following command to power down defective DP server VM and remove it from the inventory or disk:
$ nova delete <VM Name>For more information, see section 2.3, “Creating SDS Guests from OVA (KVM or OpenStack)” from Oracle Communications SDS Cloud Installation Guide.
- Run the following command to log in to the OpenStack control node:
- For OVM-S/OVM-M based deployments:
- Run the following command to log in to the command line interface of the OVM-M:
OVM> ssh -l admin <OVM-M IP> -p 10000Example:[root@manager01 ~]# ssh -l admin 10.240.16.138 -p 10000 admin@10.240.16.138's password: - Run the below command to power down SDS VM(s):
OVM> stop Vm name=<VM Name>Note:
Wait for the VM to have the state stopped. - Run the below command to remove the VM from the inventory or disk:
OVM> delete Vm name=<VM Name>Note:
Repeat steps 2 and 3 for all the failed VMs. - See, section 2.4, “Creating SDS Guests from OVA (OVM-S or OVM-M)” from Oracle Communications SDS Cloud Installation Guide.
- Run the following command to log in to the command line interface of the OVM-M:
- Prepare the new DP SOAM server:
- See procedure in section 3.8 "DP Installation (All DP-SOAM Sites)" steps 5 to 10 from Oracle Communications SDS Cloud Installation Guide.
- Add DP SOAM server to the server group and validate pairing:
- Perform the below procedures in sequence on the new DP SOAM server from Oracle Communications SDS Cloud Installation Guide:
- Section 3.8, step 2 "Adding DP Server to the SDS Server Group"
- Section 3.8, step 4 "Adding DP Server to the SDS Server Group"
- Perform the below procedures in sequence on the new DP SOAM server from Oracle Communications SDS Cloud Installation Guide:
Post-Condition
DP SOAM is back in service.