How to patch Esxi like another esxi?

Well, usually we use VUM (Vmware Update Manager) to to so. But if you create a dynamic baseline. The last Esxi will have new update from Vmware.

If i check the Esxi-1 server, the version i want is

esxi-1-version

Esxi-3 server, the version is

esxi-3-version

So he have to use PowerCli to check installed update on Esxi-1 server.

Get-VMHostPatch esxi-1.super-vilains.bad | select ID

We can see all patch on the Esxi

powershell-list-patch

Now we use VUM to create a new baseline.

Go to Update Manager and create a new Baseline and setup as below

baseline-1

Choose Fixed baseline

baseline-2

Now you have to choose the path to be added in your basline, as you can see there’s a lot of patches.

baseline-3

Click on Type contains and choose Vendor ID

baseline-4

Now you can copy and paste patch finded with the PowerCli command

baseline-5

Add all patch in your fixed baseline

baseline-6

At the end you can see information for your new baseline

baseline-7

Ok, now select your Esxi anc click on Update Manager, Attach

Add the new baseline and click Attach

baseline-8_0

Now we can scan the Esxi for new patch

baseline-9_0

Now you can see how many patch your Esxi need to be like the others

baseline-10_0

Click on Stage button. Check the number of patch then click Next

baseline-11_0

Now you can see staged update. Click on Next

baseline-12_0

Click Finish

baseline-13_0

Now you can see staging operaions. Wait until  the status is ok.

baseline-14

Now we can deploy patch, click on the Remediate button, the screen below will appears. Click Next

baseline-15

Click on Next

baseline-16

In my case i want to deploy immediately, but you can schedule a task.

Click on Next

baseline-17

Choose the correct option depending on your settings, then click Next

baseline-18

Click on Finish

baseline-19

You can see operations, wait for Remediate entity to finish

baseline-20

Now you can see if compliance is ok

baseline-21

And as you can see the Esxi server version is the same as Esxi-1

baseline-22