Upgrade VMware ESXi 5.5 to 6.0

まずは、SSHでESXiのホストにログインし、httpClientのファイアウォールの設定を確認

```
# esxcli network firewall ruleset list | grep httpClient
httpClient            false
```

上記の場合、下記コマンドでhttpClientを有効に

```
# esxcli network firewall ruleset set --ruleset-id=httpClient --enabled=true
```

アップグレード一覧を取得

```
# esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | sort -r | grep ESXi-6
ESXi-6.0.0-2494585-standard       VMware, Inc.  PartnerSupported
ESXi-6.0.0-2494585-no-tools       VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160504001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160504001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160302001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160302001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160301001s-standard  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160301001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160204001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160204001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160104001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160104001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160101001s-standard  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20160101001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20151104001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20151104001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20151004001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20151004001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150902001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150902001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150901001s-standard  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150901001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150704001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150704001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150701001s-standard  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150701001s-no-tools  VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150504001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150504001-no-tools   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150404001-standard   VMware, Inc.  PartnerSupported
ESXi-6.0.0-20150404001-no-tools   VMware, Inc.  PartnerSupported
```

アップグレードパッチを適用

```
# esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.0.0-2494585-standard
```

再起動

```
# reboot
```

アップグレード後のバージョン確認

```
# esxcli system version get
※以下の表示は都合上2016年7月28日現在の最新版 ESXi 6.0

   Product: VMware ESXi
   Version: 6.0.0
   Build: Releasebuild-3825889
   Update: 2
   Patch: 37
```

アップグレード後のパッチ適用状況確認

