Upgrading your Nutanix NX-2400 block from ESXi 5.0 to ESXi 5.1 using a USB thumb drive.

16 07 2013

At the moment, I’m lucky enough to have a Nutanix block at home that I use for demos (it’s coming along to Switzerland with me tomorrow). It’s not the model with the highest specs, but it helps in giving customers a chance to actually see the kit, and give partners some hands-on time. In case you are wondering, I’m actually working with a NX-2400, or a 4-node NX-2000 cluster, hence 2400.

Thing is though, that it was running an older version of the Nutanix Operating System (NOS), which I upgraded to the latest version (NOS 3.1) without a hitch, and it was running ESXi 5.0. And to play with some of the latest features, I actually decided to upgrade to ESXi 5.1, and I figured I might as well share how that worked out for me.

The steps are relatively simple, but I figured I’ll document them here anyway. One word of caution though:

    This was done with the latest info from the Nutanix knowledge base. Be sure to check if there are updated instructions available prior to upgrading your own block.

So, step one is to actually get the installation media for ESXi 5.1. In case of the NX-3000, you can use the standard ESXi 5.1 image. For the NX-2000 systems, you need to use an image that is customized by Nutanix. Contact myself or your local systems engineer to get the download location.

Next, create a bootable USB stick using the image. Easiest way I found is to actually format the stick with FAT32 as the filesystem. I recommend using a Windows system, or a Windows VM, since no matter what I tried, I couldn’t get it to boot using a Mac. Once the drive is formatted, I used UNetbootin:

UNetbootin ESXi 5.1 Nutanix

Click on “Disc Image” and select the ISO file. Make sure “USB Drive” is selected, and point it to the correct drive. Then click on “OK”, and watch it go to work. If it gives you a message stating that menu.c32 is already present, click on the “Yes” button.

We’ll also need to edit the NFS heartbeat timeout settings. To do that, log on to vCenter, select the node and go to “Software” -> “Advanced settings”. There go to the NFS entries, and modify the “NFS.HeartbeatTimeout” setting to 30 seconds. Do that for each host.

Next, we need to make sure the multiextent module is loaded. Add the following lines to /etc/rc.local.d/local.sh on each host (if not already there):
#added to support multiextent
localcli system module load -m multiextent
#end of adding

Then restart the host.

Once you are done, it is time to start the upgrade. Go in to the BIOS (using the Delete key) on the node you want to upgrade, and change the boot order so that you actually start off of your USB stick. Once you save the config and restart, you will be given a menu where you select the second option:

Unetbootin - Nutanix ESXi 5.1 upgrade menu

After that you should be able to see the trusted ESXi boot sequence:
ESXi 5.1 boot screen

At the installation screen, just hit the “Enter” key to continue with the installation. Read the license agreement, and continue with F11. Next, you are asked where the installation should reside. Normally you should see the Intel SSD already have a VMFS partition, indicated by the small asterisk in front of the disk. Select that disk and press “Enter” to continue:
ESXi 5.1 upgrade VMFS

Next, a prompt should show up asking if you want to upgrade. Select that option, and press “enter” once more:
Upgrade VMFS ESXi 5.1

The final step is to confirm your upgrade by pressing the “F11″ key. Once the upgrade is done, remove the USB thumb drive, and reboot the server by again hitting the “Enter” key. Let the node reboot, change the boot order to the original sequence, and, tadaaaaaa:
Nutanix - ESXi 5.1 upgrade complete

Now, obviously this would be easier using the vSphere Update Manager, but this was the solution I used, since I only installed the vCenter virtual appliance. Not pretty but it works.

One key thing left to do, is to re-register the controller VMs on your ESXi host. You can do this via the vSphere client going directly to the ESXi host. Just right-click the VM and select “remove from inventory”. Then browse the datastore, go to the folder saying “ServiceVM-1.24_Ubuntu” and add the VM to the inventory using the VMX file. You can now start your VM after you confirmed that you moved it. :)

The other alternative to re-register your VM using vim-cmd via an SSH session on to your ESXi host. Just check which VMs you have running:
vim-cmd vmsvc/getallvms

Vmid Name File Guest OS Version Annotation
190 NTNX-TRAIN2-S11317022510746-A-CVM--2- [NTNX-local-ds-S11317022510746-A] ServiceVM/ServiceVM.vmx ubuntu64Guest vmx-07
Remember the VMID and de-register the VM:
vim-cmd vmsvc/unregister [vmid of controller VM]Now simply re-register the VM:
vim-cmd solo/register [/full/file/path/to/the/controller_vm_name.vmx]You might want to rename the controller VM once you have registered it.

Should you have any issues starting the VM, make sure that there is no line saying:
sched.mem.prealloc = "TRUE"in the .vmx file of you VM. If this line is present, remove it, and re-register your VM.


Actions

Information

12 responses

16 07 2013
Totie Bash

Don’t you install it on the the second item on the list, the 4GB SD card flash disk? I thought the SSD is use by the controller for caching. May be I’m not getting it, what’s the use of the sd card if it is not use for holding the main OS?

17 07 2013
Bas Raayman

4 GB would be a little small, wouldn’t it? The 4GB device is actually the USB thumb drive I’m using to update from. Since ESXi is installed on the local drives, we need to update there.

We don’t have any SD-cards in there that I know of, but we do utilize SSD to hold the OS, and do things like caching and tiering. Does that answer your question? :)

18 07 2013
Totie Bash

Installing on SD/USB has always been supported. Infact that is why modern server chassis comes with sd card hidden on the board HP DL380. VMware has always been advertising that their hypervisor is so small that it runs on memory. All 11 of my ESXi host are on the 4GB SD card.

http://techhead.co/why-run-vmware-esxi-from-a-memory-stick-or-sd-card/

http://www8.hp.com/lamerica_nsc_carib/en/products/oas/product-detail.html?oid=4027453

18 07 2013
Bas Raayman

Ok, I see what you are saying. Yes, that is a valid way of installing/running ESXi, but we don’t do that on a Nutanix node. There, the OS is installed on the local internal drives, not on a USB stick or an SD card.

19 08 2013
Lewis

so it installs ESXi Embedded or installable?

28 08 2013
Bas Raayman

We use the installable version, not the embedded.

7 11 2013
Cookster

Hi Bas, I have an old NX-2000 that I would like to upgrade to 5.1. You mentioned you could give a link to a customized image. I’d really appreciate if you could email me that link. Cheers.

4 04 2014
http://morpheusfxsolutions.com/

Good day! Do you know if they make any plugins to help with
Search Engine Optimization? I’m trying to get my blog
to rank for some targeted keywords but I’m not seeing very good success.
If you know of any please share. Cheers!

17 05 2014
brunasse

Mon petit doigt me dit que ce poste va aller sur
mon blog

10 06 2014
Callie

Je vois immédiatement que vous connaissez très bien ce que vous
dites

15 08 2014
site de sexe gratuit

Ѵraiment intéressant, je crois que ce poste ɗevrait intéresser mon ami

21 09 2014
Ahmad

I read a lot of interesting articles here.
Probably you spend a lot of time writing, i know how to save you a lot of work, there is an online tool that creates high quality,
google friendly posts in seconds, just search in google
– laranitas free content source

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

Join 3,444 other followers

%d bloggers like this: