コンテンツへスキップ
ホーム » vmware ESXi 5.1 から 5.5 にアップグレード

vmware ESXi 5.1 から 5.5 にアップグレード

ほぼ自分用メモ。

ゲストOS停止 → メンテナンスモード → ESXiアップグレード -> メンテナンスモード解除 → ゲストOS起動 の順で作業をする事。ゲストOSの停止と起動、メンテナンスモードへの切り替えは、VMware vSphere Client からで良い。今回は楽をして、WEB経由でのアップグレードを行う。ちなみに、メーカーから公開されているisoでインストールしている方は要注意。動作しなくなっても責任は取れないので、念の為。

 

ゲストOSを全て停止したら、メンテナンスモードにする。それらが完了したら、SSHでESXiサーバへログインする。まず、httpClient を有効化する。

# esxcli network firewall ruleset list | grep httpClient
httpClient            false
# esxcli network firewall ruleset set --ruleset-id=httpClient --enabled=true
# esxcli network firewall ruleset list | grep httpClient
httpClient            true

次に、アップグレード対象のプロファイル一覧を取得する。

# esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | sort -r | grep ESXi-5.5
ESXi-5.5.0-1331820-no-tools       VMware, Inc.  PartnerSupported
ESXi-5.5.0-1331820-standard       VMware, Inc.  PartnerSupported
ESXi-5.5.0-20131201001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20131201001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20131204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20131204001-standard   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-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140302001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140401020s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140401020s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140404001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140404001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140604001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140604001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140701001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140701001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140704001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140704001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140901001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140901001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140902001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20140902001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141001001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141001001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141004001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141004001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20141204001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150101001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150101001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150104001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150104001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150204001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150402001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150402001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150501001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150501001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150504001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150504001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150901001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150901001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150902001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20150902001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151004001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151004001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151201001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151201001s-standard  VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20151204001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20160104001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20160104001-standard   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20160204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-5.5.0-20160204001-standard   VMware, Inc.  PartnerSupported

適応したいプロファイルを選んで適用させる。

# esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20160204001-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_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.nk_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_b50.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.3.78.3248547, VMware_bootbank_elxnet_10.2.309.6v-1vmw.550.3.60-2.33.2068190, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootb4vmw.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-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-e1000e__bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827, VMware_boo623387, VMware_bootbank_sata-ahci_3.0-22vmw.550.3.68.3029944, VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190,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.5scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-hpsaVMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.3.68.3029944vmw.550.3.78.3248547, VMware_locker_tools-light_5.5.0-3.78.3248547
   VIBs Removed: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.510.0.0.799733, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.510-pata-pdc2027x_1.0-3vmw.510.0.0.799733, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.510.0.0.799733, VMware_bootbank_733, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.510.0.0.799733, VMware_bootbank_esx-base_5.1.0-3.50.2323236, VMware_bootbanktbank_esx-xserver_5.1.0-1.22.1472666, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.510.0.0.799733, VMware_bootbank_ipmi-iVMware_bootbank_net-e1000_8.0.3.1-2vmw.510.1.16.1157734, VMware_bootbank_net-e1000e_1.1.2-3vmw.510.2.23.1483097, VMware_0.799733, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.510.0.0.799733, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.510.0.0.799733.510.0.0.799733, VMware_bootbank_sata-sata-promise_2.12-3vmw.510.0.0.799733, VMware_bootbank_sata-sata-sil24_1.1-1vmw.51d_1.1.5.1-9vmw.510.0.0.799733, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.510.0.0.799733, VMware_bootbank_scsi-aic79xx_3scsi-ips_7.12.05-4vmw.510.0.0.799733, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.510.0.0.799733, VMware_bootbank_s.2.44.2191751, VMware_bootbank_scsi-rste_2.0.2.0088-1vmw.510.2.23.1483097, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.510.0.
   VIBs Skipped: VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820, VMware_bootbank_misc-cnic-register_1.72.1.v50e_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, VM.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-tg3_3.123c.v50, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.3.68.302i-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820

httpclient を無効化して、再起動を行う。

# esxcli network firewall ruleset list | grep httpClient
httpClient            true
# esxcli network firewall ruleset set --ruleset-id=httpClient --enabled=false
# esxcli network firewall ruleset list | grep httpClient
httpClient            false
# reboot

これで 5.5 にアップグレードされます。後は、メンテナンスモードを解除し、ゲストOSを全て起動させれば完了…なんですが、ひとつ注意が必要です。
5.1 から 5.5 になると、vmtools が新しくなります。全てのゲストOSでアップデートする必要がありますので、注意!

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です


このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください