• About Altaro
  • About Altaro VM Backup
  • 101 Free VMware Tools
  • facebook
  • twitter
  • google+
  • linkedin
  • rss
  • About Altaro
  • About Altaro VM Backup
  • 101 Free VMware Tools
vSphere
Altaro.com » Altaro's VMware Hub and blog » vSphere » How to install vSphere ESXi on a bare metal server
Jason Fenech
by Jason Fenech in vSphere
Tags: Deployment, ESXi, ESXi 6.x, Lab Setup, VMware, vSphere

How to install vSphere ESXi on a bare metal server

30 Mar 2016 by Jason Fenech
15 vSphere
 

 


In today’s post, I’ll be showing you how to install VMware’s vSphere ESXi 6.0 hypervisor on a bare metal server as a real-world example. A bare metal server is simply a server that has yet to have an OS installed on it.

 

These are the steps I’m going to take you through in this post, so let’s get going.

  • Is my hardware compatible?
  • Download ESXi
  • Create a bootable medium
  • Install ESXi
  • Finalize the installation
  • Configure ESXi using the vSphere client

Update (21/6/2017): Visit my Deploying vSphere ESXi 6.5 to learn how to deploy the latest version of ESXi.

Download Altaro VM Backup

Download Altaro VM Backup

Start your free 30-day trial of Altaro VM Backup today and see why it's trusted by 40 000+ organizations worldwide. Get started now and run your first backup in under 15 mins!

Download Now

–

Is my hardware compatible?


This, perhaps, is the most important step as it ensures that your hardware is ESXi ready. Failing this, ESXi may fail to install or you might run into unexpected issues further down the line. Additionally, you won’t be getting support from VMware if your hardware does not support ESXi.

Note: Have a look at How to use VMware compatibility tools to learn how to check if your hardware is compliant.

The hardware I will be installing ESXi 6.0 on, is an HP Proliant MicroServer Gen7 that’s been gathering dust in the office. Figure 1 is an actual picture of it. The poor bugger has seen better days.

Figure 1 – HP Gen7 MicroServer

  –

I first need to power it up to determine the type of processor, amount of RAM installed, etc. Pressing F10 takes me to the BIOS utility which I’ll be using to learn about the server’s hardware si I can assess if it is ESXi 6.0 complaint or not. As per Fig. 2, the BIOS utility is of very little help save for the processor type and serial number provided. Well, let’s try and plug in the serial number on HP’s support website. This gives me a thorough listing of the server’s hardware but, in this case, the site returned nothing that I didn’t already know.

Figure 2 – Determining hardware specs from the BIOS utility

 –

The next step is to use the VMware Compatibility Guide and not surprisingly, the server isn’t listed here either. I had a feeling this was going to be the case since I knew beforehand that the AMD Athlon II family of processors is not supported. This is evidenced by the conspicuous absence of AMD processors – except for the Opteron family – listed under CPU Series as per Fig. 3.

Tip:  You can use keywords to narrow down the search to narrow down the results returned.

Figure 3 – The VMware Compatibility Guide query screen

 –

The only server returned by the search query is the HP Proliant MicroServer G8 (see Fig. 4) which has better specs than the one I have. Regardless, I’m stuck with what I have.

Figure 4 – Results returned by the VMware Compatibility Guide

 –

Let’s head back to HP’s website so we can have a look at the compatibility matrix. This is worth doing when verifying compatibility as major vendors will generally provide this type of information. As already confirmed, ESXi is only supported on HP’s Gen8 microservers. I guess it’s time to throw in the towel!

Figure 5 – Verifying VMware compatibility on the vendor’s (HP) website

–

If this were a production deployment, I would shelf the idea of using this server for anything but testing. And since testing we are, let’s have a go and see if we can install and run ESXi on it.

TIP: This excellent VMware article, describes how to gather data to use with the VMware Compatibility Guide on existing ESXi installations. This comes in handy when planning ESXi upgrades or simply adding new hardware to existing servers.

