Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2016
  • Last Modified:

Cant update VMware vShere ESXi 4.1 to build 348481

I have a new VMware vShere Essential deployment. I am trying to bring it up to speed with all updates and test before I go live with it. I am having a bear of a time.

I am running embeded ESXi 4.1.0 260247. I would like to upgrade to "Update 1" build 348481

I have vCenter installed onto a VM running from this Host. Any attemps to patch the host from my Vcenter fail. Even is I stage the update before remediation. I belive this is happening because the host can not get to management mode because this is thie only host and the vCenter VM wont self terminate.

I would use Host Update Manager except that is no longer available. So my last effort here is to try vCLI with the .zip download. Even though the download from www.vmware.com/download details its un Upgrade from ESXi 4.0 "ESXi 4.1 Update 1 (upgrade ZIP from ESXi 4.0)"

Someone please tell me what I am missing. How do i get this Update 1 installed and in the long term how can I keep my ESXi host up to date if I cant remediate with vCenter installed as a VM?

Thanks!
0
eellong3
Asked:
eellong3
  • 14
  • 9
  • 4
  • +2
1 Solution
 
Brian GeeCommented:
While this doesn't necessarily address the long term fix, are you able to get your updates in the meantime through VMware Go?

https://go.vmware.com/
0
 
Danny McDanielClinical Systems AnalystCommented:
you are correct that if you are trying to patch the host that is running vCenter, it won't shutdown or migrate the VM running vCenter.

going from base level 4.1 to Update X of 4.1 isn't an "upgrade" operation...it's just a patching operation.  You will want to go to http://www.vmware.com/patch/download/ , select ESXi 4.1 and then you can download the 4.1 Update 1 patch package.  https://hostupdate.vmware.com/software/VUM/OFFLINE/release-260-20110127-912579/update-from-esxi4.1-4.1_update01.zip is the link that works for me to download it.

After you get that pkg then you can use the vcli to install it.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
and once you've download the patch update as above

follow these instructions if unsure

http://www.vladan.fr/how-to-update-the-esxi-4-1-free-version-to-esxi-4-1-update-1/
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
(free version is the same as licensed, other than the license file you've applied)
0
 
eellong3Author Commented:
Excelent - thank you. I was dloading in the wrong area I tihnk. Thanks for the go.vmware.com link also, i didnt know that existed. I will check it out.
0
 
eellong3Author Commented:
Ive dloaded the patch, danm66: thanks for the direct link!, and have run the command per the article, hanccocka: thanks for the step by step link!

I get and error however, any thoughts?
Command im running in vCLI from my workstation direct to the ESXi 4.1 host in Maintanance mode:
vihostupdate.pl –server 10.0.0.91 -i -b update-from-esxi4.1-4.1_update01.zip

I get error:
Error connecting to server at 'https://localhost/sdk/webService': Perhaps host i
s not a vCenter or ESX server
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
firewall on?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you try this

vihostupdate.pl --server host name or IP address --query

(two dashes before query)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm not sure if you copied or typed that command you are using

it's dash dash server (two dashes before the word server)

--server

vihostupdate.pl –-server 10.0.0.91 -i -b update-from-esxi4.1-4.1_update01.zip
0
 
PenguinNCommented:
You could use the vmware host update utility 4.1 instead of vSphere Update manager. Just shutdown all vm's and point the utility to your ESX/ESXi host IP address.
0
 
eellong3Author Commented:
As I understand it the Host Update Utility has been removed from the VMware Client? I dont have it as an option....
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
vihostupdate.pl is the vmware supported method.
0
 
eellong3Author Commented:
hanccocka: I have disabled my Windows Firewall on the laptop im using vCLI on. It still does not work.
I ran gthe query command you specificed, it askes for UN and PW then fails with the same error;
Error connecting to server at 'https://host/sdk/webService': Bad hostname

If I add a second dash to the original syntax it failes with ;
Unknown option: ûserver
For a summary of command usage, type 'C:\Program Files (x86)\VMware\VMware vSphe
re CLI\bin\vihostupdate.pl --help'.
For documentation, type 'perldoc C:\Program Files (x86)\VMware\VMware vSphere CL
I\bin\vihostupdate.pl'.
0
 
eellong3Author Commented:
Sorry, had a "duh-da-dah" moment. When using the correct IP address of the host in the query command it returns;
---------Bulletin ID--------- -----Installed----- ----------------Summary-------
----------
Dell                          2010-07-28T04:28:53 Bulletin which contains Dell L
icense and Configuraion VIBs
Dell_OpenManage_ESXi410_OM650 2011-05-02T17:30:12 OpenManage 6.5 for ESXi410
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
very good!

The correct IP address helps!

:-)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay, so if you use the command with --server, you should be good to go.
0
 
