Sunday, August 24, 2008

Applying the Time Bomb Patch to an ESXi server

Anyone running a VMware ESX server has already heard about the time bomb issue with 3.5 update 2 and have hopfully fixed the issue by now.

But I wanted to post my findings wtih patching the ESXi 3.5 U2 server using the RCLI. This is the way you need to patch a host that is not being managed by VirtualCenter server that has update manger running.

First you'll need to install the RCLI sofware on your PC, (for this I'm going to cover using the Windows version of the RCLI.

This link will help download and install the RCLI software:
http://pubs.vmware.com/vi3i_e35/server_config/wwhelp/wwhimpl/common/html/wwhelp.htm?context=server_config&file=sc_use_rcli.18.8.html

You will also need to get the u2 patch - that can be found at http://www.vmware.com/landing_pages/esxexpresspatches.html

The file you need can be found at - http://www.vmware.com/go/esxiu2patch081208

If you did a default install of the RCLI software a command prompt link will be created in the vmware folder that will take you to the following location (Start All Programs VMware RCLI)

C:\Program Files\VMware\VMware VI Remote CLI\

Once at thsi command prompt change into the bin folder making your path
C:\Program Files\VMware\VMware VI Remote CLI\bin>

Now copy the ESXi patch that you downloaded and put in the bin folder, file should be called ESXe350-200807812-O-BG.zip

Now you are ready to install the patch to your ESXi host - - -

First lets find out what versions your ESXi box is currently running - from the bin location run the following command.

vihostupdate.pl --server 10.10.1.104 -q
Where 10.10.1.104 is your ESXi IP or name - and you will be promted for an id and password of the host.

You will see results that look like this - assuming you are running ESXi 3.5 u2 gold code.
VMware ESX Server 3i 3.5.0 build-103909
Installed packages:

firmware 103909
viclient 103682
tools 103909

Run the following command from this location
C:\Program Files\VMware\VMware VI Remote CLI\bin>

vihostupdate.pl --server 10.10.1.104 -i -b ESXe350-200807812-O-BG.zip

Where 10.10.1.104 is the name or IP of your host. (its important to put the -i before the -b)

The above command will prompt you for an ID and password to the host - enter it and the patch will connect to the host and begin the install.

The fist step of this command will extract the zip file to the RCLI server; that is what the -b switch does - if you look in the Bin folder on your RCLI server will will see four folders get created.
The ESXe350-200807812-O-BG folder contains the matadata.xlm file that xml file is called buy the script and it applies the patches. The other three folders contain the actual patches; one for the firmware, one for the tools and the last is for the viclient.

When you run the command you will see the following output -
Enter username: root
Enter password:
unpacking ESXe350-200807812-O-BG.zip ...
( skipping verification : ESXe350-200807812-O-BG/ESXe350-200807812-I-BG.zip.sig )
unpacking ESXe350-200807812-O-BG/ESXe350-200807812-I-BG.zip ...
( skipping verification : ESXe350-200807812-O-BG/ESXe350-200807402-T-UG.zip.sig )
unpacking ESXe350-200807812-O-BG/ESXe350-200807402-T-UG.zip ...
( skipping verification : ESXe350-200807812-O-BG/ESXe350-200807403-C-UG.zip.sig )
unpacking ESXe350-200807812-O-BG/ESXe350-200807403-C-UG.zip ...
Installing : ESXe350-200807812-I-BG
Copy to server : VMware-image.tar.gz ...
Copy to server : VMware-OEM-image.tar.gz ...
Copy to server : descriptor.xml ...
Copy to server : install.sh ...
Copy to server : contents.xml.sig ...
Copy to server : contents.xml ...
Removed ESXe350-200807812-I-BG Success Not applicable : ESXe350-200807402-T-UG. Skipped.Not applicable : ESXe350-200807403-C-UG. Skipped.

The host needs to be rebooted for the new firmware to take effect.
Type 'yes' to continue:


Type yes to re-boot the host, when the server is finished re-booting us the -q command to verify the patch level you should be at the following levels on the three versions.
VMware ESX Server 3i 3.5.0 build-110180
Installed packages:

viclient 103682
tools 103909
firmware 110180

You'll notice that only the firmware verison is changed.

Wednesday, August 6, 2008

ESXi running without no USB key needed

So today I confimed (again) that you do not need to keep the ESXi USB key attached to the server once its loaded. You can make all the changes to the server, all without the bootable USB key physically attached....


Now why??? No idea even why I tested it, and have no real reason for the ability to do it. But its cool, server with no hard drives and no USB key (internal or external) running ESXi and hosting VMs. Not that is a hypervisor.

BUT - the ESXi web page will work but the VI Client download link will not work unless you attach the USB drive again. That file is not loaded in to memory.

Sunday, July 27, 2008

VMware ESXi for Free

VMware has announced that ESX i (hypervisor version of ESX) will be available for free starting the week for July 28th.

http://blogs.vmware.com/partner/2008/07/important-produ.html

For those that do not know ESX i is has the same VI3 functionality as the full ESX server version minus the service console. Wich in my opinion is long over due, the services console has done nothing but confuse ESX with some sort of Linux based operating systems. When in fact ESX is and always has been a hypervisor and the service console is just a virtual machine used to manage the hyoervisor.

ESX i did not launch with all the VI3 features (VMware HA, VCB) and that was one major reason why a lot of customers/admins did not move forward. That combined with people using the services console for things other then management, I.E. backups, third party agents ect.

But with the latest updates to ESX i you can now fully deploy it into a VI3 environment (assuming your operation process do not relay on third part agents running in the services console).

I for one am excited about this announcement, I've been working/planning the migration away for ESX server to i since it was announced last September (2007). Now with pricing on my side and the features matching that of ESX server, I have a more clear path to deploying ESX i into production.

Friday, July 25, 2008

vCharterPro - Review part 1

Been working for a while with Vizioncore on their new release of the VI3 monitoring utility. vChaterPro (new release to vCharter) is a monitoring tool for a VMware Virtual Infrastructure.

The tool has been a great help and is to a fault over detailed in the information it supplies, but once you get past the shock of being overloaded with data and start digging into and finding valuable information about your VMs you will be hooked on the interface.


For me is has become the interface that I now keep up and running all day, its replaced the VirutalCenter client on my desktop. I'm not saying it replaces VC!!! I'm saying for me an Architect that does not deploy VMs or ESX hosts, I can not not log into VC for the VM information that is valuable to me. I.E. host and VM perform ace.

The user interface at first glance is not very intuitive and you'll need to do a lot of work setting up application dashboards but when I mean work its not coding its as easy as drag and drop. But finding what your looking for can be a challenge (con of having all this information at our finger tips).


Above is a screen shot of one of my favorite screen dashboards, its an over over of the entire VirtalCenter - from here I can see alerts, CPU load, Network, disk, memory all at a high level. From here I can now dive into any direction I wish.

With vCharterPro you can drill down form Cluster all the way to VM and see any of its current or past usage. The tool also enables you to create unique dashboards based on any topic you wish.

I use the dashboard feature every time I deploy a new infrastructure for a project. First by using vCharterPro to monitor the development and QA servers I can then use those number to build a production world that I know will support the needs of the application.

Thursday, July 24, 2008

1st Run

This a sample test to see how the site works with my main page http://www.virtualrw.com/. I'm figuring this is an easy way to add a good blogging utility to my site.