Friday, August 28, 2009

How to run ESX4 as VM on VMWare Server 2.0

I know that virtualize an hypervisor is so strange. But i needed to understood esx4 functionality. Here are steps to test it on virtual environment. Note that is only for demo or training purpose.

  • Launch VMWare Server Home Page
  • Create New Virtual Machine with following option
        • Name: ESX4
        • Guest Operating System : Linux operating system Other Linux (64-bit)
        • CPU Count: 1
        • Memory Size: 2048MB (minimum requirements)
        • Hard Disk: 100GB
        • Network Adapter: Bridged
        • CD/DVD Drive: Use a Physical Drive
        • Floppy Drive: Don’t Add a Floppy Drive
        • USB Controller: Don’t Add a USB Controller

image

  • Select Advanced tab on Configure VM and add following parameters (for further information about these parameters look at Running Nested VMs by Jim Mattson)

image

  • Select Console tab and start virtual machine
  • When prompting click the console screen to view the virtual machine
  • From Devices menu, select CD/DVD Drive and select disconnect on Server
  • From Devices menu, select CD/DVD Drive and select Connect to Disk Image File (.iso)…

image

  • Select Yes when prompted and connect to the ESX installation ISO file.
  • Click on virtual machine and press enter to start installation process.

image

  • Follow any on-screen instruction to complete installation.
  • Once installation is complete you are able to test your new VMWare ESX4.

Wednesday, August 26, 2009

vSphere Web Access

After installing ESX4, Web Access service isn’t active. The vmware-webAccess service is off by default in ESX4.

To start it run the command

service vmware-webAccess start

Also, to check it run

service vmware-webAccess status

image

To enable VMware webAccess upon reboot, run the command:

chkconfig --level 345 vmware-webAccess on

To check run state, run the command

chkconfig --list vmware-webAccess

The output may be

vmware-webAccess 0:off 1:off 2:off 3:on 4:on 5:on 6:off