VCSA6.0から6.0update1への更新手順

vSphere 6.0 update1 がリリースされたので、vCenter のアップデートを試してみました。

リリースノート
http://pubs.vmware.com/Release_Notes/jp/vsphere/60/vsphere-vcenter-server-60u1-release-notes.html

VC-6.0.0U1-Appliance の概要
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2119924


手順は、VCSAへのパッチ適用と同じです。shobon.hatenablog.com


製品パッチのダウンロードページから、VMware-vCenter-Server-Appliance-6.0.0.10000-3018521-patch-FP.iso を入手。

パッチ適用前のパッケージリストの確認。

Command> software-packages list --history
 [2015-09-19T05:41:10.258] :
'Name'                                  'Install Date'
VC-6.0.0b-Appliance-FP                  2015-07-11 08:44:37


vCenterではなく、VCSAがあるESXiホストへ接続し、vSphwere Clientから、VCSAにISOイメージをマウント。
ISOイメージに含まれるパッチをステージング。

Command> software-packages stage --iso
 [2015-09-19T05:42:34.258] : Staging software update packages from ISO
 [2015-09-19T05:42:34.258] : ISO mounted successfully
 [2015-09-19 05:42:34,275] : Running pre-stage script.....
 [2015-09-19T05:42:35.258] : Verifying staging area
 [2015-09-19T05:42:35.258] : Validating software update payload
 [2015-09-19T05:42:35.258] : Validation successful
・・・省略
United States of America, Attention: Legal Department.Do you accept the terms and conditions?  [yes/no] yes
 [2015-09-19 05:43:12,387] : Processing software packages in update payload 143/143
 [2015-09-19T05:44:29.258] : ISO unmounted successfully
 [2015-09-19T05:44:29.258] : (135) packages staged successfully
 [2015-09-19T05:44:29.258] : Staging process completed successfully


ステージングされたパッチの確認。

Command> software-packages list --staged
 [2015-09-19T05:44:56.258] :
        category: bugfix
        kb: http://kb.vmware.com/2119924
        vendor: VMware, Inc.
        name: VC-6.0.0U1-Appliance-FP
        tags: [u'']
        productname: VMware vCenter Server Appliance
        releasedate: September 10, 2015
        version: 6.0.0.10000
        buildnumber: 3018521
        rebootrequired: True
        summary: Update for VMware vCenter Server Appliance 6.0
        severity: critical

上記URLは、Not Found になります。
正しくは、http://kb.vmware.com/kb/2119924 と思われる。


ステージングされたパッチの適用。

Command> software-packages install
 [2015-09-19 05:46:19,546] : Running test transaction ....
 [2015-09-19 05:46:26,562] : Running pre-install script.....
 [2015-09-19T05:48:07.258] : Services stopped.
 [2015-09-19 05:48:07,803] : Upgrading software packages ....
 [2015-09-19 05:54:42,514] : Running post-install script.....
 [2015-09-19T05:54:44.258] : Packages upgraded successfully, Reboot is required to complete the installation.


VCSAを再起動する。引数に再起動の理由を入れる。

Command> shutdown reboot -r '6.0update1'

Broadcast message from root (pts/0) (Tue Sep 15 05:55:08 2015):

6.0update1
The system is going down for reboot NOW!


パッチ適用後のパッケージリストの確認。

Command> software-packages list --history
 [2015-09-19T06:02:35.258] :
'Name'                                  'Install Date'
VC-6.0.0b-Appliance-FP                  2015-07-11 08:44:37
VC-6.0.0U1-Appliance-FP                 2015-09-19 05:54:42


更新直後、vSphere Web Client へアクセスするとWebサービスの初期化が終わっていない旨のメッセージが表示されました。
少し時間を空けてから再度アクセスする必要があります。

また、vSphere Web Client へアクセスすると、ログイン認証後のvmwareのロゴで止まってしまい、管理画面に遷移しませんでした。

f:id:savakan:20150923145914p:plain

ブラウザは Firefox 40 でしたが、他のブラウザ(IE/Chrome)ではアクセスできた事から、ブラウザの問題と思われます。
ブラウザの再起動やCookieを削除してもダメだったので、ブラウザのキャッシュを削除して再度ログインすると正常に管理画面が表示されました。