• No results found

485558-Step-By-step Installing ESXi as a Virtual Machine

N/A
N/A
Protected

Academic year: 2021

Share "485558-Step-By-step Installing ESXi as a Virtual Machine"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

Step-by-step: Installing ESXi as a virtual machine

14 Photos

Nov 19, 2010 9:57 AM PST

VMware's ESXi hypervisor offers a very important lab and training feature. Virtualization pro Rick Vanover shows how to set up nested ESXi.

Install VM running ESXi on an ESXi host

(2)

updates, or set up a lab environment to practice for training purposes; a virtualized lab environment can be very valuable.

ESXi can be installed as a guest operating system for these and other non-production purposes. In this gallery, the steps required to install virtual machine running ESXi will be performed on an ESXi host. While this is a capable function of the platform, it is not supported and should not be used for production workloads.

This gallery is intended to provide a step-by-step approach and is inspired by VMware employee Eric Gray's post on the VCritical blog on how to do this procedure.

(3)

Register for a free download of ESXi

2 of 14

The first step is to register for a free download of ESXi if you don't already have access to the installation files. If you are going to use the free version of ESXi, now dubbed "VMware vSphere Hypervisor," it is a free download from the VMware website.

ESXi 4.1 is a 300 MB CD-ROM to install and can be installed on servers that meet the installation requirements outlined in the ESXi Getting Started Guide. Basic requirements include:

• 2 GB of RAM

• One Gigabit network interface

(4)

Start the new VM wizard and select Custom option

3 of 14

The CD-ROM .ISO image downloaded in the previous step will need to be available (either on a datastore or inserted into the CD-ROM drive of the physical ESXi host) for the step to create the ESXi virtual machine. Start the new virtual machine wizard and select the Custom option.

(5)

Name the virtual machine

4 of 14

Give the virtual machine a name as prompted in the new virtual machine wizard. In this example, "Virtual-ESXi-Server" will indicate that on the physical ESXi server a virtual

machine will be created running ESXi. In my personal lab, I make extensive use of the virtual ESXi server. In a small private lab environment, common nomenclature (such as ESXI1, ESXI2, etc.) can be used to make easy recognition of what the server is.

(6)

Select where to install the virtual ESXi server

5 of 14

After a location (specified host) is specified, the datastore is selected in the wizard to create the virtual ESXi server. This is where it can start to get confusing. This menu option is only to select where to install the virtual ESXi server. This does not inherently present any shared storage (fibre channel, NFS or iSCSI) to the ESXi virtual machine.

(7)

Select operating system to run on VM

6 of 14

The virtual machine creation wizard will then ask what operating system the guest virtual machine will run. ESXi is not Linux, but it is most aligned to Red Hat Enterprise Linux 5, x64. Classic ESX was based from the Red Hat Linux operating system with the vmkernel

hypervisor added. ESXi as it is today is what I like to refer to as a JeOS for vmkernel. Just enough (of an) operating system to run vmkernel, which is the VMware hypervisor.

(8)

Configure number of virtual CPUs, memory, network interfaces

7 of 14

The new virtual machine wizard will then prompt you to enter the number of virtual CPUs to assign, how much memory to provision, and how many network interfaces to assign to the virtual ESXi server. If any virtual machines of any significance are to be run on the virtual ESXi server, consider using 4 GB or more for the virtual machine's RAM configuration. Be sure to ensure that the LSI Logic Parallel option is selected for the disk controller.

Here is a tip that I use in my personal lab, for the virtual machines that are running on the virtual ESXi servers; I'm not too interested in what is running on those workloads. I'm more interested in vCenter features, ESXi configuration, cluster configuration, and other infrastructure features. I create a number of virtual machines that are very, very small. For example, many of them are 4 MB of RAM and are PXE boot virtual machines. These virtual machines are small and migrate very quickly with features such as vMotion. The only downside is that VMware Tools are not running on these virtual machines, so vSphere will not view the virtual machines as optimal. The resource savings are well worth it for testing purposes.

(9)

Configure disk storage space

8 of 14

Configuring the virtual ESXi host to have 4 GB of disk storage space will be ample for the installation of ESXi; but not for running a virtual machine in most situations. The virtual ESXi server can be configured to connect to a shared storage resource (SAN/NAS); and work in a cluster with other ESXi servers in a cluster or access existing virtual machines.

(10)

Add custom settings

9 of 14

At the completion of the wizard, be sure to select the "Edit the virtual machine settings before completion" to add in the custom settings required for a virtual ESXi server. This will add in the mapping to the CD-ROM for the ESXi installation as well as set the special option to allow the host to run as an ESXi server.

(11)

Map the virtual ESXi server to .ISO file

10 of 14

To map the virtual ESXi server to the CD-ROM .ISO file, browse to it on the datastore or redirect it to the host's CD-ROM drive. If a CD-ROM .ISO file is used, be sure to select the Connect At Power On option in the top corner of the virtual machine properties page. If I had a dollar for every time I've forgotten that check box, I'd be a wealthy person.

(12)

Add this custom value to the configuration

11 of 14

This next option is critical to allow a virtual machine to power on within the virtualized ESXi system. The advanced option "monitor_control.restrict_backdoor" with a value of "True" must be added to the virtual machine. The configuration parameters section is empty on the virtual machine at this point because it has not been created yet. If you have ever been in this section of the virtual machine configuration for a virtual machine that already exists, there are a number of options that are populated. I like to add this custom value during the creation of the virtual machine.

(13)

12 of 14

At this point, the virtual ESXi server is ready to power-on and be installed. If the CD-ROM is mapped correctly, the installation startup screen as show above will appear. You can press Enter to launch the installer. Pressing Enter at the final screen will install ESXi on the virtual machine.

(14)

Confirm disk location and i.d.

13 of 14

Before the installation proceeds, a confirmation is presented to select the disk location to install ESXi. In this example, there is only one location. This also reassures us that the disk is identified as a VMware Virtual Disk as we created it in the New Virtual Machine Wizard.

(15)

Enable Promiscuous Mode

14 of 14

If virtual machines on the virtual ESXi server are going to be powered on, the Enable Promiscuous Mode option will need to be enabled on the vSwitch on which the virtual ESXi server resides. The image above shows this configuration At that point, the virtual machine is ready to go for all of your testing and development pleasure.

(16)

References

Related documents

Among village clusters initiated by dengue cases detected in the school-based cohort, nearly all of the DENV viruses sequenced from both humans and mosquitoes within a cluster

DEPUTY DIRECTOR & HEAD OF CHILDREN’S SERVICES Head of Children’s District Services Head of Children’s Direct Services Planning & Business Development Manager

RI.7.4 □ I can figure out the meanings of words and phrases in a piece of informational text by thinking about how they are used.. RI.7.4 □ I can analyze the author’s word choice

Compost extract preparations fortified with water extract of over-fermented tempe showed suppression effects on either mosaic disease or its aphid vector,

1 During a hardware failure, test the ability of VMware High Availability to migrate a virtual machine from the failed ESXi server to another available ESXi in the cluster, and

In this mendelian randomisation study, we found strong genetic support for the hypothesis that longer education has a causal effect on lowering the risk of coronary heart

When you connect directly to an ESXi host or vCenter Server system using the vSphere Client, you can open a console to any of the host's virtual machines, add and remove

 A Virtual System Server is the Hardware (a real physical computer) and the Software (a Virtual Machine Monitor, or hypervisor) that can run one or more virtual machines.... The