PenguinNCommented:
The vmware host update utility 4.1 is a sepprate tool you can install, you can install it seperatly from the client.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
http://kb.vmware.com/kb/1016209

vSphere 4.x currently offers the following applications for updating from ESX 4.x to a newer version:

vihostupdate Command-Line Utility—The vihostupdate command applies software updates to ESX 4.x/ESXi 4.x hosts and installs and updates ESX/ESXi extensions such as VMkernel modules, drivers, and CIM providers. For more information, see the vSphere Upgrade Guide.

Note: You cannot use the vSphere Host Update utility to upgrade ESX 4.x hosts. This utility is only for standalone ESX 3.x and ESXi hosts. A standalone host is an ESX host that is not managed by vCenter Server. For more information, see Cannot patch or upgrade ESX 4.0 hosts with vSphere Host Update Utility (1012467) and the vSphere Upgrade Guide.
0
 
eellong3Author Commented:
With the additional hyphen; vihostupdate.pl –-server 10.0.0.91 -i -b update-from-esxi4.1-4.1_update01.zip

I get this error;
Error connecting to server at 'https://localhost/sdk/webService': Perhaps host i
s not a vCenter or ESX server
0
 
PenguinNCommented:
hanccocka is correct on that you cannot use it for upgrading but since you are already on ESXi 4.1 and pathing your server there should be no problem. VMware recomends using the utility up to 10 hosts for patching. Anyway choose and pick whatever u like.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay let's do

vihostupdate.pl --server <ESXi IP Address> --install --bundle c:\update-from-esxi4.1-4.1_update01.zip
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you check this command works

vicfg-hostops.pl --server <ip addres> -operation info

vihostupdate.pl --server <ip address>  --query

vihostupdate.pl --server <ip address> --list --bundle c:\Temp\update-from-esxi4.1-4.1_update01.zip

vihostupdate.pl --server <ip address>  --scan --bundle c:\Temp\update-from-esxi4.1-4.1_update01.zip

finally

try this

vihostupdate.pl --server <ip addres> --install --bundle c:\Temp\update-from-esxi4.1-4.1_update01.zip --bulletin ESXi410-Update01

or use hostname if it's easier
0
 
eellong3Author Commented:
I followe your link to install the update.. here is what I typeed and what it gave me for a responce
C:\Program Files (x86)\VMware\VMware vSphere CLI>perl vihostupdate.pl --server 1
92.168.1.10 --username root --password COMtec11 -i -b update-from-esxi4.1-4.1_up
date01.zip
Can't open perl script "vihostupdate.pl": No such file or directory
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is the perl script actually located in that directory?
0
 
PenguinNCommented:
Check the following article if you still want to try the HUU.
http://www.vm-help.com/esx41/Patching_4.1_with_the_host_update_utility.php
0
 
Danny McDanielClinical Systems AnalystCommented:
you could also use the Datastore Browser to upload the .zip bundle to a datastore and then use the esxupdate command within the hosts console to install it.  iirc, you unzip the bundle (with the 'unzip' command), cd into the directory it creates, then run 'esxupdate update'
0
 
eellong3Author Commented:
VMware patching, meh. The provided syntax worked perfectly using the vihostupdate method from a laptop running vCLI.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
perl or perl libraries not correct, ive seen this before twice.

its worth getting used to using vcli, in future, because you can apply updates and upgrades with it. In VMware land updates and upgrades are different.

Glad you got updated, and will be ready for U2!
0
 
eellong3Author Commented:
As a last minute question, Would it be easier to maintain my single ESXi Essentail host if I ran vCenter on a physical server rather then in a VM? Another words, would I be able to use vCenter to then update my host?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Intersting question because of the following

vSphere 4.1 Update 1 upgrade files are failing to import into VMware Update Manager (VUM)!!!

So, in this particular instance, it wouldn't have helped!

Unless, you had done

The workaround is to create a patch baseline in VUM which will instruct VUM to download the necessary upgrade files itself which is an alternative method to utilizing upgrade bundles and upgrade baselines in VUM.

It's supposed to! But we deploy all Virtual vCenter today, and do updates via vihostupdate.pl.

Up to you. As you've only got one server, and know how to do it......
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 14
  • 9
  • 4
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now