VMware – Invalid Virtual Machine

I received a email from one of my higher authorities to backup one of the ERP servers data, reformat it and keep it ready for re-installation of application.

The server was used for testing purpose, and am well aware of these people’s reaction and baseless pinpoints, oh you didn’t backup this, and that and oh what happened to the file blah blah blah….

How can one (sysadmin’s) defend in such a situation, well here am sharing my experience as well the proactive measures adopted in backing up the system.

It would have been simple, just copy the data (excluding system files) from servers internal drive (all partitions) to external hdd and reformat the server.
But i wanted to adopt a different method of backup, as well the traditional backup.

Hence i backed up the entire physical machine (see the pic at the end for the machine type and model) using VMware Converter (P2V – Physical to Virtual backup) to be imported into VMware Server version 2.0.1 build 156745. The conversion was successful, but when i tried to import the virtual machine i received the following error:

After searching through vmware forum and inspite of adopting the suggestions recommended in fixing the similar error other peers had faced the import failed. Finally i found another suggestion (thanks tech.alexi of petri.co.il) though omgili search.

It was the encoding problem in the .vmx file, i changed it from .encoding = “windows-1252 to .encoding = “windows-1256 and lo the machine started without any glitch.

Note: The VMware Server was hosted on Windows 2k3 Server Ent. Edn 32 bit

Physical Host

Vmware Host 

Note: All the critical information revealing the organization data are concealed in the pics due to security measures.

What happens after P2V of Domain Member Windows 2K3 R2 STD x64 Server..?

Objective: proof of concept testbed to check the feasibility of P2V

Having used virtualization technology from free to use products (VMware Server, Citrix XenServer), always wanted to check the feasibility of P2V specially domain member windows server.

Well, today i achieved that with VMware’s vCenter Converter Standalone and VMware Server (ver 2.0.1, build 156745) running on Windows Server 2003 Enterprise Edition x86 R2 SP2.

I converted one of the physical server (h/w: IBM System x3550) to virtual server, running Oracle application server on Win2K3 STD x64 R2 edition platform. After P2V migration tested and verified the integrity of unique machine SID and Windows Domain computer account ObjectSID with the exception of MAC address.

below are the details:

pMachine Domain ObjectSID (AdExplorer)

vMachine Domain ObjectSID

pMachine ID: (psgetsid)
SID for \\TRWEBP2:

vMachine ID: (psgetsid)
SID for \\TRWEBP2:



Note: It was tested to check the above mention objective, no other test was run after P2V migration.
         Need to test the same with Citrix XenServer and will eventually post the same.

VMware and common performance myths

Courtesy: blogs.zdnet.com

Rich McDougall and Scott Drummand, performance gurus over at VMware, presented a fantastic review of some of the performance testing VMware as been doing at the VMware analyst day. I posted something about the findings of that research in the post, Is VMware busting the virtualization tax myth. I’ve just gotten an impressive update.

read on…

How to Increase your VMware Hard Disk

Increase your Virtual machine’s disk capacity

From windows:

  • Power off the virtual machine
  • go to cmd, cd to path where the virtual machine resides
  • type following command
    • D:\Virtual Machines\xp>”c:\Program Files\VMware\VMware Server\vmware-vdiskmanager.exe” -x 6gb “d:\Virtual Machines\xp\Windows XP Professional.vmdk”
    • note: in above example the virtual machine path and disk filename varies according to your own settings
  • This will take some time, and once complete the application will give you some sizing messages.

Now you need to expand the capacity of the disk to take advantage of its new size. If the disk is the system volume you will need to mount the disk in a second VM and expand it from there. If its not a system volume do it within the virtual machine it belongs to.
To expand the size of a virtual disk, and the virtual disk is partitioned, you will need to use a third-party utility to resize the expanded partitions.
Examples of third-party utilities include:

Partition Magic http://www.symantec.com/norton/products/overview.jsp?pcid=sp&pvid=pm80
System Rescue CD http://www.sysresccd.org/Main_Pagep
GParted LiveCD http://gparted.sourceforge.net/livecd.php

Here i used GParted liveCD expanded the volume, dont create another partition from the extended size.

thats its folks.