![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 2281894.1 : [PCA] How to Prepare a Compute Node for Motherboard Replacement
In this Document
Applies to:Oracle Virtual Compute Appliance X4-2 HardwarePrivate Cloud Appliance X5-2 Hardware Private Cloud Appliance X6-2 Server Upgrade Private Cloud Appliance - Version 2.0.5 and later Oracle Linux and Virtualization > Oracle Virtual Compute Appliance > Oracle Virtual Compute Appliance Software Information in this document applies to any platform. PurposeThe purpose of this document is to assist in preparation of a motherboard replacement on a PCA compute node. ScopeThe steps in this document will outline the customer’s responsibility to prepare for an onsite visit from a field engineer. This note makes the assumption that a motherboard replacement has already been recommended by Oracle via an existing Service Request. If you do not have a service request open, and you believe you may have a faulty motherboard on a compute node, please log a new Service Request using your PCA hardware Serial number and CSI. DetailsPrepare the compute node for ServiceThe following steps will need to be executed before your onsite visit. 1. Backup the OVM database.
2. List Custom networks for the compute node.
pca-admin list network ovcacnXXr1
3. Acknowledge Events via the OVM GUI
4. Disable provisioning
5. Check if node belongs to a tenant group (applicable to 2.2.1 and above only).
6. Shut down the node.
If the customer is requesting assistance from step 6, the following steps will need to be executed with guidance from support. Please do not provide steps to customer. a. From the VIP, login to OVM shell. [root@ovcamn05r1 /]# ovm_shell.sh -u admin -p Welcome1
OVM Shell: 3.2.11.775 Interactive Mode >>> from com.oracle.ovm.mgr.api import * >>> from com.oracle.ovm.mgr.api.event import * >>> from com.oracle.ovm.mgr.api.virtual import * >>> from com.oracle.ovm.mgr.api.physical import * >>> from com.oracle.ovm.mgr.api.physical.network import * >>> from com.oracle.ovm.mgr.api.physical.storage import * --- >>> b. Execute the below commands step by step in the OVM shell including parameter numbers in the field [ ] to choose the server to be removed: >>>ovmm = OvmClient.getOvmManager()
d. Load the foundry to have access to all objects in the model >>>fdry = ovmm.getFoundryContext()
e. Retrieves the server information >>>srvr = fdry.getServers()
f. Print all the servers present in your OVM setup >>>print srvr
g. Choose the server to be deleted from OVM by including the numbers in the field [ ],the numbering will be in the same order as they appear in the output of above command starting from 0. (For example: use [0] to select 1st server the above printed list, [1] to select 2nd server in the above printed list etc) >>>srvr = fdry.getServers()[x]
h. Check the server to be deleted is correctly selected >>>print srvr
i. Create a job to remove server from server pool >>>job = ovmm.createJob("Remove server from pool")
>>>job.begin() >>>fdry.deleteServerFromModelOnly(srvr) >>>job.commit() j. Use ^C to exit. >>> [Type control-C to exit]
[root@ovcamn06r1 ~]# Use the internal steps for step 5 to remove the node from node DB.
7. Delete the node from the server pool
If the customer requests assistance from step 7, please execute the following steps with the customer. Do not provide these instructions to the customer. The following steps should be followed for versions 2.2.X and above. Please see the 2.1.1 and below steps for non 2.2.X versions. Login to management node (MN) and execute the following commands to remove the downed CN from the PCA node database. Substitute XX below with the CN number: 1. Enable support mode. [root@ovcamn05r1 /]# export ORACLE_SUPPORT_MODE=True WARNING !!! PCA support CLI is ONLY allowed to be used by the Oracle PCA support team. It 2. Delete the node from DB PCA> delete nodedb-row ilom-ovcacnXXr1 Status: Success PCA> delete nodedb-row ovcacnXXr1 Status: Success 3. Execute a list compute node to ensure the node is removed from the node-db PCA> list compute-node
4. Remove support mode flag export ORACLE_SUPPORT_MODE=False
The following steps should be followed for versions 2.1.1 and below. Please ignore if previous steps have been followed. Login to management node (MN) and execute the following commands to remove the downed CN from the PCA node database. Substitute XX below with the CN number: 1. Execute the following command on the master management node. # ovca-node-db list mac | grep ovcacnXX
The output from the command above is used in the next two steps. Sample output: [root@ovcamn06r1 ~]# ovca-node-db list mac | grep ovcacn37
mac=00:10:e0:31:a7:f2 ip=192.168.4.21 link=00:10:e0:31:a7:f7 name=ovcacn37r1 type=compute state=RUNNING mac=00:10:e0:31:a7:f7 ip=192.168.4.121 link=00:10:e0:31:a7:f2 name=ilom-ovcacn37r1 type=ilom state=running In the sample above, 00:10:e0:31:a7:f2 is the <CN HOST mac address> for step 3 and 5 below.
2. Delete the relevant ILOM mac addresses # ovca-node-db delete mac=<CN ILOM mac address>
Example: [root@ovcamn06r1 ~]# ovca-node-db delete mac=00:10:e0:31:a7:f7
NODE: 00:10:e0:31:a7:f7 <<< DELETED
3. Delete the relevant HOST mac addresses # ovca-node-db delete mac=<CN HOST mac address>
Example: [root@ovcamn06r1 ~]# ovca-node-db delete mac=00:10:e0:31:a7:f2
NODE: 00:10:e0:31:a7:f2 <<< DELETED
4. Confirm the ILOM MAC is deleted by listing. # ovca-node-db list mac=<CN ILOM mac address>
Example: [root@ovcamn06r1 ~]# ovca-node-db list mac=00:10:e0:31:a7:f7
[root@ovcamn06r1 ~]#
5. Confirm the HOST MAC is deleted by listing. # ovca-node-db list mac=<CN HOST mac address>
Example: [root@ovcamn06r1 ~]# ovca-node-db list mac=00:10:e0:31:a7:f2
[root@ovcamn06r1 ~]# Replace the MotherboardOnce the filed engineer has arrived onsite to replace the motherboard, please wait for the service to be completed. Once completed please execute the post installation steps. 1. Re-enable compute node provisioning. PCA> list network <compute node name> PCA> add network <network name> <compute node name> References<NOTE:2256834.1> - Steps to Gracefully Shutdown and Power Off a Node in Oracle Private Cloud Appliance Prior to Maintenance<NOTE:1633452.1> - How to Replace an OVCA X3-2, OVCA X4-2, PCA X5-2 or PCA X6-2 upgrade Hardware Motherboard in a Compute Node <BUG:26486250> - PCA COMPUTE NODE FAILS TO PROVISION W/ PXE MEDIA FAILURE Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||
|