the procedure using offline bundles.
Prerequisites
Before you can update or patch an ESXi host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere Management
Assistant (vMA) virtual appliance onto your ESXi host. For information about importing or installing the
vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
- First of all we must download the offline bundles from here
- Power off any virtual machines that are running on the host and place the host into maintenance mode.
- Find out which bulletins are applicable to the ESXi host.
• Search an offline HTTP server:
vihostupdate.pl --server
• Search the local machine:
vihostupdate.pl --server
The --server argument is the ESXi host name or IP address.
Do not specify more than one bundle ZIP file at the command line each time you run the command. If you
specify --bundle more than once, the command processes only the last file that was specified.
- (Optional) List all the bulletins that are available in the bundle.
• Search an offline HTTP server:
vihostupdate.pl --server
• Search the local machine:
vihostupdate.pl --server
This command lists all the bulletins contained in the bundle, even those that do not apply to the host.
- Install bulletins from the bundle on the ESXi host.
• Install from an offline HTTP server:
vihostupdate.pl --server
• Install from the local machine:
vihostupdate.pl --server
If you omit the --bulletin argument, this command installs all the bulletins in the bundle.
- Verify that the bulletins are installed on your ESXi host.
vihostupdate.pl --server
- (Optional) Remove individual bulletins.
vihostupdate.pl --server
Use this option only for removing bulletins that are third-party or VMware extensions. Do not remove
bulletins that are VMware patches or updates. vihostupdate can remove only one bulletin at a time.
Uninstall a Bundle from a Host
Use this procedure to uninstall bulletins that are third-party or VMware extensions.
Do not remove bulletins that are VMware patches or updates.
Prerequisites
Before you can uninstall an update or patch from an ESXi host from the command line, you must have
access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system or import the VMware vSphere
Management Assistant (vMA) virtual appliance onto your ESXi host. For information about deploying or installing the vSphere CLI, see the VMware vSphere Command-Line Interface Installation and Reference Guide.
Procedure
- Determine which bulletins are installed on your ESXi host.
vihostupdate.pl --server
Note the bundle ID for the bundle to uninstall.
- Run the vihostupdate command.
vihostupdate --server
vihostupdate can remove only one bulletin at a time.
No comments:
Post a Comment