Technical white paper Page 31
Post controller upgrade
After the controller upgrade process outlined in this document has been completed and the ESX/ESXi servers are online, missing datastores
and inaccessible VMs might be listed in the vSphere inventory. To add them back into inventory so they are available again, follow these
steps:
Inventory datastores and VMFS VMs
Refer to the following VMware documentation hyperlinks for details on these processes.
Entering and Exiting Maintenance Mode
Resignature a VMFS Datastore
Adding and Removing VMs
1. Take the ESX/ESXi host out of maintenance mode.
2. Remove all VMs that are listed as inaccessible in the vSphere inventory.
3. Assign a new signature to the disk/LUN by running the Add Storage wizard.
4. Select the disk/LUN based on the information saved before the controller upgrade. The new signature adds the datastore back into the
inventory with a prefix name of snap . This is because the original name is still reserved by vSphere.
5. Repeat Steps 3 and 4 for each disk/LUN that needs to be re-inventoried.
6. Re-inventory the VMs from the signature datastores. (Refer to the VMware document Adding and Removing Virtual Machines.)
Note
To restore the original datastore names, remove all the VMs from the inventory again and then rename the datastores. Follow Step 4 to
re-inventory the VMs again.
Inventory RDM virtual machines
Refer to the following VMware documentation hyperlinks for specific details on how to inventory RDM VMs:
VMware KB (1026256)
Adding and Removing Virtual Machines
For each RDM VM, use the appropriate command:
To create a virtual RDM, enter the vmkfstools -r command.
To create a physical RDM, enter the vmkfstools -z command.
These commands recreate the descriptor file (example.vmdk) and mapping file (example-rdm.vmdk).
1. Refer to the information that you saved before upgrading the controller regarding the VMs using RDMs. Then use this information to
modify the VMs accordingly. For example, to create a pass-through raw disk mapping file for a physical RDM, run the following
commands from the ESX/ESXi console:
a. Change the directory to VM directory by running the command: cd /vmfs/volumes/DATASTORE_NAME/VM_NAME/
b. Enter the following command to generate a new descriptor and mapping file:
vmkfstools -z /vmfs/devices/disks/naa.600c0ff00011cadd1fa0835101000000
VM_NAME.vmdk
2. Repeat Steps a and b for all RDM disks.
3. Add the VM back into inventory.