Virtual machines show two datastores in the summary tab

Reading Time: < 1 minute

You have migrated your virtual machines to new storage but find that the summary tab of the virtual machines shows two datastores within the vSphere Web Client and vSphere Client. You have checked the datastore and no data resides on the LUN.

Here are a couple of things you want to check,

1) The most obvious is to check whether there are ISO’s mounted to your servers

2) vSwap file. Does a vSwap file exist on the data store? browse the datastore and check if any vSwap files exist. If yes, a VMotion of the Virtual Machine migrates the vswap to the new location. If you’re moving VM’s to new storage, don’t forget to check your vSwap configuration, especially if you originally configured the vSwap location to reside on a different LUN. Ensure the vSwap file location has been reconfigured to point to new storage.

3) Check if any VMWare snapshots exist. If a VMWare snapshot was taken whilst an ISO was attached to the VM, this could be the issue. Remove the snapshot

Create a VMWare Cluster Step by Step

Reading Time: 3 minutes

1) Login to your VCenter server

2) Right click your data centre, or create a new data centre if one does not already exist, and then right click and select Create New Cluster

3) Click ‘Turn On vSphere HA’ and ‘Turn On vSphere DRS’ if you’re license covers both options. I prefer both options when I configure a VMWare environment. If it’s a production environment, DRS is a must.

4) Click next, I leave the default settings but requirements may be different depending on the solution

5) Again, I leave the defaults but requirements may be different depending on the solution

6) Click next, and again I leave the defaults unless there is a requirement to change. The below settings can also depend on the size of the VMWare environment. you may prefer the VMWare Solution to continue operating with more then one host failure.

7) Click next, and select your requirements for HA

8) Click next, and enable VM Monitoring Status if required. I leave this disabled due it not always being consistent. For example, if VMWare tools stops responding for some reason but the Virtual Machine was still up, the server could reboot if VMware Monitoring did not receive a response from VMWare tools. The feature may have been improved on in later versions of VMWare.

9) Click next and select EVC options.

10) Click next and configure vSwap location. I have already specified the vSwap file at the ESXi level.

11) Confirm your settings and click finish

12) Finally. go through the settings after the cluster has been created and configure Datastore heartbeat and any DRS rules you wish to apply. For example, you may prefer for a pair of clustered virtual servers to always remain on different ESXi hosts. This is where DRS rules would help.