プロジェクト

全般

プロフィール

パッチ適用

メンテナンスモード

vim-cmd hostsvc/maintenance_mode_enter

事前確認

[root@localhost:~] esxcli system version get
Product: VMware ESXi
Version: 6.0.0
Build: Releasebuild-3620759
Update: 2
Patch: 34

[root@localhost:~] esxcli software profile get
ESXi-6.0.0-20160302001-standard
Name: ESXi-6.0.0-20160302001-standard
Vendor: VMware, Inc.
Creation Time: 2017-02-07T11:56:36
Modification Time: 2017-02-07T11:57:35
Stateless Ready: True
Description:

リスト確認

esxcli software sources profile list -d /vmfs/volumes/5899b5f0-db4abcb0-3d7a-000c298f1247/ESXi600-201611001.zip

テスト実行

esxcli software profile update --dry-run -d /vmfs/volumes/5899b5f0-db4abcb0-3d7a-000c298f1247/ESXi600-201611001.zip -p ESXi-6.0.0-20161104001-standard

アップデート

esxcli software profile update -d /vmfs/volumes/5899b5f0-db4abcb0-3d7a-000c298f1247/ESXi600-201611001.zip -p ESXi-6.0.0-20161104001-standard

再起動

reboot

確認

root@localhost:~] esxcli system version get
Product: VMware ESXi
Version: 6.0.0
Build: Releasebuild-4600944
Update: 2
Patch: 52
[root@localhost:~] esxcli software profile get
(Updated) ESXi-6.0.0-20160302001-standard
Name: (Updated) ESXi-6.0.0-20160302001-standard
Vendor: localhost
Creation Time: 2017-02-07T12:12:16
Modification Time: 2017-02-07T12:12:44
Stateless Ready: True
Description:

  (Original Vendor):VMware, Inc.
  2017-02-07T12:12:16.486812+00:00: The following VIBs are
  installed:
    ehci-ehci-hcd 1.0-3vmw.600.2.52.4600944
    vsanhealth    6.0.0-3000000.3.0.2.52.4527730
    net-vmxnet3   1.1.3.0-3vmw.600.2.43.4192238
    misc-drivers  6.0.0-2.52.4600944
    esx-base      6.0.0-2.52.4600944
    esx-ui        1.9.0-4392584
    tools-light   6.0.0-2.43.4192238
    xhci-xhci     1.0-3vmw.600.2.52.4600944
    vsan  6.0.0-2.52.4590152
    lsu-hp-hpsa-plugin    2.0.0-3vmw.600.2.52.4600944
  ----------

メンテナンスモード解除

vim-cmd hostsvc/maintenance_mode_exit