Category: VMware (ESX / vSphere)

VMware – Virtual Machine Consolidation Needed.

One of the virtual machine was not responding and was unable to power on the machine. When check on alarm, there was a message stating “Virtual Machine Consolidation Needed”.

In order to consolidate virtual machine disk, right click on the virtual machine, navigate to snapshot and choose consolidate.

After the consolidation is over machine will be able to power on.


1. Consolidation needed due to multiple snapshots.
2. Removal of snapshot takes long time considering the size of the disk.
3. If consolidation is stopped, it may lead to data corruption.
4. Virtual machine performance may be degraded during snapshot.


Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , ,

How to cancel VMware snapshot process?

Sometimes, snapshot takes huge time to get completed. We may then require to cancel the task to save time. However, we do not have any option to cancel the task in vsphere.

Please follow below steps to cancel the task.

1. Find the ESX hostname on which the virtual machine resides.
2. Establish a SSH session to the ESX host.
3. Execute the command to see all the process.
ps | grep vmx
4. Locate the Parent Process ID (the second column) for the hung VM.
5. Execute the command to kill the task
kill *parent process ID* to end the process (excluding *).

Be very careful, killing different process can harm the ESX.


Filed under: VMware (ESX / vSphere)Tagged with: , , , , ,

How to generate offline logs and ADU diagnostics report for HP Servers.

Most often, when a case is raised with HP support team, we are asked to generate logs and send it to HP. Recently, I had an issue with an ESX server and suspecting a faulty controller. HP asked us to generate and send offline logs and ADU diagnostics report.

Generating requested logs can be achieved using the Smart CD. However, how to save and move files to send it to the HP Team was bit challenging.

Initially tried mounting a a folder from the ILO console and to save the logs in to the folder recently mounted. Bad luck that did not work.

Later, thought the concept of virtual floppy to achieve the task.

Last year we created a floppy image to insert HDD drivers during Windows 2000 installation

Create floppy image to insert drivers during 2000 OS deployment.

The same tool BFI (Build Floppy Image) was very handy again today. You would be able to download the file from here -> BFI’s home page.

Reboot and boot the server using Smart CD.

1. Create an empty floppy image using the below syntax

Syntax: bfi -f=[Location to store image with image name]

Ex: bfi -f=c:\temp\floppyimg.img

2. Mount the same floppy image using the ILO connected to the server.

Follow below steps to generate the logs

A. Survey Report.
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In survey Tab
Select Category >> ALL.
Select View Level >> Advanced.
And save the report.

B. Offline Test Report (3 Loop).
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In Test Tab
Test mode à Unattended.
Number of loops à 3.
Devices à All.
Select Complete test and click the begin test option and save the report after completing the test.

Note : Please uncheck the Storage / hard disk in test

C. Offline IML logs.
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Select Diagnose Server.
5. In Log tab
Select Integrated Management Log and save the report.

D. Offline ADU report:
1. Boot the server with Smart Start CD/ Bootable pen drive smart start
2. Select language – English.
3. Select Maintain server.
4. Diagnose array Option.
5. Save the report.

You may now save the reports to the virtual floppy and once done unmount and map it to any other working server ILO. You can now login to the server and easily copy the contents from A: to any destination 🙂




Filed under: HP (Servers/products), VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , ,

How to rename virtual disk in VMware.

There is no GUI option available to rename virtual disk in vmware. There was a request to add few RDM luns to a virtual machine and those disk to be renamed as per the standard they have (Combinatioin of LUN ID, storage Pool ID and disk size).

This request was accomplised using the steps followed below:

1. Add the provided RDM to the virtual machine.
2. Note the datastore where the disks were stored.
3. Remove those RDM from the virtual machine.
4. Find the ESX host on which the virtul machine resides.
5. Connect to the ESX host using Putty.
6. Navigate to the directory containing virtual machine (notes in Step 2).
7. cd /vmfs/volumes/DatastoreName/originalname
8. Once the required file is found, execute the below command
# vmkfstools -E “originalname.vmdk” “newname.vmdk”
9. Again add the vmdk uing an existing disk option.


Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)

VMware VCA Certification Voucher Free!

Recently VMware announced the new certification track – VMware Certified Associate (VCA).

The certification is available for multiple tracks: VCA-Cloud, VCA-WM and VCA-DCV.

This certification fits in below the normal VCP exam.

Highlights of VCA.

1. Doesn’t need an exam center can be taken online from home/office.

2. Requirement is of common internet browser.

3. Has got free eLearning preparation materials.

