*ESXi5.1のバージョンアップ(パッチ適用) [#o24f54f7]

RIGHT:更新日 &lastmod();

以下のサイトから一番新しいバージョンをDL

 https://www.vmware.com/patchmgr/findPatch.portal

最新のもので今までの累積パッチがあたるようだ

DLしたものをWinscpでESXiサーバにの以下のフォルダを作成しUP

 /vmfs/volumes/datastore1/patch

サーバにTeratermでログイン「ログインはチャレンジレスポンス認証を使う」を選択

***バージョン確認 [#h9f59616]

 ~ # esxcli system version get
    Product: VMware ESXi
    Version: 5.1.0
    Build: Releasebuild-1483097 <-ビルド番号確認
    Update: 2

***ESXiサーバの全コンポーネントリストとインストール日を確認 [#k2f33cea]

パッチをあてると「esx-base」あたりの日付があてた日になるようだ

 ~ # esxcli software vib list
 Name                           Version                               Vendor  Acceptance Level  Install Date
 -----------------------------  ------------------------------------  ------  ----------------  ------------
 ata-pata-amd                   0.3.10-3vmw.510.0.0.799733            VMware  VMwareCertified   2014-05-06
 ata-pata-atiixp                0.4.6-4vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 ata-pata-cmd64x                0.2.5-3vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 ata-pata-hpt3x2n               0.3.4-3vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 ata-pata-pdc2027x              1.0-3vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 ata-pata-serverworks           0.4.3-3vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 ata-pata-sil680                0.4.8-3vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 ata-pata-via                   0.3.3-2vmw.510.0.0.799733             VMware  VMwareCertified   2014-05-06
 block-cciss                    3.6.14-10vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 ehci-ehci-hcd                  1.0-3vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 esx-base                       5.1.0-2.23.1483097                    VMware  VMwareCertified   2014-05-06
 esx-dvfilter-generic-fastpath  5.1.0-0.0.799733                      VMware  VMwareCertified   2014-05-06
 esx-tboot                      5.1.0-2.23.1483097                    VMware  VMwareCertified   2014-05-06
 esx-xlibs                      5.1.0-1.22.1472666                    VMware  VMwareCertified   2014-05-06
 esx-xserver                    5.1.0-1.22.1472666                    VMware  VMwareCertified   2014-05-06
 ima-qla4xxx                    2.01.31-1vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 ipmi-ipmi-devintf              39.1-4vmw.510.0.0.799733              VMware  VMwareCertified   2014-05-06
 ipmi-ipmi-msghandler           39.1-4vmw.510.0.0.799733              VMware  VMwareCertified   2014-05-06
 ipmi-ipmi-si-drv               39.1-4vmw.510.1.12.1065491            VMware  VMwareCertified   2014-05-06
 misc-cnic-register             1.1-1vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 misc-drivers                   5.1.0-2.23.1483097                    VMware  VMwareCertified   2014-05-06
 net-be2net                     4.1.255.11-1vmw.510.0.0.799733        VMware  VMwareCertified   2014-05-06
 net-bnx2                       2.0.15g.v50.11-7vmw.510.1.12.1065491  VMware  VMwareCertified   2014-05-06
 net-bnx2x                      1.61.15.v50.3-1vmw.510.0.11.1063671   VMware  VMwareCertified   2014-05-06
 net-cnic                       1.10.2j.v50.7-3vmw.510.0.0.799733     VMware  VMwareCertified   2014-05-06
 net-e1000                      8.0.3.1-2vmw.510.1.16.1157734         VMware  VMwareCertified   2014-05-06
 net-e1000e                     1.1.2-3vmw.510.2.23.1483097           VMware  VMwareCertified   2014-05-06
 net-enic                       1.4.2.15a-1vmw.510.0.0.799733         VMware  VMwareCertified   2014-05-06
 net-forcedeth                  0.61-2vmw.510.0.0.799733              VMware  VMwareCertified   2014-05-06
 net-igb                        2.1.11.1-3vmw.510.1.12.1065491        VMware  VMwareCertified   2014-05-06
 net-ixgbe                      3.7.13.6iov-10vmw.510.1.20.1312873    VMware  VMwareCertified   2014-05-06
 net-nx-nic                     4.0.558-3vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 net-r8168                      8.013.00-3vmw.510.0.0.799733          VMware  VMwareCertified   2014-05-06
 net-r8169                      6.011.00-2vmw.510.0.0.799733          VMware  VMwareCertified   2014-05-06
 net-s2io                       2.1.4.13427-3vmw.510.0.0.799733       VMware  VMwareCertified   2014-05-06
 net-sky2                       1.20-2vmw.510.0.0.799733              VMware  VMwareCertified   2014-05-06
 net-tg3                        3.123b.v50.1-1vmw.510.2.23.1483097    VMware  VMwareCertified   2014-05-06
 net-vmxnet3                    1.1.3.0-3vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 ohci-usb-ohci                  1.0-3vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 sata-ahci                      3.0-15vmw.510.2.23.1483097            VMware  VMwareCertified   2014-05-06
 sata-ata-piix                  2.12-7vmw.510.2.23.1483097            VMware  VMwareCertified   2014-05-06
 sata-sata-nv                   3.5-4vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 sata-sata-promise              2.12-3vmw.510.0.0.799733              VMware  VMwareCertified   2014-05-06
 sata-sata-sil24                1.1-1vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 sata-sata-sil                  2.3-4vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 sata-sata-svw                  2.3-3vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 scsi-aacraid                   1.1.5.1-9vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 scsi-adp94xx                   1.0.8.12-6vmw.510.0.0.799733          VMware  VMwareCertified   2014-05-06
 scsi-aic79xx                   3.1-5vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 scsi-bnx2i                     1.9.1d.v50.1-5vmw.510.0.0.799733      VMware  VMwareCertified   2014-05-06
 scsi-fnic                      1.5.0.3-1vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 scsi-hpsa                      5.0.0-21vmw.510.1.16.1157734          VMware  VMwareCertified   2014-05-06
 scsi-ips                       7.12.05-4vmw.510.0.0.799733           VMware  VMwareCertified   2014-05-06
 scsi-lpfc820                   8.2.3.1-127vmw.510.0.0.799733         VMware  VMwareCertified   2014-05-06
 scsi-megaraid-mbox             2.20.5.1-6vmw.510.0.0.799733          VMware  VMwareCertified   2014-05-06
 scsi-megaraid-sas              5.34-4vmw.510.1.12.1065491            VMware  VMwareCertified   2014-05-06
 scsi-megaraid2                 2.00.4-9vmw.510.0.0.799733            VMware  VMwareCertified   2014-05-06
 scsi-mpt2sas                   10.00.00.00-5vmw.510.2.23.1483097     VMware  VMwareCertified   2014-05-06
 scsi-mptsas                    4.23.01.00-6vmw.510.0.0.799733        VMware  VMwareCertified   2014-05-06
 scsi-mptspi                    4.23.01.00-6vmw.510.0.0.799733        VMware  VMwareCertified   2014-05-06
 scsi-qla2xxx                   902.k1.1-9vmw.510.0.0.799733          VMware  VMwareCertified   2014-05-06
 scsi-qla4xxx                   5.01.03.2-4vmw.510.0.0.799733         VMware  VMwareCertified   2014-05-06
 scsi-rste                      2.0.2.0088-1vmw.510.2.23.1483097      VMware  VMwareCertified   2014-05-06
 uhci-usb-uhci                  1.0-3vmw.510.0.0.799733               VMware  VMwareCertified   2014-05-06
 tools-light                    5.1.0-2.23.1483097                    VMware  VMwareCertified   2014-05-06

***メンテンナンスモード移行 [#la0e7e21]

 ~ # esxcli system maintenanceMode get  <-モードの確認
 Disabled   <- 通常モード
 ~ # esxcli system maintenanceMode set -e true  <-メンテナスモードへの移行コマンド
 ~ # esxcli system maintenanceMode get
 Enabled    <-メンテナスモード

***パッチの確認 [#z4b2ab85]

 ~ # ls /vmfs/volumes/datastore1/patch
 ESXi510-201407001.zip

***パッチの適用 [#y979b2f2]

 ~ # esxcli software vib update -d /vmfs/volumes/datastore1/patch/ESXi510-201407001.zip
 Installation 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.1.0-2.35.2000251, VMware_locker_tools-light_5.1.0-2.35.2000251
    VIBs Removed: VMware_bootbank_esx-base_5.1.0-2.23.1483097, VMware_locker_tools-light_5.1.0-2.23.1483097
    VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.510.0.0.799733, VMwar
 e_bootbank_ata-pata-atiixp_0.4.6-4vmw.510.0.0.799733, VMware_bootbank_ata-pata-
 cmd64x_0.2.5-3vmw.510.0.0.799733, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.5
 10.0.0.799733, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.510.0.0.799733, VMwar 
 (略)

 
 a2xxx_902.k1.1-9vmw.510.0.0.799733, VMware_bootbank_scsi-qla4xxx_5.01.03.2-4vmw
 .510.0.0.799733, VMware_bootbank_scsi-rste_2.0.2.0088-1vmw.510.2.23.1483097, VM
 ware_bootbank_uhci-usb-uhci_1.0-3vmw.510.0.0.799733

***再起動 [#eba8ce19]

 ~ #  esxcli system shutdown reboot -r "patch update ESXi510-201407001"

***再起動後パッチの確認 [#n64bf515]


 ~ # esxcli system version get
    Product: VMware ESXi
    Version: 5.1.0
    Build: Releasebuild-2000251  <-ビルドNoが変わっている
    Update: 2

***通常モードに移行 [#j061a13b]

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


**参考 [#a0d536f5]

-http://www.grep.co.jp/event_report/index.php?page=article&storyid=214

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS