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 …
When setting up a cluster for testing you may not have 2 nics to use for management. to bypass the warning you can configure HA to not alert you for this issue.
To perform the steps in the c# client.
- From the VMware Infrastructure Client, right-click on the cluster and click Edit Settings.
- Select vSphere HA and click Advanced Options.
- In the Options column, enter das.ignoreRedundantNetWarning
- In the Value column, type true
- Click OK.
- Right-click the host and click Reconfigure for vSphere HA. This reconfigures HA.
To perform the steps in the webclient.
- From the vSphere Web Client, right click …
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 MoreWhile continuing to build out my lab for VCAP-DCA today I had to deploy the vMA (vSphere Management Assistant). Upon deployment i tried to SSH to it and unfortunately was not able to. By default SSH is turned off, perform the steps below to enable it.
- Logon to vMA via a Console Session
- Run
- ‘sudo vi /etc/hosts.allow’
- Scroll to the very bottom and type i to insert content into the file.
- On the last line add
- ‘sshd: ALL: ALLOW’
Read MoreI was working today on configuring NFS/Openfiler in my lab and came across an issue that my nested ESXi host’s couldn’t talk over the VSS (Standard Switch) I created. Upon further research when using nested ESXi you need to enable “Promiscuous Mode” on the VSS to allow the traffic to pass.
Read More