VMware Virtual Infrastructure Test EnvironmentThis is a featured page

It is possible to create a complete VMware® Virtual Infrastructure 3.5 test environment on a single desktop or laptop. This self-contained environment can include multiple VMware ESX servers, a VirtualCenter server, and a storage appliance that are all running as VMs themselves. The ability to do VMware vMotion™ migration, Storage vMotion migration, VMware High Availability (VMware HA), and DRS within this test environment allows for a broad range of testing as well as evaluation and demo uses. This page will document how to set up such an environment on a laptop as well as provide an area for discussion and questions. This configuration is not supported by Dell, but is documented here for those who might be interested.

Physical Hardware


  • For an example test setup on a Dell Latitude™ D630 with 4 GB RAM and a 40 GB hard drive was used.

Host Software and Applications


  • Linux® SUSE® 6.5 or Microsoft® Windows® XP
  • VMware Workstation 6.5 Beta (build-91182)

ESX VMs Install

Using VMware Workstation, we are going to create two VMware ESX 3.5 virtual machines (VMs) with one vCPU, 1024 MB of RAM, one vNIC, and one Internet SCSI (iSCSI ) connection (software initiator) to connect our ESX servers to an iSCSI NAS appliance (openfiler) to enable vMotion, Storage vMotion, and DRS.

  • Open VMware Workstation and select File > New > Virtual Machine, and select Custom

screen1

  • Make sure that the VM hardware compatibility is for Workstation 5 and that you check the option ESX Server Compatible:

screen2


  • In the "Select a Guest Operation System" window, select Linux as a guest operating system and Red Hat Linux as the version. Click Next.
  • Select a name and location for your ESX VM and click Next.
  • In the Processor Configuration window select the number of processors (I have noticed that when I configure both ESX servers in my environment to used two processors the whole thing slows down) and click Next.
  • In the Memory for the Virtual Machine window select the memory for this VM (for example,1024 MB; you can add more later) and click Next.
  • In the Network Type window select "Use bridged networking" so you can have connectivity with other ESX servers in your environment and the host OS and click Next.
  • In the Select I/O Adapter Types window select LSI Logic SCSI Adapter.
  • In the Select a Disk Type window select SCSI Virtual disk type and click Next.
  • In the Specify Disk Capacity window select 8 GB of disk size and check "Allocate all disk space now." Click Next.
  • In the Specify Disk File window change the name to something more descriptive like, "esx1.vmdk," and click Finish.
  • After the virtual disk has been created close VMware Workstation, and use Notepad to open the VMX file for the created VM. Add the following lines:

ethernet0.virtualDev = "e1000"
ethernet0.connectionType = "bridged"
monitor_control.restrict_backdoor = TRUE
monitor_control.vt32 = TRUE
monitor.virtual_exec = "hardware"


  • Save the changes to the VMX file, and open VMware Workstation.
  • Edit Virtual Machine settings to the attached ESX binaries CD or ESX ISO file.

screen3

  • Proceed to install ESX as it was on a physical box.

screen4


  • When you finish the ESX Server installation, you see the ESX console OS window:

screen5


VirtualCenter VM


  • Create a Microsoft Windows Server 2003 Virtual Machine, and install VirtualCenter 2.5.
  • You can clone the fist ESX1 Server VM so that you can have two ESX servers in your environment to play around with vMotion, DRS, and so on.

