Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Category Archive Virtualization VMWare

Add a Virtual machine to the inventory in VMware vSphere 5.5 (ESXi)

May 29, 2014 Comments Off on Add a Virtual machine to the inventory in VMware vSphere 5.5 (ESXi) By MANOJ AGARWAL

Add a Virtual machine to the inventory in VMware vSphere 5.5 (ESXi)

To add an exiting virtual machine to an inventory, you need to locate files for this virtual machine in the datastore.  In the figure given below, in datastore named ‘datastore1’, there exists a virtual machine of Windows Server 2008 R2 x64.

Point to the vmx file by clicking on it with the mouse, and then right click on this file.  A popup is shown as given in figure below.  Click on the first option: ‘Add to Inventory’.

Once you click on the option ‘Add to Inventory’, the next screen is displayed where you need to enter a name for this virtual machine.  Be careful in naming it, so that you can distinguish this virtual machine from other virutal machines in inventory.  Click on Next button.

You need to specify the resource pool name to which you want to add this virtual machine.  The resource pools if available/defined are listed in the box.  Select the resource pool and click on Next button.  If you have not defined any resource pool so far, you can still click on Next button.  You may create resource pools and assign virtual machines towards it later from Inventory tab.

The next screen is ‘Ready to Complete’.  Click on Finish button.  The virtual machine will be added to the inventory.

The following figure shows that the virtual machine is added to the inventory.  The name of the virtual machine is same as you have defined in previous steps and is ‘Windows Server 2008 R2 x64’ as shown in figure below.

Removing a virtual machine from the inventory:

If you want to remove this virtual machine from the inventory, try the following steps:

  • Right click on the name of the virtual machine in inventory view.
  • From the pop up menu, click on the second last option: ‘Remove from inventory’.
  • The virtual machine will be removed from inventory, but will remain on the disk inside datastore.


, ,

How to install free VMware vSphere 5.5 (ESXi 5.5) license

May 20, 2014 Comments Off on How to install free VMware vSphere 5.5 (ESXi 5.5) license By MANOJ AGARWAL

How to install free ESXi license

  •  Connect to ESXi 5.5 host using VMware vSphere Client.
  • Click on Configuration tab as shown in figure below:


  • Clicking on Configuration tab shows configuration options towards Hardware and Software.  Hardware options are shown in top table and Software options are shown beneath it.  Under Software, the first option is Licensed Features as shown in figure below, click on this option.

  • Clicking on Licensed Features, we get information towards license and an Edit button on the right side as shown in the figure below.  Click on Edit…


  • Click on the button: Enter Key… under the option: Assign a new license key to this host.  A new pop up dialog appears, that asks for New license key.  Enter the license key you got from VMware while downloading the free vSphere Hypervisor 5.5 and then click on OK button.


  • Once the license is applied, the following information is shown:
    • Product: VMware vSphere 5 Hypervisor (unlimited cores per CPU)
    • Capacity: Unlimited CPUs
    • Available:  Unlimited CPUs
    • Expires: Never
  • This is shown in the figure given below:


The above figure shows Expires: Never, it means the evaluation mode is no more as the license has been applied successfully.



VMware vSphere 5.5 Hypervisor (Free ESXi) limitations

May 14, 2014 Comments Off on VMware vSphere 5.5 Hypervisor (Free ESXi) limitations By MANOJ AGARWAL

VMware vSphere 5.5 Hypervisor (Free ESXi) limitations

VMware vSphere 5.5 hypervisor free version specifications are as follows:

  • The limitation of 32GB RAM limit per server/host has been removed from the free hypervisor.
  • It supports unlimited number of physical CPUs per host.
  • It supports unlimited number of cores per physical CPU.
  • It supports maximum 8vCPUs per virtual machine.
  • Operating system support: Microsoft OS (18 versions), Linux (54 versions), Mac OS X 10, Solaris, Free BSD etc.