```
# esxcli software profile get
※以下の表示は都合上2016年7月28日現在の最新版 ESXi 6.0

(Updated) ESXi-6.0.0-20150902001-standard
   Name: (Updated) ESXi-6.0.0-20150902001-standard
   Vendor: e180
   Creation Time: 2016-07-28T00:12:19
   Modification Time: 2016-07-28T00:12:19
   Stateless Ready: True
   Description: 
      
      (Original Vendor):VMware, Inc.
      2016-07-28T00:12:19.207922+00:00: The following VIBs are
      installed:
        vsanhealth    6.0.0-3000000.3.0.2.37.3825892
        vsan  6.0.0-2.37.3825891
        esx-base      6.0.0-2.37.3825889
      ----------
      (Original Vendor):VMware, Inc.
      2016-07-28T00:11:34.965170+00:00: The following VIBs are
      installed:
        esx-base      6.0.0-2.34.3620759
        xhci-xhci     1.0-3vmw.600.2.34.3620759
        esx-ui        1.0.0-3617585
        vsanhealth    6.0.0-3000000.3.0.2.34.3544323
        nvme  1.0e.0.35-1vmw.600.2.34.3620759
        vsan  6.0.0-2.34.3563498
        ehci-ehci-hcd 1.0-3vmw.600.2.34.3620759
        misc-drivers  6.0.0-2.34.3620759
        tools-light   6.0.0-2.34.3620759
        sata-ahci     3.0-22vmw.600.2.34.3620759
        net-vmxnet3   1.1.3.0-3vmw.600.2.34.3620759
        esx-tboot     6.0.0-2.34.3620759
      ----------
      (Original Vendor):VMware, Inc.
      2016-01-26T00:59:42.782112+00:00: The following VIBs are
      installed:
        net-e1000e    3.2.2.1-1vmw.600.1.26.3380124
        net-tg3       3.131d.v60.4-2vmw.600.1.26.3380124
        xhci-xhci     1.0-3vmw.600.1.26.3380124
        misc-drivers  6.0.0-1.26.3380124
        ehci-ehci-hcd 1.0-3vmw.600.1.26.3380124
        tools-light   6.0.0-1.26.3380124
        esx-base      6.0.0-1.26.3380124
      ----------
      (Original Vendor):VMware, Inc.
      2016-01-26T00:59:13.224935+00:00: The following VIBs are
      installed:
        esx-base      6.0.0-1.23.3341439
        tools-light   6.0.0-1.23.3341439
      ----------
      For more information, see http://kb.vmware.com/kb/2124725.

   VIBs: ata-pata-amd 0.3.10-3vmw.600.0.0.2494585, ata-pata-atiixp 0.4.6-4vmw.600.0.0.2494585, ata-pata-cmd64x 0.2.5-3vmw.600.0.0.2494585, ata-pata-hpt3x2n 0.3.4-3vmw.600.0.0.2494585, ata-pata-pdc2027x 1.0-3vmw.600.0.0.2494585, ata-pata-serverworks 0.4.3-3vmw.600.0.0.2494585, ata-pata-sil680 0.4.8-3vmw.600.0.0.2494585, ata-pata-via 0.3.3-2vmw.600.0.0.2494585, block-cciss 3.6.14-10vmw.600.0.0.2494585, cpu-microcode 6.0.0-0.0.2494585, ehci-ehci-hcd 1.0-3vmw.600.2.34.3620759, elxnet 10.2.309.6v-1vmw.600.0.0.2494585, emulex-esx-elxnetcli 10.2.309.6v-0.0.2494585, esx-base 6.0.0-2.37.3825889, esx-dvfilter-generic-fastpath 6.0.0-0.0.2494585, esx-tboot 6.0.0-2.34.3620759, esx-ui 1.0.0-3617585, esx-xserver 6.0.0-0.0.2494585, ima-qla4xxx 2.02.18-1vmw.600.0.0.2494585, ipmi-ipmi-devintf 39.1-4vmw.600.0.0.2494585, ipmi-ipmi-msghandler 39.1-4vmw.600.0.0.2494585, ipmi-ipmi-si-drv 39.1-4vmw.600.0.0.2494585, lpfc 10.2.309.8-2vmw.600.0.0.2494585, lsi-mr3 6.605.08.00-7vmw.600.1.17.3029758, lsi-msgpt3 06.255.12.00-8vmw.600.1.17.3029758, lsu-hp-hpsa-plugin 1.0.0-1vmw.600.0.0.2494585, lsu-lsi-lsi-mr3-plugin 1.0.0-2vmw.600.0.11.2809209, lsu-lsi-lsi-msgpt3-plugin 1.0.0-1vmw.600.0.0.2494585, lsu-lsi-megaraid-sas-plugin 1.0.0-2vmw.600.0.11.2809209, lsu-lsi-mpt2sas-plugin 1.0.0-4vmw.600.1.17.3029758, lsu-lsi-mptsas-plugin 1.0.0-1vmw.600.0.0.2494585, misc-cnic-register 1.78.75.v60.7-1vmw.600.0.0.2494585, misc-drivers 6.0.0-2.34.3620759, mtip32xx-native 3.8.5-1vmw.600.0.0.2494585, net-bnx2 2.2.4f.v60.10-1vmw.600.0.0.2494585, net-bnx2x 1.78.80.v60.12-1vmw.600.0.0.2494585, net-cnic 1.78.76.v60.13-2vmw.600.0.0.2494585, net-e1000 8.0.3.1-5vmw.600.0.0.2494585, net-e1000e 3.2.2.1-1vmw.600.1.26.3380124, net-enic 2.1.2.38-2vmw.600.0.0.2494585, net-forcedeth 0.61-2vmw.600.0.0.2494585, net-igb 5.0.5.1.1-5vmw.600.0.0.2494585, net-ixgbe 3.7.13.7.14iov-20vmw.600.0.0.2494585, net-mlx4-core 1.9.7.0-1vmw.600.0.0.2494585, net-mlx4-en 1.9.7.0-1vmw.600.0.0.2494585, net-nx-nic 5.0.621-5vmw.600.0.0.2494585, net-tg3 3.131d.v60.4-2vmw.600.1.26.3380124, net-vmxnet3 1.1.3.0-3vmw.600.2.34.3620759, nmlx4-core 3.0.0.0-1vmw.600.0.0.2494585, nmlx4-en 3.0.0.0-1vmw.600.0.0.2494585, nmlx4-rdma 3.0.0.0-1vmw.600.0.0.2494585, nvme 1.0e.0.35-1vmw.600.2.34.3620759, ohci-usb-ohci 1.0-3vmw.600.0.0.2494585, qlnativefc 2.0.12.0-5vmw.600.0.0.2494585, rste 2.0.2.0088-4vmw.600.0.0.2494585, sata-ahci 3.0-22vmw.600.2.34.3620759, sata-ata-piix 2.12-10vmw.600.0.0.2494585, sata-sata-nv 3.5-4vmw.600.0.0.2494585, sata-sata-promise 2.12-3vmw.600.0.0.2494585, sata-sata-sil 2.3-4vmw.600.0.0.2494585, sata-sata-sil24 1.1-1vmw.600.0.0.2494585, sata-sata-svw 2.3-3vmw.600.0.0.2494585, scsi-aacraid 1.1.5.1-9vmw.600.0.0.2494585, scsi-adp94xx 1.0.8.12-6vmw.600.0.0.2494585, scsi-aic79xx 3.1-5vmw.600.0.0.2494585, scsi-bnx2fc 1.78.78.v60.8-1vmw.600.0.0.2494585, scsi-bnx2i 2.78.76.v60.8-1vmw.600.0.11.2809209, scsi-fnic 1.5.0.45-3vmw.600.0.0.2494585, scsi-hpsa 6.0.0.44-4vmw.600.0.0.2494585, scsi-ips 7.12.05-4vmw.600.0.0.2494585, scsi-megaraid-mbox 2.20.5.1-6vmw.600.0.0.2494585, scsi-megaraid-sas 6.603.55.00-2vmw.600.0.0.2494585, scsi-megaraid2 2.00.4-9vmw.600.0.0.2494585, scsi-mpt2sas 19.00.00.00-1vmw.600.0.0.2494585, scsi-mptsas 4.23.01.00-9vmw.600.0.0.2494585, scsi-mptspi 4.23.01.00-9vmw.600.0.0.2494585, scsi-qla4xxx 5.01.03.2-7vmw.600.0.0.2494585, tools-light 6.0.0-2.34.3620759, uhci-usb-uhci 1.0-3vmw.600.0.0.2494585, vsan 6.0.0-2.37.3825891, vsanhealth 6.0.0-3000000.3.0.2.37.3825892, xhci-xhci 1.0-3vmw.600.2.34.3620759
```