Already a member?
Sign in
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.
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.


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



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.



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
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
- Make sure that the Virtual machine Hardware compatibility is for Workstation 5 and that you check the option ESX Server Compatible:
- 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.
- Proceed to install ESX as it was on a physical box.
- When you finish the ESX Server installation you would see the ESX console OS window:
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
- Go to http://www.openfiler.com/community/download/ and download the x86 ISO image
- 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
- 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
- Next click on volumes tab and them on Physical Storage Mgmt. and create a volume group
- 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)
- 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
- configure the iSCSI CHAP Authentication for the new Volume
- and finally enable the iSCSI services under Servides/Enable-Disable
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 |
Latest page update: made by todd_muirhead
, Jul 24 2008, 2:40 AM EDT
(about this update
About This Update
17 words added view changes - complete history) |
|
Keyword tags:
demo
esx
evaluation
laptop
test
virtual center
More Info: links to this page
|

