For virtual machines that have been failed over that have raw device mappings a separate additional process needs to be followed to replace the old raw device mapping with the new one. When ActiveDR recovers the volumes in the target pod they all have new serial numbers (they are different volumes with the same data). Raw Device Mappings are a way to present an array block volume directly to a virtual machine. A virtual disk pointer file is created that tells the VM the path and address of the physical (raw) device. A literal mapping of a raw device. When that is failed over, the Raw Device Mapping (RDM) is no longer correct--it maps to a volume serial number that does not exist on the target pod.
If you power-on a VM with a RDM that points to a FlashArray volume you will see an error that says "Unable to enumerate all disks."
If you look at the virtual disks, one (or more) will report 0 capacity--these are missing RDMs.
The first step is to remove the pointers. Find the virtual machine, click on the Actions dropdown and choose Edit Settings. Find the RDM virtual disk listing and click the x that appears on the right to remove it. Ensure you select Delete files from datastore to ensure the mapping file is removed.
|
1) Select the VM actions dropdown and choose Edit Settings |
2) Remove the RDM pointer by click the X in the circle next to the hard disk listing |
3) Choose the Delete files from datastore option and click OK. |
|---|---|---|
|
|
|
|
Now add the RDM back. The FlashArray volume will be the same name as the source RDM, so look for the volume in the newly promoted pod and identify the serial number.
Now back in the vSphere Client, click on the Actions dropdown of the virtual machine and choose Edit Settings and then click Add New Device then RDM Disk. Choose the RDMs that matches the serial number and click OK and OK again to add the RDM.
|
1) Select the VM actions dropdown and choose Edit Settings |
2) Choose Add New Device then RDM Disk |
3) Pick the correct volume and click OK. |
|---|---|---|
|
|
|
|