ESXi update コマンド (備忘録)

ESXi System Update Process

Check the status of maintenance mode.
esxcli system maintenanceMode get

Enter maintenance mode.
esxcli system maintenanceMode set -e true

Enable firewall rule (allow) for web traffic.
esxcli network firewall ruleset set -e true -r httpClient

Run this command to see the VMware online depot and the different profiles you can upgrade from.
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.5

Update: For the latest ESXi 6.5 Update :
esxcli software profile update -p ESXi-6.5.0-20171204001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Update Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
   VIBs Installed: VMW_bootbank_ata-libata-92_3.00.9.2-16vmw.650.0.0.4564106, VMW_bootbank_ata-pata-amd_0.3.10-3vmw.650.0.0.4564106, VMW_bootbank_ata-pata-atiixp_0.4.6-4vmw.650.0.0.4564106, VMW_bootbank_ata-pata-cmd64x_0.2.5-3vmw.650.0.0.4564106, VMW_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.650.0.0.4564106, VMW_bootbank_ata-pata-pdc2027x_1.0-3vmw.650.0.0.4564106, VMW_bootbank_ata-pata-serverworks_0.4.
....

Re-enable the firewall with this command:
esxcli network firewall ruleset set -e false -r httpClient

Reboot the host to complete the upgrade > Exit the Maintenance mode.
esxcli system maintenanceMode set -e false

Accessibility Toolbar