VUM time outs - and CLI patching!

Hi there,

I am trying to get my lab all shiny and ready for a new technical whitepaper I am going to work on.  One thing that has thwarted me is the update of the two hosts in my second cluster.  One would hang at 24% and one one hang at 0%.  And this was after I restarted and had both in maintenance mode.

So I thought to do a CLI update and hope that would work.  First, all the the examples I found on the internet to do that failed.  The image profile they were using was old.

So I visited this URL to get the latest image profile name.  You can find a 6.0 or a 6.5 image profile at that site and make sure to use the current one.  That means when you use it in the CLI update that you will be updated to that current level.  Once you have the name substitute it where appropriate below. The appropriate place is in bold.

esxcli software profile install -p ESXi-6.5.0-20171004001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
Once you have the proper name sub it in and copy and paste.  What you see above is current for 11/20/17.  I am using install rather then update as it seems to work better.
BTW, this actually at first did not work for me.  The command responded with there was .VIBs that would be removed if this went ahead.  I think that is what was breaking VUM.  I looked at the three VIBs on one host, and the one on the other host and realized I did not need them.  So I added -ok-to-remove to the end of the command.
esxcli software profile install -p ESXi-6.5.0-20171004001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -ok-to-remove
That worked great, and I had to reboot the hosts and all was good.
I liked how I could use these commands to see what was stopping the update, and still get it done.  I was able to confirm that VUM worked now too.
Michael
=== END ===

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.