VMware Update Manager as a Guest

Hi,

Is it at all possible to install VMWare Update Manager as a guest on the ESXI server you want to manage ?

Normally the Update Manager machine would have to remain up, but I was wondering if you could be sneaky sneaky with the way you remmediate the host.

Basically we have a single ESXi server, in a datacenter (along with some ubunto servers and a SAN) The ESXi server is hosting a Vcenter appliance.

We would like to be able to locally manage updates, without having to install a physical Windows box or another ESXi server.

Thanks
LVL 3
Zach2001Asked:
Who is Participating?
 
Aaron TomoskyConnect With a Mentor SD-WAN SimplifiedCommented:
I'm all for you getting update manager running on workstation as that gets you around the need for the exsi host to be in maintenance mode and therefore not run any vms.

If you want to go the other route, here is what I do. It's really easy:
go here and download the latest patch. They are cumulative so no worries, and it just installs what it needs
http://www.vmware.com/patchmgr/download.portal
save it to your datastore (I download to my pc then upload to the datastore)
ssh into esxi (putty as root)
if you want to see if the host needs maintenance mode run this (replace "zfs-uncompressed" with the name of the datastore and change the patch name):
esxcli software sources vib get -d /vmfs/volumes/zfs-uncompressed/esxipatches/ESXi500-201207001.zip | grep "Maintenance Mode Required: True"

then to install it
esxcli software vib update -d /vmfs/volumes/zfs-uncompressed/esxipatches/ESXi500-201207001.zip

it's really fast and tells you to reboot. Done.
0
 
Bill BachPresidentCommented:
I just posed this same question to VMWare tech rep last night.  His first estimate was "no", unless you can migrate or vMotion it to another host, but he was checking for me.
0
 
Zach2001Author Commented:
hehe cheers - I was gonna post there too, but thought I might as well try here first..

fingers crossed
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Aaron TomoskySD-WAN SimplifiedCommented:
It's actually really really easy to install updates using ssh. I have 5 esxi boxes an don't bother with update manager. Basically you download the update, and put it on your datastore. Ssh into the esxi box and run a one line command. I don't have it in front of me but il get it shortly. Usually you have to put esxi in maintenance mode first, patch, reboot, exit maintenance mode.
0
 
Bill BachPresidentCommented:
The recommendation I got back was actually pretty simple.  First, make sure that VMWare tools was installed as a COMPLETE install. (If not, uninstall, then reinstall it.)  Then, move the vCenter VM to a VMWare Workstation environment, where it can keep running while the ESX box is upgraded.
0
 
Zach2001Author Commented:
does the vcenter have to be up as well as the machine running the upgrade manager then ?
Our vcenter server is the linux appliance...
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Update Manager works on a virtual machine, but you clearly cannot update the Host, that the virtual machine is hosted on.
0
 
Zach2001Author Commented:
I was thinking along the lines, of once the update manager had been used to stage the updates, I could kick off the updates via console / SSH
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Not really practicable.
0
 
Zach2001Author Commented:
How come ?
The Update manager does the hard part of finding what patches are needed, downloading them and copying them to the host.

I would find it very 'practicable' - as the alternative is doing it ALL manually or deploying and managing another server.
0
 
Zach2001Author Commented:
So... if I can work out where update manager stages the updates I can easily use ESXcli, I think.
Who's with me ?
0
 
Zach2001Author Commented:
I had always thought I would have to do all the VIBs one by one - I'm sure I used to have to do that in the past.

Easy as Pie.

Cheers fella
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.