Category Archives: VMware
Here are the following steps to know which VM has VMware tool installed.
1 – Login on ESX/ESXi server
2 – Run ESX top command
3 – Press ‘m’ to get into memory. Press ‘f’ to get into field selection window. Press ‘i’ to select MCTL?.
Note – Make sure MCTLSZ is 0. If it is not, check out VM is ballooning or not from vClient.
4 – Check out MCTL? columns, “N” represents that VMware tool is not installed on that particular VM and if its represent “Y”, it means VMware Tool is installed.
Please see the screen below.
What is OVF –
As per vmware , OVF (Open Virtualization Format), new Virtualization standard which promise to deliver cross-platform vendor independent distribution framework.
In addition, the OVF is a standards-based, portable format that allows the user to deploy this virtual machine in any hypervisor that supports OVF.
VMDK v/s OVF
VMDK is a file format that only encodes a single virtual disk from a virtual machine. A VMDK does not contain information about the virtual hardware of a machine, such as the CPU, memory, disk, and network information. A virtual machine may include multiple virtual disks or VMDKs. An administrator who wishes to deploy a virtual disk must then configure all of this information, often manually, using incomplete documentation.
The OVF format, on the other hand, provides a complete specification of the virtual machine. This includes the full list of required virtual disks plus the required virtual hardware configuration, including CPU, memory, networking, and storage.
I am planning to create a web server with minimum requirement like RAM-256, single processor and small disk size which can hold the system configuration file along with HTTP package.
What happened when I need to add disk, I can add disk at run time and increase RAM and change the processor accordingly after importing the web server OVF on VMware environment.
The following change are required in order to work with HTTPD.
Add nic on OVF web server, configure IP and change the same IP setting on httpd.conf LISTEN parameter
like Listen x.x.x.x:80
Steps for OVF installation and configuration –
1 – Installation –
Download – VMware-ovftool-1.0.0-166674-win.i386 from Vmware.com website , installed it on windows system. I have installed it on windows 2008 DC.
Configure VMware ovftool installation path on exported PATH environmental variable so that it can be available throughout the system
Right Click on my computer - Properties Advance system settings Environmental Variables
System variables - select path - click on Edit button
Add the following on
C:Program Files (x86)VMwareVMware OVF Tool
Note – OVFTool installation path may be different so choose accordingly.
2 – Configuration –
1 – Configure a folder where newly created ovf files can reside.
in my example here is the path –
2 – login on CMD and run the following command
C:Program Files (x86)VMwareVMware OVF Tool>ovftool.exe d:vmmachinesopenfilerOpenFiler.vmx e:openfilerovfopenfiler.ovf
Opening VMX source: d:vmmachinesopenfilerOpenFiler.vmx
Opening OVF target: e:openfilerovfopenfiler.ovf
Disk Transfer Completed
C:Program Files (x86)VMwareVMware OVF Tool>
3- Check if OVF file is successfully created or not –
Volume in drive E is Satya
Volume Serial Number is 0CC5-C258
Directory of E:openfilerovf
11/26/2011 03:03 PM .
11/26/2011 03:03 PM ..
11/26/2011 03:03 PM 384,115,200 openfiler-disk1.vmdk
11/26/2011 03:03 PM 131 openfiler.mf
11/26/2011 03:03 PM 3,864 openfiler.ovf
3 File(s) 384,119,195 bytes
2 Dir(s) 32,896,319,488 bytes free
Note– I have taken openfiler virtual machine for creating OVF format machine which can be deploy in any hypervisor that supports OVF.