vSphere(ESXi)のパッチ適用手順
vSphere5.1や5.5など、ESXiへのパッチ適用方法です。
事前準備
- パッチをダウンロードする
- ESXiのデータストアにパッチをアップロードする
- ESXiホストのSSHを有効にする
パッチのダウンロードについては、vSphere(ESXi)のパッチ適用手順 を参照のこと。
ここでは、datastore1というデータストアに、patchというディレクトリを作成し、その中にESXi550-201505002.zipというパッチをアップロードしたとして解説します。
適用手順
ESXiにsshで接続します。
パッチの中身を確認
1 2 3 4 5 6 7 |
~
# esxcli software sources profile list -d /vmfs/volumes/datastore1/patch/ESXi550-201505002.zip Name Vendor Acceptance Level --------------------------------
------------
---------------- ESXi-5.5.0-20150504001-no-tools VMware,
Inc.
PartnerSupported ESXi-5.5.0-20150501001s-standard VMware,
Inc.
PartnerSupported ESXi-5.5.0-20150501001s-no-tools VMware,
Inc.
PartnerSupported ESXi-5.5.0-20150504001-standard VMware,
Inc.
PartnerSupported |
以下の4種類が含まれていることが分かります。
- ESXi-5.5.0-20150504001-no-tools
- ESXi-5.5.0-20150501001s-standard
- ESXi-5.5.0-20150501001s-no-tools
- ESXi-5.5.0-20150504001-standard
適用が必要なのは、ESXi-5.5.0-20150504001-standardです。(sが付いていない方)
適用の試験
1 2 3 4 5 6 7 |
~
# esxcli software profile update --dry-run -d /vmfs/volumes/datastore1/patch/ESXi550-201505002.zip -p ESXi-5.5.0-20150504001-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-2.62.2718055,
VMware_bootbank_misc-drivers_5.5.0-2.62.2718055,
VMware_locker_tools-light_5.5.0-2.62.2718055 VIBs Removed:
VMware_bootbank_esx-base_5.5.0-2.58.2638301,
VMware_bootbank_misc-drivers_5.5.0-2.54.2403361,
VMware_locker_tools-light_5.5.0-2.54.2403361 VIBs Skipped:
VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820,
VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820,
VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_elxnet_10.0.100.0v-1vmw.550.0.0.1331820,
VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820,
VMware_bootbank_esx-tboot_5.5.0-2.33.2068190,
VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820,
VMware_bootbank_esx-xserver_5.5.0-0.0.1331820,
VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820,
VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.1.16.1746018,
VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387,
VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820,
VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387,
VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820,
VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820,
VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820,
VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820,
VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820,
VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387,
VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820,
VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820,
VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.2.54.2403361,
VMware_bootbank_net-ixgbe_3.7.13.7.14iov-12vmw.550.2.62.2718055,
VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820,
VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820,
VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820,
VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.2.33.2068190,
VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827,
VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820,
VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387,
VMware_bootbank_sata-ahci_3.0-21vmw.550.2.54.2403361,
VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190,
VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820,
VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820,
VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820,
VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820,
VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820,
VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820,
VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820,
VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.2.33.2068190,
VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387,
VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820,
VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_xhci-xhci_1.0-2vmw.550.2.39.2143827 |
適用
1 2 3 4 5 6 7 |
~
# esxcli software profile update -d /vmfs/volumes/datastore1/patch/ESXi550-201505002.zip -p ESXi-5.5.0-20150504001-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-2.62.2718055,
VMware_bootbank_misc-drivers_5.5.0-2.62.2718055,
VMware_locker_tools-light_5.5.0-2.62.2718055 VIBs Removed:
VMware_bootbank_esx-base_5.5.0-2.58.2638301,
VMware_bootbank_misc-drivers_5.5.0-2.54.2403361,
VMware_locker_tools-light_5.5.0-2.54.2403361 VIBs Skipped:
VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820,
VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820,
VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820,
VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_elxnet_10.0.100.0v-1vmw.550.0.0.1331820,
VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820,
VMware_bootbank_esx-tboot_5.5.0-2.33.2068190,
VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820,
VMware_bootbank_esx-xserver_5.5.0-0.0.1331820,
VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820,
VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820,
VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.1.16.1746018,
VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387,
VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820,
VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387,
VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820,
VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820,
VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820,
VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820,
VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820,
VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387,
VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820,
VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820,
VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.2.54.2403361,
VMware_bootbank_net-ixgbe_3.7.13.7.14iov-12vmw.550.2.62.2718055,
VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820,
VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820,
VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820,
VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.2.33.2068190,
VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827,
VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820,
VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387,
VMware_bootbank_sata-ahci_3.0-21vmw.550.2.54.2403361,
VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190,
VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820,
VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820,
VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820,
VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820,
VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820,
VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820,
VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820,
VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820,
VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820,
VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.2.33.2068190,
VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387,
VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820,
VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820,
VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820,
VMware_bootbank_xhci-xhci_1.0-2vmw.550.2.39.2143827 |
再起動
Reboot Required:true と出力された場合は、ESXiサーバを再起動する。
ディスカッション
コメント一覧
まだ、コメントがありません