How To Patch ESXi 7 Using Command Line - Mastering VMware
How To Patch ESXi 7 Using Command Line - Mastering VMware
ESXi patching can be performed in 2 ways which are using Lifecycle Manager
or using the ESXCLI tool which is the command line method. You can use it any
of the ways you are comfortable. In this post, we will see How to Patch ESXi 7
using the command line step by step.
You can checkout about ESXi 7U3f patch details in the below link:
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 1/6
1/4/24, 8:43 PM How to Patch ESXi 7 Using Command Line | Mastering VMware
used to patch ESXi 7. You can check out our posts on the ESXCLI command line
to find out more about it:
Before starting to patch ESXi host make sure that your host is healthy & there
are enough available resources in the cluster so that you don’t face any
resource crunch issues.
So let’s see how to patch ESXi 7 Using the Command Line method step by
step:
Step 1:
You must download the released patch from VMware Portal.
Step 2:
To Patch ESXi using command line, Patch File must be accessible to ESXi host.
For that you have to upload ESXi patch file to the datastore which is accessible
to ESXi host.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will
assume that you are happy with it.
Ok
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 2/6
1/4/24, 8:43 PM How to Patch ESXi 7 Using Command Line | Mastering VMware
Step 3:
You can use PuTTY or any other tool which you are comfortable with.
Login to ESXi host using PuTTY.
Step 4:
First we have to find the available profiles in the patch file, To find run below
command:
esxcli software sources profile list -d “uploaded ESXi patch path”
For example:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will
esxcli software sources profile list -d /vmfs/volumes/ESXi2-Local-DS/V
assume that you are happy with it.
Ok
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 3/6
1/4/24, 8:43 PM How to Patch ESXi 7 Using Command Line | Mastering VMware
You will see the list of available profiles in the patch file. You can go with
standard profile or with no-tools profile which doesn’t include VMware Tools.
For example:
esxcli software profile update -d "/vmfs/volumes/ESXi2-Local-DS/VMwar
Now you can view ESXi patching has started, It will just take few seconds to
complete according to your environment. Once it is completed you will see
message like below:
Update Result
Message: The update completed successfully. but the system needs to be
rebooted for the changes to be effective.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will
assume that you are happy with it.
Ok
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 4/6
1/4/24, 8:43 PM How to Patch ESXi 7 Using Command Line | Mastering VMware
Using this way you can patch ESXi 7 using lifecycle manager easily. After
patching is completed you can check the & verify ESXi host functionality
whether it is working fine or is there any issue. If all good you can move your
ESXi host out of Maintenance mode.
If you are not comfortable using command line method you can also use
Lifecycle Manager:
That’s it for Today Friends. I hope you liked reading this post & If you find
anything more to be added or removed feel free to write it in our comments. If
you find it useful You are Feel free to share this on social media to help others
& spread knowledge.
If you have any queries on anything you are free to write it in our comments
section & we will make sure to provide you with a better solution as soon as
possible.
Join Our LinkedIn Group to get Updates & Discussions: Mastering VMware.
Check out our Facebook Group for discussions & more.
Youtocan
We use cookies alsothat
ensure Like
we&give
Share
you our Facebook
the best Page
experience onfor
ourLatest Updates.
website. If you continue to use this site we will
assume that you are happy with it.
Ok
#ESXi Patching
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 5/6
1/4/24, 8:43 PM How to Patch ESXi 7 Using Command Line | Mastering VMware
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will
assume that you are happy with it.
Ok
https://masteringvmware.com/how-to-patch-esxi-7-using-command-line/ 6/6