Posts Tagged VMWare

Unable to apply DRS resource settings on host

I noticed this error message appearing on one of my ESX hosts, I had an issue that day and I had to manage it directly using vSphere client.

The answer is simple, ssh to the ESX host and run the command service-mgmt-vmware restart, that resolved my issue.

,

Leave a comment

Cannot create a quiesced snapshot because the create snapshot operation exceeded the time limit for holding off I/O in the frozen virtual machine.

That was a persistent error every time the Vmware Data Recovery appliance tries to take a snapshot of the server for backup.

I had to make sure VSS provider exists by running vssadmin list providers on the effected server, also listening all VSS writers and making sure none of them is reporting an error (by running the command vssadmin list writers)

Make sure MS VSS service set to start manually and the COM+ System Application set to start automatically and it is running.

If the above doesn’t resolve the issue, re-install Vmware tools on the server to re-register VSS.

,

Leave a comment

Error modifying a Template created prior to ESX upgrade from 4 to 4.1

I have had no issues with modifying templates within our VMWare environment until our upgrade to ESX 4.1. Since then all our templates errored with:

CallPropertyCollector.RetrieveContents” for object “propertyCollector” on vCenter Server “VCentreServer” failed.

A simple step to correct the issue would be to delete the template from Inventory and re-add it again. This should clear this message and give you back the control of your template.

,

1 Comment

Unable to access file since it is locked by System

This has happened few times with one of our Vmware Data Recovery appliances running on VSphere. I have shut down the appliance, as it became unresponsive while still performing a backup of some VM’s into a Windows share.

After forcing the shutdown, the appliance wouldn’t power on again, I kept getting the message “Unable to access file <unspecified filename> since it is locked by System“. I searched long and hard, people were talking about rebooting the ESX host.

I found a simpler solution, if you have forced the shutdown of the vDR appliance, some of the VM’s harddisks would still be attached to the appliance and this could be checked and confirmed by editing the setting on the vDR within vSphere client. Normally vDR has only one harddisk attached to it unless you have mounted more harddisks for backup purposes. By removing these extra harddisks from the vDR, the appliance would power on again.

That same error would occur if you are trying to delete a snapshot attached to a VM while vmdk file(s) of that VM is mounted to a vDR. Removing the mounted volumes from vDR would release the handle on those disks and enable you to delete the snapshot successfully.

,

Leave a comment

Updating vMA

VMware release patches and updates for VSphere Management Assistant appliance, in order to apply those updates:

# sudo vma-update scan
# sudo vma-update update

,

Leave a comment

Migrating standard VMware switch network to a distributed switch

  We have recently upgraded our VMware VSphere license structure to Enterprise Plus, we had to plan carefully our migration process without disrupting any of our live services. The migration was very easy especially if at least one redundant physical nic exist on each of the ESX hosts. 

Each of the Service Console and VMkerenel ports can be migrated on each host through the Configuration tab > Networking > Distributed Virtual Switch. Manage Virtual Adapters > Add > Migrate existing virtual network adapters, you will need to make sure you have a dv port group already setup before you attempt the migration. ESX will not be shown as disconnected even if your Vswitch had one physical interface. Manage Virtual Adapters > Add > Migrate existing virtual network adapters, you will need to make sure you have a dv port group already setup before you attempt the migration. ESX will not be shown as disconnected even if your Vswitch had one physical interface.

, ,

Leave a comment