Updating ESXi that hosts vCSA and VUM in the local storage

Dear VMware Experts,

I have a VMware 6.0 infrastructure that consists of 2 ESXi Hosts.

ESXi Host 1: has VMs, vCSA and VUM as a virtual machine
ESXi Host 2: has currently one VM and will be used as a DR/Backup Server

There is no Shared Storage, each ESXi is using its local storage.

Using VUM (that resides on ESXi 1) the ESXi Host 2 was updated successfully.

When I try to update/patch the ESXi 1 and although I select the option to not shutdown the VMs,
the update fails with the following message:
Cannot remediate host because it cannot enter maintenance mode

Please note that I have also tested to enable / disable the option of Entering the Host in maintenance mode.

Is there any option manual or automatic in order to update the ESXi host that has vCenter and VUM
and no shared storage in order to move the VMs to another host?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mr TorturSystem EngineerCommented:
yes you have to shutdown your vCSA and VUM VM too. Because you must enter maintenance mode, with no VM online.
You can then try to update your hosts manually with the command line, with console, or your favorite ssh client.


Hope this help.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
without shared storage, vMotion using VCSA and VUM, you will always have issues, where you need to move the VMs, to the other Host Server, before you can patch it, and enter maintenance mode.
mamelasAuthor Commented:
Dear experts thank you for your answers.

Unfortunately I cannot afford buying a shared storage hence the design of the infrastructure is currently with Local Storage.

Q1) From VMware’s Portal I select the ESXi (Embedded and Installable).
Do I need to download all the updates or If I select the latest one update will also include the previous ones?

Q2) Since I have a custom ESXi HP image, should I use the Update command from the KB article?

Q3) Updating the ESXi (Embedded and Installable) will also update all the VMs that reside to this ESXi?

Q4) Currently my VMs are on the parent directory and not under vmfs/datastores.
I have created a folder to that directory in order to store the Updates but I cannot locate it from the CLI using SSH. I have also tried to create the folder under vmfs/datastores/ but again I cannot locate the directory using “cd” or “ls -l” command. Any idea?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Q1. No just the last update, updates are cumulative.

Q2. Yes, use the update flag to update and patch the OS.

Q3. No. You will have to manually update VMware Tools.

Q4. screenshots please, you should have a VMFS/volumes/datastore folder, even for local storage ?

you can update direct from internet withiout uploading to VMFS datastore.
mamelasAuthor Commented:
Dear Andrew,

Q1-Q3 are noted with thanks!

Regarding Q4 I am attaching you 2 screenshots of the Datastore one from vSphere Client and one from SSH.
Datastore via vSphere ClientDatastore via SSH
Regarding the direct update via internet, is there any command that I could run from the SSH?
During update procedure the patches will be installed on a temporary folder?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
in vSphere Client, under storage what is the datastore called ?

Local Datastore ?

something is odd, with your setup......

you can do this...

esxcli network firewall ruleset set -e true -r httpClient
  esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20150204001-standard

Open in new window

this is an example
mamelasAuthor Commented:
Yes the name is Local Datastore. But I cannot locate the OfflinePatches directory via CLI.
Am I typing wrong command??

Regarding the direct internet option:

if I run the following command will download and install the latest available update
"ESXi600-201504001.zip" ???:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi600-201504001.zip-standard

Open in new window

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
providing you have the correct patch file name, and specify the correct profile.

if you type

cd "/vmfs/volumes/local datastore"

this should take you to the datastore, be careful of he space, in between local and datastore, you would be better using no spaces, e.g. local-datastore
mamelasAuthor Commented:
Dear Andrew,

I removed the spaces from the datastore name and I could “cd” the “Offline Updates” directory.


I had already downloaded the ESXi600-201504001.zip created on 04/09/2015 assuming that the 09 was the month.
ESXi600-201504001 Patch
Following I run the Update command in order to update the ESXi.

