26
 Copyright © 2007 www.xtravirt.com May 2007, Version 1.3 White Paper Install and run VMware ESX3 on VMware Workstation 6 By Paul Davey

Instalar ESX 3 en Workstation 6

Embed Size (px)

Citation preview

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 1/26

  Copyright © 2007

www.xtravirt.comMay 2007, Version 1.3

White Paper

Install and run VMware ESX3

on VMware Workstation 6

ByPaul Davey

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 2/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 2 -

1. Table of Contents

1.  T ABLE OF CONTENTS ...........................................................................................................2 

2.  INTRODUCTION.....................................................................................................................3 

1.1. 

PRE-REQUISITES .........................................................................................................3 

3.  PREPARING VMWARE WORKSTATION 6.................................................................................5 

4.  CONFIGURATION FOR NON DNS ENVIRONMENTS.................................................................19 

5.   ADD VIRTUAL ESX HOST TO VIRTUAL CENTER ....................................................................23 

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 3/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 3 -

2. IntroductionThis paper discusses the process to create working ESX hosts within VMware Workstation 6.Multiple hosts can be created and V-motion, HA and DRS features can be configured.

 Although performance is significantly reduced from that of a physical server, this type ofenvironment opens considerable possibilities for portable client demonstrations and isexcellent for self training and small lab environments.

This paper assumes the reader has good technical knowledge of VMWare VirtualInfrastructure 3. The paper assumes that you know how to install the VirtualCenter2, LicenseServer and Virtual Infrastructure Client.

The hardware used in this whitepaper was an IBM Thinkpad T60P 2007 SKU, Core Duo, 3GBmemory, 120GB SATA Hard Disk.

 Above: Mult ip le ESX hosts running w ithin VMware Wor kstat ion 6

1.1. Pre-requisites

This paper assumes that the following actions have been carried out by the reader.

•  VMware Workstation 6 has been installed

•  Virtual Centre, License Server and Virtual Infrastructure Client have been installed.

•  ESX 3.0.1 installation media is available on CDROM

•  License file is available

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 4/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 4 -

 Above: Multiple virtual ESX hosts in a cluster using Vir tualCenter 2 in VMware Workstat ion 6.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 5/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 5 -

3. Preparing VMware Workstation 6

1. Open VMware Workstation and select the option to create a new virtual machine.

2. The New Virtual Machine wizard will launch. Click Next to continue.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 6/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 6 -

3. Select the option to create a Custom virtual machine. Click Next.

4. In the Hardware compatibility box, select Workstation 5 and tick the ESX ServerCompatible box. Click Next.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 7/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 7 -

5. Select Linux for the Guest operating system and Red Hat Linux for version. ClickNext.

6. Enter a name and location for the virtual machine files to be stored. Click Next.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 8/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 8 -

7. Select the option for Two  processors. Click Next.

8. Allocate sufficient memory for the ESX virtual host. Click Next. NB: I have used 512MBin this example as I will not be hosting any Virtual Machines on this ESX VM host.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 9/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 9 -

9. Select the Use Bridged Networking option. Click Next.

10. In the Select I/O Adaptor Types dialog, ensure the LSI Logic adaptor is selected.Click Next.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 10/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 10 -

11. Select the option Create a new virtual disk. Click Next.

12. Click Next as there is only one default option.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 11/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 11 -

13. Select the disk size that you wish to use. In this example I have chosen to create an8GB virtual disk. Click Next.

14. Specify the name of the virtual hard disk file to be created. Click Next.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 12/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 12 -

15. Select the virtual machine that you have just created and select the option to remove itfrom favourites.

16. When prompted select Yes.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 13/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 13 -

17. Close VMware Workstation 6 completely. Do not leave any other VM’s running in thebackground.

18. Using notepad.exe open the .vmx file for the previously created ESX virtual machine.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 14/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 14 -

19. The .vmx file requires to be edited as shown in the diagram below (boxed in blue).Once the changes have been made, save the file and exit notepad. One of thechanges includes modifying the NIC type from vlance to the e1000 adaptor type. NB: Ifyou do not change the adaptor to this type then connections to VirtualCenter will notwork. 

The above modifications will work for an Intel based CPU, but for AMD chips you alsoneed to additionally include the following line:

Monitor_control.enable_svm = TRUE

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 15/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 15 -

20. Launch VMware Workstation and select the option to open a VM from the File menu.

21. Select the ESX host VM in the dialog box and select Open.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 16/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 16 -

22. Add the opened VM to your favourites so you can easily access it later on.

23. Power on the virtual ESX host. At the BIOS screen in the host, hit <esc> to access theboot order menu. You will see that the network adaptor is of the Intel E1000 type, asrequired for connectivity to VirtualCenter.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 17/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 17 -

24. Select the option to boot from CD, ensuring that the installation media is in theCDROM. The ESX Server installation will start. Press the <enter> key to start agraphical installation.

25. When prompted select the option to skip the media test.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 18/26

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 19/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 19 -

4. Configuration for Non DNS Environments

If you are just setting up virtual ESX hosts for basic training purposes, you do not need a Active Directory domain infrastructure with DNS configured. You can simply use the Windows

hosts file as well as edit the hosts file on your ESX host to correctly achieve communicationfrom ESX to VirtualCenter.

To do this follow the steps below.

1. Logon to the ESX host Service Console (COS) using the root account and password.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 20/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 20 -

2. Navigate to the hosts file which is stored in the /etc folder and edit it with nano (or yourfavourite text editor) as shown below.

3. Edit the server hosts file and add in the IP address, FQ name and short name of anyother ESX servers that you have, along with the IP address and name of the machineholding your licence server and VirtualCenter installation.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 21/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 21 -

4. You will need to open firewall ports to allow VirtualCenter to connect and remote SSHconnections for example. For the purposes of simplicity, I have allowed all incomingand outgoing ports to be opened on my ESX host.

5. On the Windows server that is hosting the License Server, VirtualCenter and VirtualInfrastructure Client, edit the Windows hosts file using notepad. The hosts file can befound under %systemroot%\system32\drivers\etc\hosts , for example: Notepad.exeC:\winnt\system32\drivers\etc\hosts. 

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 22/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 22 -

6. Add the IP address and FQ name of the ESX host in to the hosts file. If you have othervirtual ESX hosts ensure that they are added in as well.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 23/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 23 -

5. Add Virtual ESX Host to Virtual Center

1. Launch the Virtual Infrastructure Client and log in to Virtual Centre.

2. Within your nominated Datacenter, right-click  and select Add Host .

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 24/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 24 -

3. Enter the FQ name of the virtual ESX host, along with the root account details to allowVirtual Centre to authenticate to the virtual ESX host.

4. Review the settings and click Next to continue.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 25/26

 

May 2007 Install and run VMware ESX3 on VMware Workstation 6, v1.3, www.xtravirt.com  - 25 -

5. If required, select a Resource Pool to add the virtual ESX host to. Click Next.

6. Click Finish to add the virtual ESX host.

7/25/2019 Instalar ESX 3 en Workstation 6

http://slidepdf.com/reader/full/instalar-esx-3-en-workstation-6 26/26

 

7. The virtual ESX host task will run, displaying progress in the Tasks pane.

Your virtual ESX host is now available to be managed by VirtualCenter.

For information on how to install and configure shared storage in a VM so that you can testadvanced functionality such as VMotion, HA, DRS etc you can find further white papers onhttp://xtravirt.com under Tech Talk => White papers, eg: “IET Virtual Shared Storage (ESXon Workstation – Part 2).

This concludes the white paper; we hope you found it useful. We gratefully receive anyfeedback, errors or omissions at [email protected].