VMware Cloud Community
lvaibhavt
Hot Shot
Hot Shot

Upgrade ESX 3.5 U3 to 3.5 U5

Hi all,

I have a ESX Server running 3.5.0 U3. I have to upgrade it to 3.5.0U5. I have downloaded the upgrade package (zip file). I want to do this from command line.

I did google it up but not sure if below command will work

esxupdate --bundle <upgrade.zip> update

Also I need to know if how can I revert to U3 from U5 if things do not fall in place from it from command line. This is a DEV Server with no VM’s on it. I do not want to go for a fresh installation.

Appreciate your help on this

Thanks

0 Kudos
21 Replies
aravinds3107
Virtuoso
Virtuoso

esxupdate --bundle <upgrade.zip> update

Yes you can use this syntax to perform the update

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
Sreec
VMware Employee
VMware Employee

Hi,

    Please find the Supported way of upgrading the host >http://kb.vmware.com/kb/1022140

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos
vmroyale
Immortal
Immortal

That syntax is correct. I blogged about using esxupdate in ESX 4, but as far as I remember the process is exactly the same in 3. There are a couple of other commands (scan, stage) you can use to help ensure a smooth upgrade.

Also I need to know if how can I revert to U3 from U5 if things do not fall in place from it from command line.

"The esxupdate utility does not support rolling back or removing any type of updates. You cannot remove patches once they have been installed." -from Patch Management for ESX Server 3

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

Thank you all for the reply,

So once I have upgrade the host from from U3 to U5. How do I come back to U3 if I have to revert the changes

Thanks

0 Kudos
aravinds3107
Virtuoso
Virtuoso

As metnioned byvmroyale

you wont be roll back to U3

"The esxupdate utility does not support rolling back or removing any   type of updates. You cannot remove patches once they have been   installed." -from Patch Management for ESX Server 3

http://www.vmware.com/pdf/esx3_esxupdate.pdf

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

I ran the command on a test machine of mine and it returns an error

[root@esx351 sbin]# esxupdate --bundle upgrade-from-esx3.5-3.5.0_update05-207095.zip update
option --bundle not recognized
Enter /usr/sbin/esxupdate by itself to see a summary of commands and options.

I am looking into it

0 Kudos
aravinds3107
Virtuoso
Virtuoso

Have you copied the upgrade file to a temporarty location on the host and are you running the command from that location (where is zip is located)

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

yes I have copied the zip file to tmp directory and I am running it from there

[root@esx351 tmp]# ls -l
total 452388
-rw-------    1 root     root            5 Jan 17 03:02 cimserver_start.conf
srwxrwxrwx    1 root     root            0 Jan 17 03:02 cimxml.socket
drwxr-xr-x    2 root     root         4096 Jan 17 03:01 hsperfdata_root
-rw-r--r--    1 root     root     462775717 Jan  8 03:24 upgrade-from-esx3.5-3.5.0_update05-207095.zip
[root@esx351 tmp]# esxupdate --bundle upgrade-from-esx3.5-3.5.0_update05-207095.zip update
option --bundle not recognized
Enter /usr/sbin/esxupdate by itself to see a summary of commands and options.
[root@esx351 tmp]#

0 Kudos
aravinds3107
Virtuoso
Virtuoso

any details you can get from log /var/log/vmware/esxupdate.log

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

Nothing helpful from the log file

0 Kudos
lvaibhavt
Hot Shot
Hot Shot

Attached is the snapshot from the Host when I run esxupdate command.

The switch --bundle is not present.

Please let me know how do I go about upgrading the Host from Command line.

I have downloaded the package upgrade-from-esx3.5-3.5.0_update05-207095.zip from the site.

Thanks

0 Kudos
aravinds3107
Virtuoso
Virtuoso

Use  esxupdate -b <bundle ID> update

First command in the screenshot

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
memaad
Virtuoso
Virtuoso

Hi,

Please update file in one of the datastore and unzip it , then run the command

esxupdate -m metadata.zip update

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

@ Arvind :: I have attached the snapshot with the error that I am getting when I run the command

@ Memaad ::: How are you buddy? When I extract the zip I do not see any file by name metadata.zip

Thanks

0 Kudos
memaad
Virtuoso
Virtuoso

Hi,

I am good. when you unzip it what all files you see. Can you give screen shot of list of files.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

Memaad -- snapshot attached

0 Kudos
memaad
Virtuoso
Virtuoso

Hi ,

Browse the folder  "Offline" ,  give me screen shot  of it.


Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
lvaibhavt
Hot Shot
Hot Shot

snapshot attached

0 Kudos
memaad
Virtuoso
Virtuoso

Hi,


As per this update, it says content.xml.sig is missing from  /tmp/ . Can you please manually place it in this location and try upgrade. You can find this file once you unzip it upgrade zip file.


Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos