Friday, December 17, 2010

Installing VMware vCM 5.4 and trying to collect vCenter data, what version of PowerShell do I have installed?

 

PowerShell 1.0

$Host.Version

Major Minor Build Revision
----- ----- ----- --------
1 0 0 0


PowerShell 2.0 (Windows 7 - 2008)



$Host.Version
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1

Wednesday, December 8, 2010

VDR backups failing due to error -390 ( cannot quiesce virtual machine)

This has been a frustrating error that started out of nowhere. Suddenly the backups of one of my VM's just stopped working. This VM does not do alot of transactions, not does it generate alot of disk activity. The error messages tend to suggest that. However, I tried powering down the VM to get the snapshot to work so the backup would complete, that worked as an interrum solution. Long term I moved the VM to other LUNS, I tried going from think to thick provisioned, that didn't help either. Finally got it fixed, I uninstalled the VMW tools, then reinstalled the tools with a 'custom' install and unchecked the option for VSS (from a suggestion I read). This seems to have fixed the issue and the online backup is running right now for the first time in a long time.

Monday, December 6, 2010

Consolidate VMDK disks

I have a VM with snapshots exported from lab manager, so I am using the vmware-vdiskmanager to consolidate my 14 or so linked clones/snapshots to one flat file.  the vmware-vdiskmanager can be found in server or workstation installations, it’s not in the path, you have to go to the directory to find it.

vmware-vdiskmanager -r 015495-2008R2.vmdk -t 2 2008R2.vmdk