The following figure illustrates that on applying a free license towards VMware vSphere 5.5 Hypervisor, it shows no limit on RAM, as it was shown with former versions (RAM limit: 32GB), and it shows support for unlimited physical CPUs and unlimited cores per CPU.

To check VMware Hardware compability matrix, use the following link:



To check VMware Software compability matrix, use the following link:



For detailed VMware vSphere 5.5 Documentation, use the following link:



VMware ‘I moved it’ ‘I copied it’ meaning

May 13, 2014 Comments Off on VMware ‘I moved it’ ‘I copied it’ meaning By MANOJ AGARWAL

VMware ‘I moved it’ ‘I copied it’ meaning

I have a virtual machine made in VMware Workstation.  When I move this virtual machine to a new location, and power on the machine, I get a message : “The virtual machine might have been moved or copied”, as shown in figure below:

When we chose the option button: “I moved it”, it means that the virtual machine has been copied to a different location and it can start with same uuid and mac address for the virtual machine.  If you have copied the virtual machine and wish to access it along with the original virtual machine simultaneously, then there could be a conflict due to same uuid, mac address and network settings.  Thus, if you have copied the virtual machine, chose the option button: “I copied it” so that a new uuid and mac address is assigned to the machine and you need to configure the network to avoid any conflicts.


For a detailed reference on Changing or Keeping a UUID for a moved virtual machine, you may refer the following link from VMWare Knowledge base:


VMWare Workstation powering on virtual machine error: “Failed to lock the file”

May 12, 2014 Comments Off on VMWare Workstation powering on virtual machine error: “Failed to lock the file” By MANOJ AGARWAL

VMWare Workstation powering on virtual machine error: “Failed to lock the file”

When I powered on a Virtual machine in VMWare Workstation 10, I got this error: “Failed to lock the file”.  The problem occurred when the PC was powered off due to some power issues while the Virtual machine was up and running.  When I tried to power on the Virtual machine, it gave this error and halted.

The screenshot of the error is as follows:

This is due the fact that the files are in use by some other application and the locks on these files are still active.  Then, I checked the files in the filesystem for this virtual machine and found some lock files, like the ones given below:


Red Hat Linux.vmdk.lck

Red Hat Linux.vmdk.lck

I deleted these lock files from the Virtual machine filesystem directory and tried to boot the virtual machine.

It worked fine and the virtual machine booted successfully.


Download VMWare vSphere Client 5.5 and 5.5 update 1

May 12, 2014 Comments Off on Download VMWare vSphere Client 5.5 and 5.5 update 1 By MANOJ AGARWAL

Download VMWare vSphere Client 5.5 and 5.5 update 1

VMWare vSphere 5.5 can be adminstered remotely using VMWare vSphere Client 5.5.  Once you install vSphere, you can connect to it remotely using vSphere Client.

You can download it directly from the following location:

Download VMWare vSphere Client

1. VMWare vSphere Cient 5.5.0
2. VMWare vSphere Client 5.5 Update 1

After downloading it, install it.  The installation is a series of dialog boxes and is quite straight forward.  Once installation is done, to connect to the remote host, enter the hostname or the IP address of the server followed by username and password.

This connects you to the remote vSphere server.  Now you can adminster this Server and Virtual machines running on it using this client interface.



“Device eth0 does not seem to be present” error when we move or clone a CentOS 6.3 virtual machine in vSphere

May 11, 2014 Comments Off on “Device eth0 does not seem to be present” error when we move or clone a CentOS 6.3 virtual machine in vSphere By MANOJ AGARWAL

When we move or clone a CentOS 6.3 Virtual machine made in vSphere5.5, and boot the machine once it is moved/cloned, we get the following error:

“Device eth0 does not seem to be present”.

This is due the fact that whenever we move or clone a Virtual machine, vSphere changes the MAC Address and CentOS renames the NIC from eth0 to eth1.  CentOS stores the network interface hardware configuration using udev.  The file is:


Open this file in vi editor and delete the old entry for eth0 and edit the new entry for eth1 to eth0.

Then you need to edit the following file:


Record the HWADDR from the 70-persistent-net.rules configuration file and replace it with the existing HWADDR in ifcfg-eth0 configuration file.

Reboot the machine.


Enable SSH access on VMWare ESXi 5.5

April 23, 2014 Comments Off on Enable SSH access on VMWare ESXi 5.5 By MANOJ AGARWAL

Enable SSH access on VMWare ESXi 5.5

SSH access on ESXi 5.5 is disabled by default.  To enable SSH access, press F2 key for System Customization, the following screen is displayed.  Click on Troubleshooting options.

In Troubleshooting Mode Options, the first option available is Enable ESXi Shell.  ESXi shell is used for some maintenance that can’t be handled with CLI interface. It is disabled by default.  We can enable access towards this ESXi shell.  Click on Enable ESXi Shell and press Enter.

Enable ESXi Shell option is changed to Disable ESXi Shell option and on the right side of the screen, it is shown that ESXi Shell is Enabled.

Next option available is Enable SSH.  SSH is disabled by Default and it is shown in the right side of the screen.  Select Enable SSH option and press Enter.

SSH is now enabled and the status is shown on the right side of the screen.  SSH default port is 22.  If we need to define a custom port, then we need to edit sshd_config file and set Port parameter with a value other than 22.

Restart Management Agents will disconnect all current remote sessions.  Select this option and press Enter.

A confirmation dialog is shown to confirm restarting managment agent.  It displays a warning that Restarting the management agents will disconnect all remote management software.  This will affect all running services.  Collection of extra troubleshooting information can take a noticeable amount of time.  This is followed by an option to Collect extra troubleshooting information.  Check this box. if we need this extra information.  Press F11 to confirm.

After pressing F11, it restarts the management agents and the status is shown as Done as shown in figure below.

, ,

How to install VMware vSphere Hypervisor 5.5

April 21, 2014 Comments Off on How to install VMware vSphere Hypervisor 5.5 By MANOJ AGARWAL

How to install VMware vSphere Hypervisor 5.5
vSphere Hypervisor 5.5 is available for download.  It can be downloaded from:


After you have downloaded the hypervisor, follow the instructions give below to install it.

# Burn the downloaded file in a CD/DVD.
# Insert the CD and change bios settings towards boot from CD/DVD.
# Power on the machine and boot from CD/DVD.  The following screen is shown:

Select the first option: ESXi-5.5.0-20130302001-standard installer, if you are installing it from the CD/DVD, and if it has already been installed and CD/DVD is still in, then you need to select second option: Boot from local disk.

Since we are installing it for the first time, select the first option (default selected) and press enter key to continue.  The following screen is shown.

Once the installer is loaded, the following screen is displayed.  It shows information about ESXi release – VMware ESXi 5.5.0 (VMKernel Release Build 1623387), Processors and Memory information.

The progress bar indicates the progress until it is loaded completely.  The following figure is another snapshot that shows its progress.

The following screen displays a confirmation that the systems shown in VMware’s Compatibility guide are the one’s that are supported by ESXi.  The compatibility for hardware and software can be checked before its installation.  The link is: http://www.vmware.com/resources/compatibility

Press Enter to continue.  It will then start scanning for available devices as shown in figure below.

Once available devices are scanned,  It shows the next screen for Disk selection.  This server contains a local hard disk attached to it of 250GB.  It is shown here under Storage Device, click on Enter to continue installing it on this device.

The next screen shows the options available to select keyboard layout.  Click on US Default or the appropriate regional keyboard from the given list and press Enter to continue.

Next, it asks for root user password.  Enter a root password with combination of alphabets, numbers and special characters and must be seven characters long.

Once you enter the password and re-enter to confirm the password, you will get a message beneath it- Passwords match.  Press Enter to continue.

It displays a message : Scanning system… and will take a few seconds, and once scanning is done, it shows the next screen to confirm install.

The Confirm Install screen shows that the installer is configured on the shown Disk and gives a warning that the disk will be repartitioned.  To confirm the installation, press F11 key.