–
up

 

Download ESXi


ESXi is distributed as a bootable ISO image which you can burn or copy to any medium that is made bootable.  To download and evaluate ESXi, visit the VMware vSphere Product Evaluation Center and select VMware vSphere as per Fig. 6.

Figure 6 – VMware’s Evaluation website

–

If you don’t already have one, sign up for an account ave one. On completion, you will receive an activation link on the email address supplied.

Figure 7 - Creating a VMware user account
Figure 7 – Creating a VMware user account

–

Once the account is activated, log in and proceed to the download area. Select the ISO image shown in Figure 8 and download it to any folder of your liking.

Figure 8 – VMware ISOs download area

–

Note: VMware make frequent changes to their website so any links and screenshots given here are valid at the time of writing.

–
up

 

Create a bootable medium


We next need to create a bootable device of off which ESXi will be installed. I’ll be using a USB pen drive since the HP server is missing an optical drive. Another option, involves deploying ESXi over the network using PXE. However, the network card on the server is not PXE compliant so it’s back to using the pen drive.

Update (21/6/2017): Testing ESXi Auto Deploy in a nested environment shows you how to deploy ESXi using PXE and Auto Deploy.

A 4GB Corsair USB stick will do just fine. I’ll also be using a piece of software called Rufus to make the pen bootable. You can Rufus get from here. There’s also a portable version of Rufus if you’d rather not install it. Regardless, remember to scan any files you download before running or installing; better safe than sorry!

Figure 9 – Preparing an ESXi bootable USB stick

–

The process is straight forward unlike other methods that involve diskpart or Linux.  After you insert the USB stick in a free USB port, launch Rufus and;

  1. Select the ESXi ISO image.
  2. Press Start.
  3. Click Yes to confirm the Replace menu.c32? prompt.
  4. Click OK to accept the data deletion warning and wait for it to finish.

rufus

–
up

 

Install ESXi


We can finally install ESXi. With the USB pen drive in place, power up the server and wait for the boot screen (see Fig. 13). If this fails, return to the BIOS utility and verify that the boot-up sequence includes USB devices.

The steps required to install ESXi are as follows:

  • Select the “ESXi-xxx …. installer”  option and press Enter. It takes a couple of minutes before the binaries finish loading (Figs. 13-15).
Figure 13 – ESXi installer boot-up screen

–

Figure 14 – Loading the ESXi binaries

–

Figure 15 – ESXi installation in progress

–

  • Press Enter to continue the installation. At the next screen, press F11 to accept the EULA. This is immediately followed by a device scan.
Figure 16 – Kicking off the installation process

–

Figure 17 – Accepting the EULA

–

Figure 18 – Scanning for hardware

 

  • In my case, the installer detected two drives, the USB stick and an internal 250GB disk drive. Using the arrow keys, select the drive where you want ESXi installed. Press Enter.
Figure 19 – Choosing the disk on which ESXi will be installed

 

  • Specify the keyboard layout. The default layout is set to US Default. Change as needed and press Enter to continue.
Figure 20 – Setting the keyboard layout

 

  • Set the password for the root account. Use the arrow keys to move between the Root password and Confirm password fields. Press Enter to accept.
Figure 21 – Setting the password for the root user

–

Figure 22 – Acquiring additional information

 

  • Press F11 to confirm the drive selection. If ESXi is already installed, you are prompted to upgrade the current version or preserve it.
Figure 23 – Final confirmation before kicking off the installation process

–

Figure 24 – Installation progress

 

  • The installation takes a few minutes to complete after which press Enter to reboot the server.
Figure 25 – ESXi successfully installed

–

Figure 26 – Post-installation reboot

–

  • While the ESXi host is booting up, it will acquire an IP address assuming a DHCP server is present in your network. In production environments, stick to using static addresses or DHCP reservations to avoid situations where the host picks up a different address than what was intended. In our case, the server acquired an IPv4 address from the DHCP server which is fine since we’re just testing.
Figure 27 – ESXi console screen (DCUI)

–
up

 

Finalize the installation

We now finalize the installation. Pressing F2 at the console screen (DCUI) brings up a number of options.

  • Log in using the root account. Select Configure Management Network from the menu and press Enter. Here you can view or change ESXi’s network settings along other options.
Figure 28 – Logging in to ESXi

–

Figure 29 – The System Customization menu

 

  • Select IPv4 Configuration and change the IP address assignment method from DHCP to static. Press Enter to commit the change.
Figure 30 – IPv4 configuration menu

–

Figure 31 - Assigning static IP network details on ESXi
Figure 31 – Assigning static IP network details

–

  • If you’re not using IPv6, go to Configure Management Network and select IPv6 Configuration. Disable it by highlighting Disable IPv6 (restart required) using the arrow keys. Use the spacebar to toggle the option on or off. Press Enter to commit the change. Note that this requires a server reboot.
Figure 32 – Disabling IPv6 on ESXi

–

  • Next, verify that the DNS settings are correct. I assigned static addresses for both the primary and secondary DNS servers. To do this, select DNS Configuration from Configure Management Network and edit as required. Press Enter to save.
Figure 33 – Setting DNS and hostname

–

  • At the end I’m reminded about the pending reboot on account of disabling IPv6. Press Y to reboot the server.
Figure 34 – Pending reboot following the removal of IPv6
Figure 35 – ESXi rebooting

–

Once ESXi is up and running, you can go ahead and create your first virtual machines. However, before doing so, I’d like to demonstrate how to tweak ESXi a little bit more.

–
up

 

Configure ESXi using the vSphere client