4. There are currently three VCA certifications available à VCA-Cloud, VCA-WM and VCA-DCV.

5. It’s officially VMware certified!

As an introduction offer VMware is giving you 50% discount on the exam.

However, we now have an offer to make it 100% discount using an additional exam voucher “VCA13GKN” (*Valid for very Limited period).


Reference and more information visit: VMware Certified Associate




Filed under: VMware (ESX / vSphere)Tagged with: , , , , , , ,

Physical to VM Conversion working slow using VMware converter.

Recently, I was doing a hot P2V of Windows 2003 server from HP Hardware to a virtual machine. It was bad experience that the data transfer was slow of about 64 KB/s showing 7 days remaining.

Many times, the task was cancelled and re-initiated, however with no success. tried disabling McAfee and backup services.

Later, I found an VMware KB article on disabling the SSL which fixed my issue with the data transfer of about 7-8 MB/s.

Please follow the below steps to disable SSL:-

1 – Locate “converter-worker.xml” on a machine on which the VMware Converter is installed and open in a text editor.
2 – Locate the tag pair<useSsl></useSsl>. It is located inside the<nfc>tag and has a value oftrue.
3 – Change the SSL Key <useSsl> true </useSsl> to false (“<useSsl>false</useSsl>”).
4 – Save and close the file.
5 – Restart “VMware vCenter Converter Standalone Worker” service.

“converter-worker.xml” This file is location in the following locations
Windows Vista, Windows 7, Windows 2008 %ALLUSERSPROFILE%\VMware\VMware vCenter Converter Standalone
Windows XP, Windows 2003, Windows 2000 %ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone



Source: Thanks to VMware Knowledge Base.


Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , ,

How to enable SSH for the ESXi Server?

Enabling SSH for the ESXi Shell
By default, you cannot access the ESXi Shell using a Secure Shell client. You can enable SSH access from the direct console.
To enable SSH access in the direct console
1. At the direct console of the ESXi host, press F2 and provide credentials when prompted.
2. Scroll to Troubleshooting Options, and press Enter.
3. Select Enable SSH and press Enter once. On the left, Enable SSH changes to Disable SSH. On the right, SSH is Disabled changes to SSH is Enabled.
4. Press Esc until you return to the main direct console screen.
You can enable remote command execution from the vSphere Client.

To enable SSH from the vSphere Client
1. Select the host and click the Configuration tab.
2. Click Security Profile in the Software panel.
3. In the Services section, click Properties.
4. Select SSH and click Options.
5. Change the SSH options.
■ To temporarily start or stop the service, click the Start or Stop button.
■ To enable SSH permanently, click Start and stop with host. The change takes effect the next time you reboot the host.
6. Click OK.
After you have enabled SSH, you can use an SSH client to log in to the ESXi Shell and run ESXi Shell commands.

Accessing the ESXi Shell with SSH
If SSH is enabled on your ESXi host, you can use an SSH client to run commands on that shell.
To access the ESXi Shell with SSH
1. Open an SSH client.
2. Specify the IP address or domain name of the ESXi host.Precise directions vary depending on the SSH client you use. See vendor documentation and support.
3. Provide credentials when prompted.


Filed under: VMware (ESX / vSphere)Tagged with: , , , , ,

How to change blocksize (file size limit) on VMFS3 filesystem

If you are trying to create a VM with disk drive size larger than 256 you will get this error :

File is larger than the maximum size supported by datastore.

This happens because by default VMware ESX running VMFS3 uses 1M blocksize with a limitation of 256 GB disk size for the guest virtual machine. However it is possible to change the block size.

To changethe block size on a VMFS3 filesystem you can use vmkfstools command from command line ro reformat the parition. The vmkfstools command can be run on ESX server :

#vmkfstools –create vmfs3 –blocksize 2M vmhba1:0:0:2

Filed under: VMware (ESX / vSphere)Tagged with: , ,

How to add a datastore in VMware ESX Farm.

How to add a datastore in VMware Farm.

Let me share on how to add a new datastore. Please follow the below steps.

1. Choose the ESX Server.
2. Click on “Configurations”.
3. Select “Storage”.
4. Click on “Add Storage”.
5. Choose storage type “LUN/Disk”.
6. Select the LUN and click Next.
7. Type the name for the LUN.
8. Select the maximum file size.
9. Click on “Finish”.
10. Wait for “Create VMFS Datastore” task to be completed.

Now you will be able to view the datastore or else click on rescan to view the recently created datastore.

Filed under: VMware (ESX / vSphere)Tagged with: , ,