Pular para o conteúdo principal

Easily upgrade VMWare vSphere Hypervisor (ESXi)

Easily upgrade VMWare vSphere Hypervisor (ESXi): "

I enjoy playing with a lot of different virtualization technologies. I’ve been using VMware since it was one of the only games in town, back with VMware Workstation, and thoroughly enjoy using various products from VMware’s portfolio. I’ve used Workstation, Player, Server, and Fusion. I’ve also used various other virtualization technologies like Parallels, OpenVZ, VirtualBox, and KVM.


Recently, I had some spare hardware and wanted to give VMware vSphere Hypervisor (formerly known as VMware ESXi) a spin, based on a good friend’s recommendation. vSphere Hypervisor (we’ll call it ESXi for short from this point forward) is the free version of VMWare’s vSphere product. Essentially, if you have hardware that you don’t need to run a host OS on (like Linux or Windows), and only want that hardware to run virtual machines, ESXi may be something to look at.


ESXi is a Linux kernel and some management tools and services to run the virtual infrastructure, so when it boots up, there is nothing to log into aside from a management console used only for trouble-shooting and setting up the remote management console. The major difference between VMware Server, other virtualization solutions, and ESXi are that applications are run on top of a host operating system, whereas with ESXi, the host is the operating system.


Of course, ESXi is the teaser to get you to pay the big bucks for VMware vSphere, and it shows. Unless you really want to learn the ins and outs of what is an overly complex virtualization solution, you almost need to pay for the support and extra tools that the paid solutions offer. I found this out when trying to apply security patches to ESXi.


There are products to pay for that will assist in upgrading the “firmware” of the ESXi hypervisor. Trying to do this on your own is definitely doable, and actually quite easy to do, if you can find the instructions to do it.


How to upgrade the firmware without the paid products


The primary way to manage an ESXi system is via Windows. To this end, you will need the VMware vSphere CLI package (available from the VMware website) installed as well as the vSphere GUI client. Both are available for Windows; however, only the first is also available for Linux. The GUI client will not allow you to upgrade the firmware of ESXi, which is why you need the CLI tools (but you do need the GUI client to manage/shutdown/suspend the virtual machines in order to do the upgrade). So, because the client only runs on Windows, you will either need a Windows system available, or a virtualized Windows install on another machine that is separate from the ESXi host.


While VMware does offer for-pay products to assist in upgrading the “firmware” of the ESXi hypervisor, you don’t really need them (unless you have a large amount of ESXi hosts to manage and want the time-saving convenience). Doing the firmware upgrade on your own is easy enough to do with the freely available GUI and CLI tools. Finding the instructions to make it work, on the other hand, is not nearly as easy as the process itself.


When you have the vSphere CLI installed, you can access the necessary Command Prompt application from Start | All Programs | VMware | VMware vSphere CLI | Command Prompt.


Before proceeding with the patch, you will need to put the ESXi host into Maintenance Mode via the GUI client. Before putting it into Maintenance Mode, you will need to either shut down or suspend the virtual machines running on the host (or migrate them to another host). Once the ESXi host is in Maintenance Mode, in the CLI Command Prompt, type:


> cd bin

> vihostupdate.pl -i -bundle [path_to_patch].zip -url https://[IP_of_ESXi_host]/sdk/webservice

The patch ZIP file is what you would have downloaded from VMware’s site in response to a security patch being made available. This will also work when upgrading from one version to the next, such as 4.0 to 4.1.


When the above two commands are typed in, you will be asked for the administrative account’s username and password. When these are successfully provided, you will see feedback regarding the uploading of the patch, and then it will instruct you to reboot the ESXi host. Your GUI connection to the host should still be active, so at this point you can use the GUI to reboot the system. Once it has rebooted, re-connect the GUI client to the server, and exit Maintenance Mode.


When it comes right down to it, upgrading ESXi is pretty straightforward, but you won’t find that information buried in hundreds of pages of downloadable documentation, nor will you find an easy-to-understand KBase article on VMware’s site providing these simple instructions.


It’s up to you to determine whether or not running ESXi on bare metal with virtual machines is better than running a standard operating system, such as a lightweight Linux distribution with KVM. The management console for ESXi is really quite nice, but I also think it’s overly complex. Having said that, this isn’t a recommendation on what virtualization system to use, but rather an easy tip on how to upgrade ESXi if that is what you have chosen to use.







"

Comentários

Postagens mais visitadas deste blog

Favigen, Favicon Generator

Favigen, Favicon Generator : " Favicons are small icons that help identify websites. They are used as a visual representation of a website both in the web browser and at many online services. The three most prominent locations of favicons are the browser’s address bar, the tabbar and the bookmarks folder. Many webmasters like to create custom favicons to add that custom identifier to their website. Favicons can be created in many image and icon editors, but also online. Favigen is a straightforward favicon generator that can turn an image into a favicon. All that it takes is to pick an image from the local hard drive first, select the dimensions of the favicon and click the submit button to make the service generate the favicon. Favigen supports several image formats, including jpg and png, and it does not seem to have size restrictions either. Available image dimensions range are 16×16, 32×32 and 64×64. The generated favicon is displayed directly on the page. A click on do...

A simple rsync script to back up your home directory

A simple rsync script to back up your home directory : " Backing up important data is obviously something we should all do. Unfortunately, it is not always easy to make it happen. We get lazy; we do not have the additional hardware for a backup server; it takes a long time and a lot of CDs to back up to optical media; we do not trust online backup services; backup schemes are difficult to set up and use — any of dozens of reasons can stand in our way. Still, we know we should be backing up our important data. Modern open source Unix-like operating systems offer a plethora of options for incredibly simple, effective backup schemes, however. If the problem is figuring out how to set one up, a simple rsync solution may be exactly what you need. The rsync utility is used to synchronize files between two systems. It does so by way of incremental copies, only copying from the source to the destination what has not already been copied there, saving time, network bandwidth, and syst...

The 10 hottest checklists, forms, and templates of 2010

The 10 hottest checklists, forms, and templates of 2010 : " The 10 hottest checklists, forms, and templates of 2010 Takeaway: TechRepublic published nearly 400 original downloads in 2010 — from cost calculators to cheat sheets to logs, templates, and PowerShell scripts. Here’s a rundown of some of the most popular items of the year. This year, we added hundreds of resources to the TechRepublic downloads library , including PDFs detailing the latest technologies, problem-solving techniques, and tips for handling tasks efficiently. We also updated a few favorite custom tools and introduced some new ones. Among the biggest crowd-pleasers were several checklists designed help you systematically address tasks ranging from server deployments to virus removal to project risk management. Here’s what you liked best in 2010. 1: Workstation Tune-up Checklist Optimizing a slow-performing system requires a number of diagnostic and repair steps, often with...