[仮想化][VMware] VMware ESXi 5.5 update 1 の適用方法。

VMware ESXi

VMware ESXi 5.5 update 1 が来たことなので、早速適用してみたいと思います。

前提条件:

ESXi上の仮想マシンが全て停止していること。

手順

1. 現在のバージョンを確認する。

~ # esxcli system version get
Product: VMware ESXi
Version: 5.5.0
Build: Releasebuild-1474528
Update: 0

2. 現在のプロファイル構成を確認する。

~ # esxcli software profile get
(Updated) ESXi-5.5.0-1331820-standard
Name: (Updated) ESXi-5.5.0-1331820-standard
Vendor: esxi.kometch.local
Creation Time: 2013-12-23T08:12:47
Modification Time: 2013-12-23T08:14:19
Stateless Ready: True
Description:

2013-12-23T08:12:47.672592+00:00: The following VIBs are
installed:
tools-light   5.5.0-0.8.1474528
misc-drivers  5.5.0-0.7.1474526
esx-base      5.5.0-0.8.1474528
----------
2013-12-10T14:41:40.122446+00:00: The following VIBs are
installed:
net-tg3       3.131d.v50.1-1OEM.500.0.0.472560
----------
The general availability release of VMware ESXi Server 5.5.0
brings whole new levels of virtualization performance to
datacenters and enterprises.

VIBs: ata-pata-amd 0.3.10-3vmw.550.0.0.1331820, ata-pata-atiixp 0.4.6-4vmw.550.0.0.1331820, ata-pata-cmd64x 0.2.5-3vmw.550.0.0.1331820, ata-pata-hpt3x2n 0.3.4-3vmw.550.0.0.1331820, ata-pata-pdc2027x 1.0-3vmw.550.0.0.1331820, ata-pata-serverworks 0.4.3-3vmw.550.0.0.1331820, ata-pata-sil680 0.4.8-3vmw.550.0.0.1331820, ata-pata-via 0.3.3-2vmw.550.0.0.1331820,(以下略)

3. 適用するパッケージのプロファイルを確認する。

~ # esxcli software sources profile list -d /vmfs/volumes/MS_NFS/_patch/update-from-esxi5.5-5.5_update01.zip
Name                              Vendor        Acceptance Level
--------------------------------  ------------  ----------------
ESXi-5.5.0-20140302001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140301001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140301001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140302001-standard   VMware, Inc.  PartnerSupported

4. dry-runを付けて実行し、適用テストで問題が出ないことを確認する。

~ # esxcli software profile update --dry-run -d /vmfs/volumes/MS_NFS/_patch/update-from-esxi5.5-5.5_update01.zip -p ESXi-5.5.0-20140302001-standard
Update Result
Message: Dryrun only, host not changed. The following installers will be applied: [BootBankInstaller, LockerInstaller]
Reboot Required: true
VIBs Installed: VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.1.15.1623387, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ahci_3.0-18vmw.550.1.15.1623387, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.1.15.1623387, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387, VMware_locker_tools-light_5.5.0-1.15.1623387(以下略)

5. 上記で問題がなければ、dry-runを外し実際に適用を行う。

~ # esxcli software profile update -d /vmfs/volumes/MS_NFS/_patch/update-from-esxi5.5-5.5_update01.zip -p ESXi-5.5.0-20140302001-standard
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: VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.1.15.1623387, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ahci_3.0-18vmw.550.1.15.1623387, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.1.15.1623387, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387, VMware_locker_tools-light_5.5.0-1.15.1623387(以下略)

6. 適用できたらメンテナンスモードに切り替え、再起動を実施する。

~ # esxcli system maintenanceMode set -e true
~ # esxcli system maintenanceMode get
Enabled
~ # esxcli system shutdown reboot -r "patch add update-from-esxi5.5-5.5_update01.zip"

7. 起動してきたら、バージョンアップが正常に行われていることを確認する。

~ # esxcli system version get
Product: VMware ESXi
Version: 5.5.0
Build: Releasebuild-1623387
Update: 1

8. 修正パッチも正しく適用されていることを確認する。

~ # esxcli software vib list
Name                           Version                               Vendor    Acceptance Level  Install Date
-----------------------------  ------------------------------------  --------  ----------------  ------------
net-tg3                        3.131d.v50.1-1OEM.500.0.0.472560      Broadcom  VMwareCertified   2013-12-10
ata-pata-amd                   0.3.10-3vmw.550.0.0.1331820           VMware    VMwareCertified   2013-09-23
ata-pata-atiixp                0.4.6-4vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
ata-pata-cmd64x                0.2.5-3vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
ata-pata-hpt3x2n               0.3.4-3vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
ata-pata-pdc2027x              1.0-3vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
ata-pata-serverworks           0.4.3-3vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
ata-pata-sil680                0.4.8-3vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
ata-pata-via                   0.3.3-2vmw.550.0.0.1331820            VMware    VMwareCertified   2013-09-23
block-cciss                    3.6.14-10vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
ehci-ehci-hcd                  1.0-3vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
elxnet                         10.0.100.0v-1vmw.550.0.0.1331820      VMware    VMwareCertified   2013-09-23
esx-base                       5.5.0-1.15.1623387                    VMware    VMwareCertified   2014-03-12
esx-dvfilter-generic-fastpath  5.5.0-0.0.1331820                     VMware    VMwareCertified   2013-09-23
esx-tboot                      5.5.0-0.0.1331820                     VMware    VMwareCertified   2013-09-23
esx-xlibs                      5.5.0-0.0.1331820                     VMware    VMwareCertified   2013-09-23
esx-xserver                    5.5.0-0.0.1331820                     VMware    VMwareCertified   2013-09-23
ima-qla4xxx                    2.01.31-1vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
ipmi-ipmi-devintf              39.1-4vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
ipmi-ipmi-msghandler           39.1-4vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
ipmi-ipmi-si-drv               39.1-4vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
lpfc                           10.0.100.1-1vmw.550.0.0.1331820       VMware    VMwareCertified   2013-09-23
lsi-mr3                        0.255.03.01-1vmw.550.0.0.1331820      VMware    VMwareCertified   2013-09-23
lsi-msgpt3                     00.255.03.03-1vmw.550.1.15.1623387    VMware    VMwareCertified   2014-03-12
misc-cnic-register             1.72.1.v50.1i-1vmw.550.0.0.1331820    VMware    VMwareCertified   2013-09-23
misc-drivers                   5.5.0-0.7.1474526                     VMware    VMwareCertified   2013-12-23
mtip32xx-native                3.3.4-1vmw.550.1.15.1623387           VMware    VMwareCertified   2014-03-12
net-be2net                     4.6.100.0v-1vmw.550.0.0.1331820       VMware    VMwareCertified   2013-09-23
net-bnx2                       2.2.3d.v55.2-1vmw.550.0.0.1331820     VMware    VMwareCertified   2013-09-23
net-bnx2x                      1.72.56.v55.2-1vmw.550.0.0.1331820    VMware    VMwareCertified   2013-09-23
net-cnic                       1.72.52.v55.1-1vmw.550.0.0.1331820    VMware    VMwareCertified   2013-09-23
net-e1000                      8.0.3.1-3vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
net-e1000e                     1.1.2-4vmw.550.1.15.1623387           VMware    VMwareCertified   2014-03-12
net-enic                       1.4.2.15a-1vmw.550.0.0.1331820        VMware    VMwareCertified   2013-09-23
net-forcedeth                  0.61-2vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
net-igb                        5.0.5.1.1-1vmw.550.1.15.1623387       VMware    VMwareCertified   2014-03-12
net-ixgbe                      3.7.13.7.14iov-11vmw.550.0.0.1331820  VMware    VMwareCertified   2013-09-23
net-mlx4-core                  1.9.7.0-1vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
net-mlx4-en                    1.9.7.0-1vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
net-nx-nic                     5.0.621-1vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
net-r8168                      8.013.00-3vmw.510.0.0.799733          VMware    VMwareCertified   2013-09-23
net-r8169                      6.011.00-2vmw.510.0.0.799733          VMware    VMwareCertified   2013-09-23
net-s2io                       2.1.4.13427-3vmw.510.0.0.799733       VMware    VMwareCertified   2013-09-23
net-sky2                       1.20-2vmw.510.0.0.799733              VMware    VMwareCertified   2013-09-23
net-vmxnet3                    1.1.3.0-3vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
ohci-usb-ohci                  1.0-3vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
qlnativefc                     1.0.12.0-1vmw.550.0.0.1331820         VMware    VMwareCertified   2013-09-23
rste                           2.0.2.0088-4vmw.550.1.15.1623387      VMware    VMwareCertified   2014-03-12
sata-ahci                      3.0-18vmw.550.1.15.1623387            VMware    VMwareCertified   2014-03-12
sata-ata-piix                  2.12-9vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
sata-sata-nv                   3.5-4vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
sata-sata-promise              2.12-3vmw.550.0.0.1331820             VMware    VMwareCertified   2013-09-23
sata-sata-sil24                1.1-1vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
sata-sata-sil                  2.3-4vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
sata-sata-svw                  2.3-3vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
scsi-aacraid                   1.1.5.1-9vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
scsi-adp94xx                   1.0.8.12-6vmw.550.0.0.1331820         VMware    VMwareCertified   2013-09-23
scsi-aic79xx                   3.1-5vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
scsi-bnx2fc                    1.72.53.v55.1-1vmw.550.0.0.1331820    VMware    VMwareCertified   2013-09-23
scsi-bnx2i                     2.72.11.v55.4-1vmw.550.0.0.1331820    VMware    VMwareCertified   2013-09-23
scsi-fnic                      1.5.0.4-1vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
scsi-hpsa                      5.5.0-44vmw.550.0.0.1331820           VMware    VMwareCertified   2013-09-23
scsi-ips                       7.12.05-4vmw.550.0.0.1331820          VMware    VMwareCertified   2013-09-23
scsi-lpfc820                   8.2.3.1-129vmw.550.0.0.1331820        VMware    VMwareCertified   2013-09-23
scsi-megaraid-mbox             2.20.5.1-6vmw.550.0.0.1331820         VMware    VMwareCertified   2013-09-23
scsi-megaraid-sas              5.34-9vmw.550.1.15.1623387            VMware    VMwareCertified   2014-03-12
scsi-megaraid2                 2.00.4-9vmw.550.0.0.1331820           VMware    VMwareCertified   2013-09-23
scsi-mpt2sas                   14.00.00.00-3vmw.550.1.15.1623387     VMware    VMwareCertified   2014-03-12
scsi-mptsas                    4.23.01.00-9vmw.550.0.0.1331820       VMware    VMwareCertified   2013-09-23
scsi-mptspi                    4.23.01.00-9vmw.550.0.0.1331820       VMware    VMwareCertified   2013-09-23
scsi-qla2xxx                   902.k1.1-9vmw.550.0.0.1331820         VMware    VMwareCertified   2013-09-23
scsi-qla4xxx                   5.01.03.2-6vmw.550.0.0.1331820        VMware    VMwareCertified   2013-09-23
uhci-usb-uhci                  1.0-3vmw.550.0.0.1331820              VMware    VMwareCertified   2013-09-23
tools-light                    5.5.0-1.15.1623387                    VMware    VMwareCertified   2014-03-12

9. メンテナンスモードを解除する。

~ # esxcli system maintenanceMode set -e false
~ # esxcli system maintenanceMode get
Disabled

あとは仮想マシンが正常に起動できることを確認したら、適用作業は終了です。

この記事を書いた人

kometchtech

うつ病を患いながら、IT業界の末席にいるおっさんエンジニア。科学計算をしたことがないのに、HPC分野にお邪魔している。興味のある分野で学習したことをblogにまとめつつ、うつ病の経過症状のメモも置いておく日々。じつはRouterboard User Group JPの中の人でもある。 Amazon欲しいものリスト / Arm板を恵んでくれる人募集中

いつか、そのとき、あの場所で。rev.2
タイトルとURLをコピーしました