You will notice from the attached SSH log that there are some removed VIBs:
VIBs Removed: Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.106-1OEM.550.0.0.1331820, LSI_bootbank_scsi-mpt2sas_15., VMware_bootbank_esx-base_6.0.0-0.0.2494585


Although the Update result was successful, after rebooting the ESXi Server I noticed that the (local) Datastore was not available and there was a message under Configuration tab informing me to create a Datastore.

I have tried the following with no luck:
-      Rescan All
-      Add Datastore (but there is no available Disk/LUN)
-      Reboot ESXi
-      I also booted the ESXi using the custom image of HP and I selected the Update option  (in order to install/update any missing driver)

Q1) The problem started once I updated the ESXi using an earlier patch. But since I used the Update command it should skip drivers/files that were newer, right?

Q2) Should I use the custom image and perform a new installation of the ESXi? (Luckily the ESXi OS is installed on a USB Flash disk, therefore the Datastore/LUN will not be affected)

Q3) Should I repeat the Update procedure using the latest Update/Patch?

Any recommendation please??
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
it would appear the update has removed the driver (VIB) for the storage controller - which is odd.

Is your ESXi 6.0 hosts, an upgraded 5.5 or clean install 6.0, and I assume OEM HP install ?
mamelasAuthor Commented:
Hi there Andrew,

It is a clean HP OEM version 6 image installation.

And you are correct the raid driver is missing.
I am attaching you Health status photos from ESXi-02 which was updated successfully via VUM
and ESXi-01 which was updated from the SSH and cannot find Datastore.

So, what do you recommend me to do now?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
was this the same update applied vi VUM ?

you can always rollback, shift-r at start of boot.
mamelasAuthor Commented:
No, ESXi-02 was updated from VUM.

ESXi-01 has on the local storage the VUM and vCenter , I have not shared storage and the edition of the vSphere has no vMotion option ,therefore the only way to update the ESXi-01 was to update manually via command line.

Currently the ESXi-01 was updated twice.
Once with the earlier patch, which removed the driver
and second with the OEM ESXi ISO using update option (not install)

Therefore I have to rollback twice...is that possible and how?
mamelasAuthor Commented:
So I rollback once but unfortunately there is no datastore.
Trying to rollback further I got a message "No alternative hypervisor to roll back"

What should I try next??
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Re-install 6.0 from scratch and patch.
Mr TorturSystem EngineerCommented:
I would add be really carefull during the v6 installation not to overwrite the VMFS datastore if you have existing VM or data on it. I don't know vsphere 6 very much, but a question was asked during setup on past versions : when the setup detects existing datastore, if you want to overwrite or keep VMFS volume. Don't make the wrong choice..

And then maybe you could try to copy your VUM update files you used for ESXi2 on ESXi1, and use it with update command. Because if I understand correctly it seems you got the good method (from Andrew) but that your update fils was not the good ones.
mamelasAuthor Commented:
I have re-installed the HP Custom image and the Driver was installed back again.
Although I could Browse the Datastore the VM were not listed under the ESXi.

Any idea for this?

Regarding the Patch update that removed the Driver, I have escalated this error to HP support and I will revert.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct, you need to re-register the VMs with the Inventory.

Browse the VM Folder, RIght Click the VMX, Register with Inventory.

see step 6 in this EE Article of mine

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

and if you get this question?

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)
mamelasAuthor Commented:
Dear Experts,

I was informed from HP support that on the latest ESXi version, VMware has removed the HP Raid driver. Therefore they recommended me to use the custom image of HP which is one version earlier (600.U1.9.3).

This custom version was published on 28/Oct/2015.

Q1) Updating the ESXi with this ISO is same as running the VUM in that date ? (I mean that it will take all the updates till 28/Oct/2015?)

Q2) If it is recommended to use the custom images of the manufacture what's the use of the VUM?
       do I need it or not?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can add HP updates also to VUM!

as to what you use to make it easier to update your hosts is up to you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.