Openfiler Storage NAS Appliance VM

  1. Go to http://www.openfiler.com/community/download/ and download the x86 ISO image
  2. Create an openfiler VM in to your VMWare Workstation

  • Open VMware Workstation and select file/new/Virtual Machine and select Custom
  • Make sure that the Virtual machine Hardware compatibility is for Workstation 6
  • On the "Select a Guest Operation System" window select Linux as a Guest operating system and Other Linux 2.6.x Kernel as Version. Click next
  • Select a name and location for your openfiler Virtual Machine and click next
  • On the "Processor Configuration" window select a single processor and click next
  • On the "Memory for the Virtual Machine" window select the memory for this virtual machine, e.g.1024MB and click next
  • O the "Network Type" select "Use bridged networking" and click next
  • On the "Select I/O Adapter Types" window select LSI Logic SCSI Adapter and click next
  • On the "Select a Disk Type" window select SCSI Virtual disk type and click nextOn the "Specify Disk Capacity" window select 20GB (this will help all the VMs) of disk size and check Allocate all disk space now. Click next
  • On the "Specify Disk File" window change the name to something more descriptive like "openfiler.vmdk" and click finish.
  • Edit openfiler virtual machine settings to make sure the CD-ROM device status is "connect at power on" and that under Connection we are using the openfiler ISO image we downloaded.
  • Power On openfiler VM and go thought the installation - it is very similar to ESX install - Make sure you assign an static IP address
  • Once the installation finish use a web browser to configure the appliance
screen6

  • Log on as openfiler (username) with password "password"
  • Select General tab and Local Networks
  • On the Local networks configuration, select a name for your ESX servers, give it a network IP, netmask and make sure the type is share, and finally click on the update button.
screen_7


  • Next, click the Volumes tab and then on Physical Storage Mgmt. and create a volume group.

screen_8

  • When the volume group is created we need to add it to a storage group under Volumes/Create New Volume tab (make sure that the Filesystem type is iSCSI).
screen9


  • iSCSI host access configuration for volumes is deny by default. Make sure you update the access to Allow.
  • Go to volumes/ List of Existing Volumes and click on edit under Properties.

screen_10

  • Configure the iSCSI CHAP Authentication for the new Volume.
  • And finally enable the iSCSI services under Services/Enable-Disable.


screen_11

We have completed all the steps we need to present the volume to our ESX servers.

The last step would be to enable the iSCSI software initiator in your ESX server to see our openfiler LUN.


No user avatar
TDA-James
Latest page update: made by TDA-James , Dec 4 2009, 4:34 PM EST (about this update About This Update TDA-James Edited by TDA-James

24 words added
24 words deleted

view changes

- complete history)
More Info: links to this page
Started By Thread Subject Replies Last Post
dhan_csn How to test vmotion in workstation 1 Nov 30 2009, 3:18 PM EST by KongY@Dell
Thread started: Nov 27 2009, 2:44 PM EST  Watch
Hi,

I am new for Virtualization hence I would like to test the all the feature of ESX before go for production.

Here is my scenario

I am having a single box with AMD Quad processor and 8GB of RAM & 260GB of SATA HDD.

I have installed Workstation6.5 latest build. In my test environment I created five VM’s listed below

VM1 --- Windows2003 DC with Virtual center2.5

VM2 ---Windows2003 SQL Server for VM Database

VM3 ---ESX3.5 with Update 4

VM4 ---ESX3.5 with Update 4

VM5 ---Open filer for ISCSI

I have done the installation and I tested normal functionality of ESX. I am able to create VM & run the VM inside the ESX server.

But I am not able to test the V Motion in this testing can anyone help how to configure & test the HA & fault tolerance
Do you find this valuable?    
Keyword tags: esx virtual center
Show Last Reply
cknk4evr esx not booting 1 Jan 22 2009, 12:35 PM EST by Nepharim
Thread started: Jan 15 2009, 8:46 PM EST  Watch
Is anyone else having difficulty fetting the freshly installed esx server to boot up? i installed it, it rebooted but much to my dismay, it hangs on "vmkernel successfully loaded." i let the virtual esx sit overnight, came back in the morning, and it was still stuck. i have no idea where to start looking to solve this one. i am running vmware workstation e.x.p. build 91182, i did use esx 3.5 both from an .iso file on my drive and a burned copy. not sure what to make of it. as a side note, i have installed and configured openfiler properly and it is working great, so i must not be a complete idiot. please help.
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Showing 2 of 2 threads for this page

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)
Browse by Keywords
Loading...