It starts the installation and its progress can be seen using the progress bar as shown below.

Another screenshot to show the installation progress, when it reached 65%.

Once the installation is done, it shows the following screen, Installation Complete.  In the description it specifies that this installation is a trial/evaluation mode for 60 days.  You need to register it for full version of this product.  When you download the ISO image from the link given above, it already provides you with a free license key, that should be used to register it.  You don’t have to wait for 60 days to register it.  The moment, you install it, you will get a license key for registering it.

Remove the CD/DVD from the drive and reboot.

It shows the following screen: Rebooting Server.

When the server starts booting from the disk,  you will see the following screen. It shows Loading VMware ESXi screen.  At the bottom left you will see <Enter: Boot> option, it means, press Enter key to boot the server.  Another message below it is: Automatic boot in n seconds… , which means that the server will boot automatically after n seconds, if you don’t press Enter key.

On the bottom right corner, you will see two key-combinations.  SHIFT+O and SHIFT+R.  SHIFT+O is used to edit the boot options and SHIFT+R is used to enter in Recovery mode. Press enter to continue.

The server starts booting and the following screen is shown:

Another screenshot is shown below to show its progress.

Once the server is up, press F2 function key, it authenticates by shown the login screen as shown below:

Enter login name as root and password that you have specified during installation and press Enter key to continue.  The following screen is shown:

You need to configure the network first.  Click on Configure Management Network option and the following screen is shown.

Click on IP configuration, when you get the option to chose between DHCP and Static IP address.  Select: Set static IP address and network configuration and give the IP Address, Subnet Mask and Default Gateway.  If you don’t have any, you need to consult your Network Administrator.

Select IPv6 option and the following screen is shown.  You may select or de-select IPv6 depending on what network settings are available, you may need to contact your Network Administrator for the same.  If you want to disable IPv6, uncheck the option: Enable IPv6 as shown below.

Under DNS configuration, set the DNS servers and the Hostname for your server.  The Primary DNS server, Alternate DNS server and Hostname may be given as shown in the figure below.

To specify any custom DNS suffixes, you may enter them here as shown below:

To save the changes, press Y to apply changes and restart management network.

Once you are done, the server will be on the given network and you can start using it.  To access it, you need VMware Infrastructure Client that can be downloaded from the following link:

, ,

Installation of CentOS 6.4 in VMWare Workstation 9.0.2

May 16, 2013 Comments Off on Installation of CentOS 6.4 in VMWare Workstation 9.0.2 By MANOJ AGARWAL

Installation of CentOS 6.4 in VMWare Workstation 9.0.2

We have seen in our previous post how to Create a CentOS 6.4 Virtual machine in VMWare Workstation 9.0.2. Now we will look into the installation steps of CentOS 6.4 operating system inside VMWare Workstation.

In Virtual machine ‘Edit settings’ option, chose CD/DVD option to select the installation Disk/ISO images from CentOS.  Remember to check the option ‘Connect at power on’, so that the CD/DVD/ISO is connected to the machine when we boot it.  When we start the Virtual machine, we get the Figure-1 as shown below.  Select ‘Install or upgrade an existing system’ to do a fresh installation of Centos 6.4.


In the next step, it asks to do a media test before beginning the installation.  We may chose to go for a media test to verify the installation Disk/ISO image, or we may skip this test.  Select ‘Skip’ as shown in figure-2.


In the next figurre, it displays the logo of CentOS 6, as shown in figure-3.


In the next step, we need to chose the language that we would like to use during the installation process.  The default selection is Engish (English).  If we need to select any different language, we may do the selection from the given list, else we may leave the default language and clieck Next as shown in figure-4.


We have to now select the appropriate keyboard based on regional settings.  The keyboard, by default, is shown as U.S. English.  If we prefer ‘United Kingdom’, we may chose that or any other option from the given list, based on our keyboard.  We may leave the default selection as ‘U.S. English’ for now and click ‘Next’ as shown in figure-5.


