Archive for category VMWare

Report on Exchange 2010 Server RU level

I found a nice script written to gather your environment Exchange environment RU level.



Leave a comment

Network has no associated network protocol profile

vMA-error Cannot initialize property ‘vami.netmask0.vSphere_Management_Assistant_(vMA)’ Network has no associated network protocol.

This is a message we have received while powering up our vMA template. The reason for this is that there isn’t an IP pool defined for the network adapter where vMA was plugged in to.

The solution is simple, click on your Cluster node within your vSphere client – click on IP Pools tab and then create an IP pool associating it with your physical NIC. This would assign an identity to your network adapter.

After creating the IP pool, you should be able to power on your appliance.

1 Comment

The resource “datastore_name” is in use while attempting to delete that data store

This weird behavior was observed on two data stores which we were planning to delete/unmounted from all our ESX/ESXi hosts.

The first error flagged “Can’t remove datastore ‘datastore_name‘ because Storage I/O Control is enabled on it. Correct it and re-try the operation”. So we tried disabling SIOC through vSphere client, the process never completed and got stuck at 4 – 14 %. This process didn’t flag any errors, but I had to increase the SIOC log to the maximum in order to find where the issue is.

To enable Storage I/O log, on each host > configuration > Advanced Settings, change Misc.SIOControlLogLevel to 7 and restart the SIOC on the host by using the following command through a SSH session

[For ESXi] /etc/init.d/storageRM restart

[For ESX] /etc/init.d/vmware-late restart

Error and warning messages can be traced in /var/log/messages


It became apparent that the SIOC wasn’t running on one of the hosts which caused the whole process of deleting a data store to fail.

, ,

Leave a comment

Practical Powershell

Practical Powershell

I have been trying to link the information I get from VMware vSphere and the Compellent SAN to be able to trace VM activity within the storage layer end. I found a good post on the above link which gives a good link between the two systems using Powershell.

, ,

Leave a comment

VMware Snapshot Tracking

Like many of you, I am frustrated with the information I get while a snapshot or several snapshots are being deleted. If you use the GUI to monitor this process then you won’t have much luck trying to determine at what stage the snapshot deletion process is at, the task would stick at 99% for minutes and maybe hours depending on the number of snapshots and their sizes.

There is no way to estimate time left, the only option is to SSH to the ESX or ESXi host, browse to the datastore where that specific machine files do reside. And run the following command

# ls –lhut

This should display files in the following format:

-rw——- 1 root root 40.0G Sep 6 08:27 ServerName-000001-delta.vmdk

This would arrange files according to their access time, starting from most recent. This method should give an indication of which .vmdk file the deletion process is active on. Each snapshot file has 6 digit number attached to it to indicate its position within the snapshot chain (e.g. ServerName-000001-delta.vmdk, ServerName-000002-delta.vmdk, ServerName-000003-delta.vmdk, etc). the deletion process goes through each file in sequence starting with ServerName-000001-delta.vmdk.

Leave a comment

Host cannot download files from VMware vCenter Update Manager patch store

After upgrading our vCentre server to the latest patch (vCentre 4.1.0-345042), our Update Manager failed to update or even attempt to scan any of our hosts with the error “Host cannot download files from VMware vCenter Update Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details.”

I have searched on the web for the solution to this error and people were mentioning double checking DNS entries on each of the hosts, but that never changed in my case.

I went back to our vCentre server and checked each vCentre server component version installed and it turned out that VUM wasn’t running the latest version. After upgrading and rebooting the machine, ESX host and VM scan and updates were working back again.


Leave a comment

Want to become an ESXi expert? here is how…

VMWare has released a three hour training video plus a free ebook to take you through the new features of ESXi 4.1, it’s worth looking at for VMware and system administrators.

I hope you find this training useful.


Leave a comment