Yesterday, we experienced a problem where we couldn’t install ESXi on the one of ours IBM x3650 M4 servers. We suspected it could be a firmware issue as we performed a complete firmware upgrades just before the installation.
Nov 2, 2013 - I chose to go with the free edition of the VMware ESXi server also known. The binary download called ESXi 4.1 Installable Update 1 (CD ISO). Lenovo ESXi 6.0 versions at the Download VMware vSphere version 6.0 page Lenovo ESXi 5.5 versions at the Download VMware vSphere version 5.5 page Parent topic: Supported operating systems. Direct playback & download URLs for all VMworld 2018 Europe Sessions. 2 4 comments [OSError] [Errno 28] No space left on device Please refer to the log file for more details. VSphere 6.0b completely unstable on older IBM server hardware (self.vmware). (checked IBM, VMware HCL and Emulex and the recommended firmware/driver levels are.
If you already had your ESXi installed and did the firmware upgrade it may happen your local datastore will be in unmounted state.
Issue
Installation failed during disk partitioning with following messages:
Operation failed.
vmkfstools failed with message: create fs deviceName: ..
'/vmfs/devices/disk/naa.6..' is not a valid absolute or relative path
Failed to resolve device name path
/vmfs/devices/disk/naa.6..
Error: no such file or directory
It was very similar to the VMware KB2012053Â so we knew it is most probably storage related.
We tried to use several ESXi images including the latest Lenovo ESXi Customized image 5.5 and 6.0 and the stock VMware image as well, but without any success.
note: Lenovo ESXi customized images are not supported with IBM servers for some time, the latest supported was ESXi 5.5 U2 and ESXi 6.0.
Yes, I hate this approach from the Lenovo as well, especially when they were promising the same level of support for IBM servers, before acquisition of x86 platform from IBM.
Solution
Reason for this is, that LSI MegaRAID (Avago) storage driver bundled in ESXi image is not compatible with the latest firmware (in our case 23.34.0-0023) of m5110e controller included in our server.
Solution for this is pretty easy, you just need to use ISO image for ESXi 6.0U3 with rolled up drivers which you can find at VMware page directly 🙂 Driver included there is lsi-mr3 7.701.14.00-1OEM SAS Driver for Avago Megaraid Based Adapters
If you are trying to use roll up image for ESXi 5.5 U3, you will fail as that one was released 2 years ago and doesn’t include the latest drivers.
You can try to inject correct driver (lsi-mr3) in your ESXi 5.5 ISO in this case, however I’m not sure if the one available for 5.5 is working, the latest which I found for ESXi 5.5 at VMware Driver Download Page is VMware ESXi 5.5 lsi-mr3 6.610.20.00-1OEM SAS Driver for Avago Megaraid SAS 12Gbps Family of SAS controllers.
Just follow this procedure to create the iso image with custom driver. If it will not work and you need to stay on ESXi 5.5 you may need to downgrade the firmware or contact Lenovo to give you a newer driver.
I have to thank to the users at VMware community forum, who have the same issue and pointed us to the right solution. Although they were even trying to downgrade the firmware. But I believe using newer driver is a more elegant solution.
The following two tabs change content below.Dusan has over 8 years experience in the Virtualization field. Currently working as Senior VMware plarform Architect at one of the biggest retail bank in Slovakia. He has background in closely related technologies including server operating systems, networking and storage. Used to be a member of VMware Center of Excellence at IBM, co-author of several Redpapers. His main scope of work consists from designing and performance optimization of business critical virtualized solutions on vSphere, including, but not limited to Oracle WebLogic, MSSQL and others. He holds several IT industry leading certifications like VCAP-DCD, VCAP-DCA, MCITP and the others. Honored with #vExpert2015-2018 awards by VMware for his contribution to the community. Opinions are my own!
- ESXi 6.7 U1 fixes: APD and VMCP is not triggered even when no paths can service I/Os - November 30, 2018
- Update manager error: hosts could not enter maintenance mode - November 19, 2018
- VMware fixes 2 data corruption bugs and VM to Host escape vulnerability! - November 19, 2018
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.
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
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!
–
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.
–
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 Chief architect 3d library free download. : 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.
–
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 perFig. 6.
–
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
–
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.
–
Note: VMware make frequent changes to their website so any links and screenshots given here are valid at the time of writing.
–
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;
- Select the ESXi ISO image.
- Press Start.
- Click Yes to confirm the Replace menu.c32? prompt.
- Click OK to accept the data deletion warning and wait for it to finish.
–
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 14 – Loading the ESXi binaries
–
–
- 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 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.
- 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
–
- 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
–
- The installation takes a few minutes to complete after which press Enter to reboot the server.
Figure 25 – ESXi successfully installed
–
–
- 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)
–
Finalize the installation
Corel x4 serial number. 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 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 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.
–
- 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
–
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.
–
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.
–
- 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.
–
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.