After upgrading vCenter this functionality is no longer enabled by default. Please perform the following steps to enable rename of files upon successful Storage vMotion.
- Log into the vSphere Client as an Administrator
- Click Administration > vCenter Server Settings
- Click Advanced Settings
- Add this advanced parameter key:
- provisioning.relocate.enableRename
- Set the value to: true
- Click Add
- Click OK
- Restart the VMware VirtualCenter Server service for the changes to take effect
If you are configuring a cluster with less than 2 datastores, you will receive an HA warning “The number of heartbeat datastores for host is 1, which is less than required: 2” You can add an option to the HA Advanced Options to supress this warning.
- Log in to vCenter Server
- Right-click the cluster and click Edit Settings
- Click vSphere HA > Advanced Options
- Under Option, add an entry for das.ignoreInsufficientHbDatastore
- Under Value, type true
- Click Cluster Features
- De-select Turn on vSphere HA and click OK
- Wait for all the hosts in the cluster to re-configure HA, then …
This is a great script to keep handy. If you have multiple RDM’s on a VM and need to get the NAA_ID for them the below PowerCLI command will get you that information.
1Get-VM VMNAME| Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName,CapacityGB | fl
If you then need to match the SCSI virtual disk to the Guest OS this is a great article on how to do so.
Read More