The vSphere (thick or C#) client is a management tool used to configure ESXi and virtual machines amongst other things. to this effect, we need to install it. Using any browser, go to https://<ESXi IP address>. Alternatively, you may download the client from here. As per Figure 36, click on vSphere Client for Windows to download the client installer. Install it as you would normally do with any other software package.

Update (21/6/2017): Since this post was published, VMware have released the ESXi host client which is ESXi embedded meaning you no longer need to install a separate management client.

Figure 36 – Using the browser to download the vSphere Client from the ESXi server

–

  • After you install the client, run it and type in the ESXi host IP address and root credentials. Press Login.
Figure 37 – Logging in ESXi with the vSphere client

–

  • Press Ignore to acknowledge the certificate warning.
Figure 38 – Certificate security warning

–

  • Press OK to accept the evaluation notice. The 60-day trial period starts now.
Figure 39 – 60 day evaluation notice

–

  • At this point it’s looking pretty bleak but this is normal since we have not created any virtual machines yet.
Figure 40 – ESXi summary screen using the vSphere Client

–

Note: Familiarize yourself with the various Hardware and Software settings under the Configuration (see Fig. 41). I’ve selected Storage to see if a Datastore has been created. A datastore is where the files making up a virtual machine will reside each in it’s own folder. Also worth looking at are the Networking and Network Adapters settings.

Figure 41 – Displaying the ESXi server’s various settings

–

  • Time to create our first virtual machine. Right-click on the ESXi host’s IP address (or hostname) and select New Virtual Machine or just press Ctrl-N. Follow the VM creation wizard. As per Fig. 42, I created a VM called my first vm. To learn more about creating VMs, visit VMware site.
Figure 42 – Creating a virtual machine

–
up

Wrap Up


Despite not being officially supported, our HP server seems to be handling ESXi pretty well. Notwithstanding, compatibility is key here so make sure that all your components tick the required boxes before you go on and install ESXi. To reiterate, never ever install ESXi on non-compliant hardware that is used in production, or live, environments for all the reasons above mentioned.

Have any questions or feedback?

Leave a comment below!

Backing up your VMware VMs

If you’d like to make backing up your VMware VMs easy, fast, and reliable, check out Altaro VM Backup. It’s free for up to 2 VMs, packed with features and the most affordable backup solution for SMBs around. Download a 30-day trial OR the free version at https://www.altaro.com/vmware-backup/ and get started in under 15 minutes.

Jason Fenech
Jason Fenech

An IT veteran for over 23 years, I covered various roles throughout my career. Prior to joining Altaro as a blog writer and QA tester, I was employed as an infrastructure engineer at a cloud services provider working exclusively with VMware products. The Altaro VMware blog enables me to share the experience and knowledge gained and, much to my surprise, is what got me the vExpert 2017 award. Besides being a techie and a science buff, I like to travel and play guitars. I also do some photography and love having a go at playing the occasional XBOX game, Halo being my absolute favourite. I am also a proud father of two and parent to a crazy Dachshund called Larry.

All Posts   WEBSITE   EMAIL

15 Comments on “How to install vSphere ESXi on a bare metal server”

  1. Bart Simpson March 31, 2016 at 6:05 am

    But , if my hardware not compatible? How me installing esxi?

    Reply
    1. Jason FenechJason Fenech Post authorMarch 31, 2016 at 8:24 am

      Hi,

      Well, that’s the whole point of the article. You’d still be able to install ESXi on hardware that is not listed in the compatibility list but using such systems in live environments should be highly discouraged for reasons mentioned in the article. Hope this helps.

      Regards

      Jason

      Reply
  2. Jon Gibbins June 16, 2016 at 1:07 pm

    Hi there. I’m glad I found your guide as I have a N40L which is in need of some use. When I run the installer I’m told that it can’t find any suitable network devices in the box. Have you added another network adaptor to the machine or is it all running stock?

    Thanks
    Jon

    Reply
    1. Jason FenechJason Fenech Post authorJune 16, 2016 at 1:35 pm

      Hi Jon,

      Glad you found the post useful. Yes, I believe the nic came with the box. I’d check for you but the server hence since bit the dust.

      Not sure if you’re aware about this. HP provides custom ESXi images here for the Proliant series so you could try going down this route.

      If that fails, you’d have to plug-in a supported nic or inject the required drivers using something like ESXi-Customizer which even though no longer supported may still do the trick.

      Hope this helps.

      regards

      Jason

      Reply
  3. Ankit September 19, 2016 at 9:50 pm

    Thank you Jason for your detailed explanation, really helped me a lot 🙂

    Regards

    Reply
    1. Jason FenechJason Fenech Post authorSeptember 20, 2016 at 9:08 am

      Glad you found it useful!

      regards

      Jason

      Reply
  4. Román Martínez December 11, 2016 at 4:30 pm

    Thanks for the post, very helpful!

    To complete the article: The procedure is the same as in the version 6.5, except that in 6.5 we are obliged to connect via web to manage it since the Windows vSphere Client is no longer supported.

    Extracted from: http://www.sysadmit.com/2016/12/vmware-esxi-instalacion-paso-paso.html

    Reply
    1. Jason FenechJason Fenech Post authorDecember 12, 2016 at 8:33 am

      Hey, glad you found it useful. You’re right about 6.5. In fact, I have an article lined up for publishing on the topic. VMware have also included new features related to nested ESXi in 6.5, even though technically, it is still officially unsupported.

      Jason

      Reply
  5. Tecu George March 9, 2017 at 12:19 pm

    Hello,
    Great article, well written.

    Can you help me with some clarifications on a subject since my networking skills are so humble:

    I have a Dell PowerEgdge T320 and I want to install ESXi on bare metal, having some nice vms on it :), but I’m having trouble understanding how can I access my VM’s remotely.
    I have a static IP from my ISP, I have only one network PCI on the server, I have a wireless router and a home desktop.
    The questions are:
    1. I must set my IP on the router(ip, default geteway, netmask, etc), letting the router(…aka DHCP server? ) to give an dynamically alocated IP for server and Desktop?…And if so….how can access the ESXi managing console remotely (from a hotel room for example)?
    2. Can I connect remote thru SSH on various virtual machines and if so…:(using intuition: ) have a port (lets say 4971)set up for the server on router, and forwarding the ssh port(of the in-question vmachine 22) to the 4971 port?

    P.S.: I will install ESXi 6.0.

    Keep up the good work and all the best.

    Reply
    1. Jason FenechJason Fenech Post authorMarch 13, 2017 at 1:43 pm

      Hi,

      Thanks. The easiest solution would be to set up a VPN especially if your router supports it natively. That way, you don’t have to play around with natting and can access anything on your home network effortlessly from anywhere. Alternatively you can use something like pfSense (http://resources.intenseschool.com/pfsense-series-installing-pfsense-in-vmware/).

      Hope this helps.

      regards

      Jason

      Reply
      1. Miguel Rodríguez April 23, 2017 at 12:49 pm

        Thank you very much for the article.

        Here’s another tutorial on how to install pfsense on vmware esxi v.6.X:

        http://www.sysadmit.com/2017/04/vmware-esxi-instalar-pfsense.html

        Reply
        1. Jason FenechJason Fenech Post authorApril 24, 2017 at 8:59 am

          Glad you like it. Article on pfsense looks good even when translated.

          Thanks

          Jason

          Reply
  6. Bogac January 9, 2018 at 11:32 am

    Thanks for this amazing article I have another question. How will I add vcenter or the other machines to my DNS server? The domain controller placing where? Will I include this ESXi on a vcenter which is already is in the environment? I’m a bit confused actually and of course, you are the best Jason!

    Reply
    1. Jason FenechJason Fenech Post authorJanuary 10, 2018 at 8:26 am

      Hi Bogac,

      Thank you for the kind comment.

      If you have a domain controller running DNS in your environment, you can create the necessary A and PTR records in advance before installing ESXi / vCenter Server. After installing ESXi, set it to point to the domain controller running the DNS server. You can configure ESXi network settings directly from the DCUI console. Same thing with vCenter. If you wish to manage ESXi with vCenter, it’s just a simple matter of adding ESXi hosts using the vSphere Web or HTML5 client.

      You can also join both vCenter and ESXi to Active Directory if that’s what you want. I’ve written a few posts on this which you can find on our blog. Just search for Active Directory.

      Hope this helps.

      Jason

      Reply
      1. Bogac January 10, 2018 at 9:10 am

        Jason thanks, as a beginner in this system administration area I found this blog is really helpful. I will manage a server basically in another country in 2-3 weeks with VMware tools so I have to learn how to do it from beginning to end.

        Reply

Click here to cancel reply.

Have a question or comment? We'd love to hear it! Cancel reply

Your email address will not be published. Required fields are marked *

XHTML: You can use these tags <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

 

Featured product

Download Altaro VM Backup

Download 30-day trial or Free Edition (free for 2 VMs, forever.)

Site categories

  • vSphere
  • Storage
  • Automation and Management
  • Altaro News
  • Desktop Virtualization
  • HyperConvergence
  • Cloud
  • Uncategorized

Altaro Software

  • About Altaro
  • Altaro VM Backup

Altaro VM Backup

  • Altaro VM Backup
  • Download Free Version
  • Download 30-day Trial

Our writers

  • Jason Fenech Jason Fenech
    142 Posts
  • Andy Syrewicze (Chief Editor) Andy Syrewicze (Chief Editor)
    24 Posts
  • Ryan Birk
    22 Posts
  • Luke Orellana Luke Orellana
    18 Posts

Copyright © 2018 Altaro Software.

  • facebook
  • twitter
  • google+
  • linkedin
  • rss
[contact-form-7 id="4731" title="Act-On subs"]