In the next step, we need to specify the storage device for this installation.  We may chose ‘Basic Storage Device’, that is by default, or we may chose ‘Specialized Storage Devices’ for SAN storage or other such specialized storage.  Chose the default option and click on ‘Next’ as shown in figure-6.


Next, we get a warning for Storage Device, that it may contain data, we may chose to ‘Discard any data’ that is  in it, or we may chose to keep the data, if we think, the virtual disk contains some data.  In this case, it is a new virtual disk, so we may chose ‘Yes, discard any data’, also we need to check the option ‘Apply my choice to all devices with undetected partitions or filesystems’ to make it applicable as shown in figure-7.


Specify the hostname for this machine.  We may chose any hostname, for this installation, we may use ‘centos64’ as the hostname as shown in figure-8.  We may also use a fully qualified domain name as hostname.  We may Configure network at this stage or leave it for now, as we can do it later once installation is done.  Click on ‘Next’ to continue.


Next, we need to select the timezone, we may chose the appropriate timezone, in this case, ‘Asis/Kolkata’ as shown in figure-9 and click on ‘Next’ to continue.


We need to give a password for ‘root’ account.  ‘root’ account is the administrator account in CentOS.  Try to give a strong password and click on ‘Next’ to continue as shown in figure-10.


The next screen provides the options to use disk space.  We may chose to ‘Use all space’, which means that all partitions will be removed and the complete disk will be available for use.  We may also chose to replace only the linux system, and leave other partitions such as VFAT or FAT32 as such.  We may chose to ‘Shrink current system’ to make room for new installation.  We may chose not to touch the existing partitioning layout and use only the free space for new installation.  We may also chose to create a custom layout as per our requirement.  As it is a new virtual disk, click on ‘Use all space’ as shown in figure-11 and click ‘Next’ to continue.


Next step is to create a partitioning layout for this new installation.  We may chose to create a Volume Group and Logical Volumes inside this Volume Group.  We have taken a virtual disk size of 100GB, so we can allocate this size among various Physical partitions, Volume Groups and Logical Volumes.  The next screen ‘Please select a Device’ as shown in figure-12 is used for this.


To take an example, we may define the following partitioning layout:

Filesystem Mounted on Size
 /dev/sda1 /boot 500mb
 vg_centos64 100000mb
   lv_var /var  20000mb
   lv_htdocs /htdocs  35000mb
   lv_root /  10000mb
   lv_home /home  3000mb
   lv_tmp /tmp  3000mb
   lv_mondo /mondo  10000mb


After creating the structure as per Table-1, we get the figure-13 as shown below:


Clicking on Next button shows the figure-14, that gives Format warnings that /dev/sda will be formatted and all data inside it will be destroyed.  Click on Format to continue.


The next screen Figure-15 shows the warning about Writing storage configuration to disk. It displays a message that the partitioning options will be written to disk and data on it will be lost.  Click on ‘Write changes to disk’ button.


The  next figure-16 shows that the formatting is being done on the disk.


The next figure-17 shows the options to set Boot loader operating system, It will be installed on /dev/sda and on vg_centos64-lv_root.  We also get an option to define a boot loader password, if required.  Click on ‘Next’ to continue.


On clicking ‘Next’ button, it starts to process the installation and tries to retrieve the installation information for CentOS as shown in figure-18.


This step is important as we can define in this step what to install.  The default installation is Minimal install.  We may chose other options such as Basic server, Database server, Web server etc. based on our requirement.  Chosing these options decide what packages will be installed and what not.  We can also do a Customized installation, now or later, where we may chose what packages should be installed from the list.  We may chose Minimal install option for our example case and click on ‘Next’ as shown in figure-19.


When we click on ‘Next’ button, we see the message ‘Installation starting’ and the installation process starts for minimal installation of CentOS as shown in figure-20.


After the installation is finished, we get the following screen as shown in figure-21, that your CentOS installation is complete.  Click on ‘Reboot’ to restart the virtual machine.



x Close

Like Us On Facebook

You cannot copy content of this page.