VMware Virtual Infrastructure Test Environment

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 ESX servers, a virtual center server, and a storage applicance that are all running as VMs themselves. The ability to do VMotion, Storage VMotion, 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 setup such an environment on a laptop as well as provide an area for disucssion and questions. This configuration is not supported by Dell, but is documented here for those that might be interested.

Physical Hardware

For an example test setup a Dell Latitute D630 with 4 GB RAM and a 40GB harddrive 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 2 VMware ESX 3.5( Virtual Machines) with one vCPU, 1024MB or RAM, one vNIC and one iSCSI connexion (software initiator) to connect our ESX Servers on to a iSCSI NAS appliance (openfiler) to enable VMotion, Storage VMotion, DRS.

  • Open VMware Workstation and select file/new/Virtual Machine and select Custom

screen1

  • Make sure that the Virtual machine Hardware compatibility is for Workstation 5 and that you check the option ESX Server Compatible:

screen2


  • On the "Select a Guest Operation System" window select Linux as a Guest operating system and Red Hat Linux as Version. Click next

  • Select a name and location for your ESX Virtual Machine and click next

  • On 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 slow down) and click next

  • On the "Memory for the Virtual Machine" window select the memory for this virtual machine (e.g.1024MB - you can add more later) and click next

  • O the "Network Type" select "Use bridged networking" so you can have connectivity with other ESX servers in you environment and the host Operating System and click next

  • On the "Select I/O Adapter Types" window select LSI Logic SCSI Adapter

  • On the "Select a Disk Type" window select SCSI Virtual disk type and click next

  • On the "Specify Disk Capacity" window select 8GB 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 "esx1.vmdk" and click finish.

  • Once the virtual disk has been created close VMware Workstation and open with notepad the .vmx file for the created VM and 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 on to the .vmx file and open VMware Workstation.

  • Edit Virtual Machine settings to 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 would see the ESX console OS window:

screen5




Virtual Center VM


Create a Windows 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, etc.


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 botton
screen_7


  • Next click on volumes tab and them 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 Servides/Enable-Disable


screen_11

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

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


todd_muirhead
todd_muirhead
Latest page update: made by todd_muirhead , Jul 24 2008, 2:40 AM EDT (about this update About This Update todd_muirhead Edited by todd_muirhead

17 words added

view changes

- complete history)
More Info: links to this page

There are no threads for this page. 

Anonymous  (Get credit for your thread)



By saving these changes, I acceptthis site's content policies and agree to comply with applicable copyright laws.