Archive

Archive for the ‘VMware’ Category

vSphere convert VM IDE disk to SCSI disk

June 8th, 2010 31 comments

I recently read a post by Duncan Epping over at Yellow Bricks where he tried to resize the VMDK of a Windows XP VM running on ESX\vSphere. When he used the VI Client to try and resize the VMDK he was actually unable to because it was ghosted out. By coincidence I had experienced the same problem a week before Duncan after building 5 Windows XP VMs for stress testing of a new SharePoint website. As Duncan mentioned, the only other time I had seen this happen was when a snapshot existed for the disk that needed to be resized. Quickly checking the VM's settings I noticed that by default, when you create a Virtual Machine using the 'Microsoft Windows XP Professional..." Guest Operating System container it actually attaches an IDE disk rather than a SCSI disk (Server 2003 and 2008 Guest Operating System containers use a SCSI disk by default.)

Read more...

Categories: VMware, Windows XP Tags: , , ,

KiXtart script to shrink VMDK for smaller VCB backups

April 13th, 2010 1 comment

When I first started using VMware ESX I was testing VMware Consolidated Backup (VCB) to dump my virtual machines to a staging area before being copied offsite. I noticed that one of the VMs had a VMDK attached that as far as the OS (Windows Server 2003) was concerned with had all of the data deleted on that volume. After initiating a VCB dump (backup) on the VM I noticed that the VMDK that was dumped to my staging area strangely appeared to contain data. The VMDK size was considerably larger than it should have been for a disk that Windows reported as containing zero data.

Read more...

Categories: Hardware, Scripting, VMware Tags: ,

vSphere host disconnects from vCenter host not responding

February 17th, 2010 3 comments

When vSphere 4 became available I was keen to upgrade all of my hosts and vCenter servers to start testing features like Fault Tolerance, Site Recovery Manager, and vCenter Linked Mode e.t.c. The host upgrade went smoothly using VMware Update Manager. Similarly, the upgrade of all vCenter servers was also without issue. A short while after, I needed to add RAM to a group of hosts and all was fine until I booted the first host post upgrading it's RAM.

Read more...

Categories: VMware Tags:

VMware VMotion CPU problem after vSphere upgrade

September 15th, 2009 3 comments

I wanted to install some DRAC 5 cards into each of my Dell PowerEdge 2900 VMware ESX hosts, so I decided to VMotion off the Virtual Machines onto other hosts in the cluster before shutting down the node. The first Virtual Machine migrated without a problem but when I tried a second I received an error stating the there was a CPU incompatibility between the host and the Virtual Machine.

Read more...

Categories: VMware Tags: , ,

VMware ESX vSphere resize disk

September 14th, 2009 47 comments

Every now and then I need to resize (usually extend/enlarge) a disk attached to a Virtual Machine. I have tried several methods to do this over the years (including combinations of VMware Converter, third party partition manager apps, diskpart etc) but none have been as efficient as the method I discovered during recent VMware training for my VCP4 exam.

Read more...

Categories: Hardware, VMware Tags: , ,

VMware VM hidden NIC and IP assigned to another adaptor

August 3rd, 2009 No comments

Post the upgrade of a VMware infrastructure from ESX 3.5 to vSphere 4, I encountered an issue when upgrading the Virtual Machines. I had already installed the latest VMware tools and after upgrading the hardware from version 4 to version 7 I wanted to remove the standard NIC attached to each Virtual Machine and attach the new vmxnet3 NIC.

Read more...

Categories: VMware Tags: ,

VMware VirtualCenter Server service VPXD fails to start

April 9th, 2009 2 comments

I have been using VMware ESX for quite a while now and while the technology is a brilliant concept every now and then I find a small problem or pitfall that always seems to bug me! I have a 3 node ESX cluster that I implemented in my work office and was working on configuring a 5 node cluster when I noticed an issue with VCenter (formally Virtual Center) that had occurred in both environments. It seemed that for no apparent reason when I rebooted the server running VCenter the 'VMware VirtualCenter Server' (or 'vpxd' windows service name) service failed to start. This was kind of annoying, more so knowing that the new 5 node setup was going to a datacenter where people would be less likely to spot that it hadn't started after the reboot of the server running VCenter!

Read more...

Categories: Registry, VMware Tags: ,

VMware ESX date bug fix

August 20th, 2008 1 comment

I use VMware ESX 3.5 and Virtual Center 2.5 since implementing it at my current workplace. Like many sysadmins I regularly keep on top of patching. I manually patch my ESX hosts when I see fit after pulling updates through Virtual Center. Subsequently, I recently applied the latest update (3.5 u2 or update 2) to all ESX hosts. As a frequent reader of The Register I was later surprised to learn of a bug where people had encountered issues when booting or VMotioning Virtual Machines on or after 12th August 2008.

Read more...

Categories: VMware Tags: ,