# esxcli system maintenanceMode set --enable true
# esxcli system maintenanceMode get
# esxcli software vib remove -n <vendor vib name> -f
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VIBs Removed: Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.58-1OEM.550.0.0.1331820 VIBs Skipped:
esxcli software vib list
command and checking the output for the VIB related to the driver you want to remove.# esxcli software vib install -d <location of the zip file>
esxcli software vib install -d /vmfs/volumes/datastore/driver-offine_bundle.zip
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.50-1OEM.550.0.0.1198611 VIBs Removed: VIBs Skipped:
# esxcli system shutdown reboot -r 'replace driver'
esxcli software profile get
Description: 2014-05-27T20:38:44.530790+00:00: The following VIBs are installed: scsi-hpsa 5.5.0.50-1OEM.550.0.0.1198611 ---------- 2014-05-27T20:35:30.656249+00:00: The following VIBs have been removed: scsi-hpsa 5.5.0.58-1OEM.550.0.0.1331820 ----------
esxcli software vib get -n <driver name>
esxcli software vib get -n scsi-hpsa
Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.50-1OEM.550.0.0.1198611 Name: scsi-hpsa Version: 5.5.0.50-1OEM.550.0.0.1198611 Type: bootbank Vendor: Hewlett-Packard Acceptance Level: VMwareCertified Summary: hpsa: scsi driver for VMware ESX Description: HP Smart Array SCSI Driver ReferenceURLs: Creation Date: 2013-08-19 Depends: vmkapi_2_2_0_0, com.vmware.driverAPI-9.2.2.0 Conflicts: Replaces: Provides: Maintenance Mode Required: True Hardware Platforms Required: Live Install Allowed: False Live Remove Allowed: False Stateless Ready: True Overlay: False Tags: driver, module Payloads: scsi-hps
# esxcli system maintenanceMode set --enable false
# esxcli system maintenanceMode get
Disabled
esxcli software vib get -n <driver name>
esxcli software vib get -n scsi-hpsa
Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.58-1OEM.550.0.0.1331820
Name: scsi-hpsa
Version: 5.5.0.58-1OEM.550.0.0.1331820
Type: bootbank
Vendor: Hewlett-Packard
Acceptance Level: VMwareCertified
Summary: hpsa: scsi driver for VMware ESX
Description: HP Smart Array SCSI Driver
ReferenceURLs:
Creation Date: 2013-12-16
Depends: vmkapi_2_2_0_0, com.vmware.driverAPI-9.2.2.0
Conflicts:
Replaces:
Provides:
Maintenance Mode Required: True
Hardware Platforms Required:
Live Install Allowed: False
Live Remove Allowed: False
Stateless Ready: True
Overlay: False
Tags: driver, module