Skip to content

Instantly share code, notes, and snippets.

@hidepin
Last active December 20, 2016 13:20
Show Gist options
  • Select an option

  • Save hidepin/d54072be15ef201004777339ceb0e9d8 to your computer and use it in GitHub Desktop.

Select an option

Save hidepin/d54072be15ef201004777339ceb0e9d8 to your computer and use it in GitHub Desktop.
事前にバージョン確認
[root@esxi:~] esxcli system version get
Product: VMware ESXi
Version: 6.0.0
Build: Releasebuild-3620759
Update: 2
Patch: 34
depotファイルのプロファイルを確認
[root@esxi:~] esxcli software sources profile list -d /vmfs/volumes/datastore/img/VMware-ESXi-6.5.0-OS-Release-4564106-HPE-650.9.6.0.28-Nov2016-depot.zip
Name Vendor Acceptance Level
-------------------------------------- -------------------------- ----------------
HPE-ESXi-6.5.0-OS-Release-650.9.6.0.28 Hewlett Packard Enterprise PartnerSupported
メンテナンスモードへ変更
ドライランでアップデートができるか確認
[root@esxi:~] esxcli software profile update --dry-run -d /vmfs/volumes/datastore/img/VMware-ESXi-6.5.0-OS-Release-4564106-HPE-650.9.6.0.28-Nov2016-depot.zip -p HPE-ESXi-6.5.
0-OS-Release-650.9.6.0.28
Update Result
Message: Dryrun only, host not changed. The following installers will be applied: [BootBankInstaller, LockerInstaller]
Reboot Required: true
アップデート
[root@esxi:~] esxcli software profile update -d /vmfs/volumes/datastore/img/VMware-ESXi-6.5.0-OS-Release-4564106-HPE-650.9.6.0.28-Nov2016-depot.zip -p HPE-ESXi-6.5.0-OS-Relea
se-650.9.6.0.28
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
再起動
[root@esxi:~] esxcli system version get
Product: VMware ESXi
Version: 6.5.0
Build: Releasebuild-4564106
Update: 0
Patch: 0
http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.vsphere.upgrade.doc/GUID-122035F6-8433-463E-A0F7-B4FC71A05B04.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment