SSブログ

VERITAS Storage Foundation 5.1へUpdate [VERITAS]

最近、Sambaのプロセスが、I/O blockされて、異常繁殖した結果、サービス不能になる事が多いので、どうもその元となってそうなVERITAS Storage Foundationをupdateすることにしました。

元のファイルは
VRTS_SF_HA_Solutions_5.1_RHEL.tar.gz
です。
Symantecさんで登録してあればdownload出来るのは、以前と同じです。
# tar xfz VRTS_SF_HA_Solutions_5.1_RHEL.tar.gz
# cd dvd1-redhatlinux/rhel5_x86_64
まずはここにある、readme_firest.txtを眺めてみます。
ふむふむ
http://entsupport.symantec.com/docs/335001
みてみろと。
みたら、Patch 1の情報が書いてあります。
の前に、Disk Layout Versionの古いのはサポートしないと書いてあります。
調べ方は
http://entsupport.symantec.com/docs/339064
に書いてありますが
# /opt/VRTS/bin/fstyp -v /dev/vx/dsk/<rootdg>/<volname> | grep version
すればわかります。
あ、rootdgとvolnameは、利用環境に合わせて入力します。
少なくとも5.0から使い始めたのであれば、Version 7のはずなので、なんら問題ありません。

ということで、まずはコマンド使ってチェックしてみましょう。
# ./installer -precheck

    Storage Foundation and High Availability Solutions 5.1 Precheck Program    
                                                                               

Copyright (c) 2009 Symantec Corporation. All rights reserved.  Symantec, the
Symantec Logo are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names
may be trademarks of their respective owners.

The Licensed Software and Documentation are deemed to be "commercial
computer software" and "commercial computer software documentation" as
defined in FAR Sections 12.212 and DFARS Section 227.7202.

Logs are being written to /var/tmp/installer-200912272042CCz while installer
is in progress.


    Storage Foundation and High Availability Solutions 5.1 Precheck Program    
                                                                               

     1)  Veritas Cluster Server (VCS)
     2)  Storage Foundation (SF)
     3)  Storage Foundation and High Availability (SFHA)
     4)  Storage Foundation for Cluster File System (SFCFS)
     5)  Storage Foundation for Cluster File System/HA (SFCFSHA)
     6)  Storage Foundation Cluster File System for Oracle RAC (SFCFS Oracle RAC)
     7)  Symantec Product Authentication Service (AT)
     b)  Back to previous menu

Select a product to perform pre-installation check for: [1-7,b,q] 2
素直に「2」をチョイスします。
Enter the 64 bit RHEL5 system names separated by spaces: [q,?] (ROOTDG) 
ここはデフォルトのまんま
                    Storage Foundation 5.1 Precheck Program                    
                                       ROOTDG                                     

Logs are being written to /var/tmp/installer-200912272042CCz while installer
is in progress

    Verifying systems: 100%   ________________________________________________ 

     Estimated time remaining: 0:00                                    8 of 8

    Checking system communication ..................................... Done
    Checking release compatibility .................................... Done
    Checking installed product ........................................ Done
    Checking installed patches ........................................ Done
    Checking platform version ......................................... Done
    Checking file space ............................................... Done
    Performing product license checks ................................. Done
    Performing product prechecks ...................................... Done

Precheck report completed

System verification checks completed successfully

No issues found in prechecks

Would you like to install SF on ROOTDG [y,n,q] (n) 
思った通り、何も問題なしなので、このまま進みたいところですが、デフォルト通り、インストールせずに、終了させましょう。
インストールしても、何も変わりません。
パッチを当てようとして、何も変わってないことに気がつくだけです。
はい。
でもって、もう一回、オプション無しでインストーラーを起動する前に、vxvm管轄下のエリアにアクセスしているプロセスを全て落とし、unmountします。
その上で、インストーラーを起動します。
# ./installer

     Storage Foundation and High Availability Solutions 5.1 Install Program     
                                                                               

Copyright (c) 2009 Symantec Corporation. All rights reserved.  Symantec, the
Symantec Logo are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names
may be trademarks of their respective owners.

The Licensed Software and Documentation are deemed to be "commercial
computer software" and "commercial computer software documentation" as
defined in FAR Sections 12.212 and DFARS Section 227.7202.

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress.


     Storage Foundation and High Availability Solutions 5.1 Install Program     
                                                                               

Symantec Product                                 Version Installed  Licensed
==============================================================================
Veritas File System                              5.0.30.00          yes
Veritas Volume Manager                           5.0.30.03          yes
Veritas Cluster Server                           none               no
Storage Foundation                               5.0.30.03          yes
Storage Foundation for Cluster File System       none               no
Storage Foundation Cluster File System for Oracle RAC  none               no
Symantec Product Authentication Service          4.3.34.4           no

Task Menu:

    P) Perform a Pre-Installation Check       I) Install a Product
    C) Configure an Installed Product         G) Upgrade a Product
    L) License a Product                      U) Uninstall a Product
    D) View a Product Description             S) Start a Product
    R) View Product Requirements              X) Stop a Product
    Q) Quit                                   ?) Help

Enter a Task: [P,I,C,G,L,U,D,S,R,X,Q,?] G
もち、Upgradeの「G」です。
Do you agree with the terms of the End User License Agreement as specified
in the EULA.pdf file present on media? [y,n,q,?] y
読んで納得して「y」と答えましょう。
Enter the 64 bit RHEL5 system names separated by spaces: [q,?] (ROOTDG) 
ここはデフォルトのまんま
     Storage Foundation and High Availability Solutions 5.1 Upgrade Program     
                                       ROOTDG                                     

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress

    Verifying systems: 100%   ________________________________________________ 

    Estimated time remaining: 0:00                                    8 of 8

    Checking system communication ..................................... Done
    Checking release compatibility .................................... Done
    Checking installed product ........................................ Done
    Checking installed patches ........................................ Done
    Checking platform version ......................................... Done
    Checking file space ............................................... Done
    Performing product license checks ................................. Done
    Performing product prechecks ...................................... Done

System verification checks completed successfully


                     Storage Foundation 5.1 Upgrade Program                     
                                       ROOTDG                                     

The following Storage Foundation rpms will be installed or upgraded on all
systems:
VRTSvlic          Veritas Licensing
VRTSperl          Veritas Perl 5.10.0 Redistribution
VRTSspt           Veritas Software Support Tools by Symantec
VRTSob            Veritas Enterprise Administrator Service by Symantec
VRTSvxvm          Veritas Volume Manager Binaries
VRTSaslapm        Volume Manager - ASL/APM
VRTSlvmconv       Veritas Linux LVM to VxVM Converter
VRTSsfmh          Veritas Storage Foundation Managed Host by Symantec
VRTSvxfs          Veritas File System
VRTSfssdk         Veritas File System Software Developer Kit
VRTSdbed          Veritas Storage Foundation Databases
VRTSodm           Veritas Oracle Disk Manager
VRTSatClient      Symantec Product Authentication Service Client
VRTSatServer      Symantec Product Authentication Service

Press [Enter] to continue: 
もち「Enter」
All SF processes that are currently running must be stopped

Do you want to stop SF processes now? [y,n,q,?] (y) 
もちデフォルト

                     Storage Foundation 5.1 Upgrade Program                     
                                       ROOTFG                                     

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress

    Stopping SF: 100%   ______________________________________________________ 

    Estimated time remaining: 0:00                                  18 of 18

    Performing SF prestop tasks ....................................... Done
    Stopping vxsvc .................................................... Done
    Stopping vxdclid .................................................. Done
    Stopping xprtld ................................................... Done
    Stopping vxpal .................................................... Done
    Stopping vxatd .................................................... Done
    Stopping fdd ...................................................... Done
    Stopping vxportal ................................................. Done
    Stopping vxfs ..................................................... Done
    Stopping vxconfigbackupd .......................................... Done
    Stopping vxsited .................................................. Done
    Stopping vxrelocd ................................................. Done
    Stopping vxnotify ................................................. Done
    Stopping vxesd .................................................... Done
    Stopping vxconfigd ................................................ Done
    Stopping vxspec ................................................... Done
    Stopping vxio ..................................................... Done
    Stopping vxdmp .................................................... Done

Storage Foundation Shutdown completed successfully


                     Storage Foundation 5.1 Upgrade Program                     
                                       ROOTDG                                     

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress

    Uninstalling SF: 100%   __________________________________________________ 

    Estimated time remaining: 0:00                                  38 of 38

    Uninstalling VRTSfssdk ............................................ Done
    Uninstalling VRTSfsdoc ............................................ Done
    Uninstalling VRTSfsman ............................................ Done
    Uninstalling VRTSalloc ............................................ Done
    Uninstalling VRTSdcli ............................................. Done
    Uninstalling VRTSvsvc ............................................. Done
    Uninstalling VRTSvmpro ............................................ Done
    Uninstalling VRTSddlpr ............................................ Done
    Uninstalling VRTSvdid ............................................. Done
    Uninstalling VRTSlvmconv .......................................... Done
    Uninstalling VRTSvmdoc ............................................ Done
    Uninstalling VRTSvmman ............................................ Done
    Uninstalling SYMClma .............................................. Done
    Uninstalling VRTSspt .............................................. Done
    Uninstalling VRTSaa ............................................... Done
    Uninstalling VRTSmh ............................................... Done
    Uninstalling VRTSccg .............................................. Done
    Uninstalling VRTSobgui ............................................ Done
    Uninstalling VRTSfspro ............................................ Done
    Uninstalling VRTSdsa .............................................. Done
    Uninstalling VRTSob ............................................... Done
    Uninstalling VRTSobc33 ............................................ Done
    Uninstalling VRTSsmf .............................................. Done
    Uninstalling VRTSpbx .............................................. Done
    Uninstalling VRTSicsco ............................................ Done
    Uninstalling VRTSvxfs ............................................. Done
    Uninstalling VRTSvxfs-platform .................................... Done
    Uninstalling VRTSvxfs-common ...................................... Done
    Uninstalling VRTSvxvm ............................................. Done
    Uninstalling VRTSvxvm-platform .................................... Done
    Uninstalling VRTSvxvm-common ...................................... Done
    Uninstalling VRTSperl ............................................. Done
    Uninstalling VRTSvlic ............................................. Done
    Performing SF postremove tasks .................................... Done

Storage Foundation Uninstall completed successfully


                     Storage Foundation 5.1 Upgrade Program                     
                                       ROOTDG                                     

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress

    Installing SF: 100%   ____________________________________________________ 

    Estimated time remaining: 0:00                                  18 of 18

    Performing SF preinstall tasks .................................... Done
    Installing VRTSvlic rpm ........................................... Done
    Installing VRTSperl rpm ........................................... Done
    Installing VRTSspt rpm ............................................ Done
    Installing VRTSob rpm ............................................. Done
    Installing VRTSvxvm rpm ........................................... Done
    Installing VRTSaslapm rpm ......................................... Done
    Installing VRTSlvmconv rpm ........................................ Done
    Installing VRTSsfmh rpm ........................................... Done
    Installing VRTSvxfs rpm ........................................... Done
    Installing VRTSfssdk rpm .......................................... Done
    Installing VRTSdbed rpm ........................................... Done
    Installing VRTSodm rpm ............................................ Done
    Installing VRTSatClient rpm ....................................... Done
    Installing VRTSatServer rpm ....................................... Done
    Performing SF postinstall tasks ................................... Done
    Checking SF licenses .............................................. Done
    Copying installer libraries and scripts ........................... Done

Storage Foundation Install completed successfully


                     Storage Foundation 5.1 Upgrade Program                     
                                       ROOTDG                                     

Logs are being written to /var/tmp/installer-200912272156vEs while installer
is in progress

    Starting SF: 100%   ______________________________________________________ 

    Estimated time remaining: 0:00                                  13 of 13

    Performing SF upgrade configuration ............................... Done
    Starting vxdmp .................................................... Done
    Starting vxio ..................................................... Done
    Starting vxspec ................................................... Done
    Starting vxconfigd ................................................ Done
    Starting vxesd .................................................... Done
    Starting vxrelocd ................................................. Done
    Starting vxconfigbackupd .......................................... Done
    Starting vxportal ................................................. Done
    Starting fdd ...................................................... Done
    Starting vxdbd .................................................... Done
    Starting vxodm .................................................... Done
    Performing SF poststart tasks ..................................... Done

Storage Foundation Startup completed successfully

Would you like to send the information about this installation to Symantec
to help improve installation in the future? [y,n,q,?] (y) n
送らないので「n」
installer log files, summary file, and response file are saved at:

 	/opt/VRTS/install/logs/installer-200912272156vEs
これでおしまい。
念のために、もう一度起動して、バージョンをチェック!
# ./installer
一部省略...

     Storage Foundation and High Availability Solutions 5.1 Install Program     
                                                                               

Symantec Product                                 Version Installed  Licensed
==============================================================================
Veritas File System                              5.1.00.00          yes
Veritas Volume Manager                           5.1.00.00          yes
Veritas Cluster Server                           none               no
Storage Foundation                               5.1.00.00          yes
Storage Foundation for Cluster File System       none               no
Storage Foundation Cluster File System for Oracle RAC  none               no
Symantec Product Authentication Service          5.0.32.0           no
はい、きちんとバージョンアップ完了です。
続いて、パッチ当て。
# mkdir Patch1
# cd Patch1
# tar xfz <path>/sfha-rhel5_x86_64-5.1P1-rpms.tar.gz
ここで展開されたsfha_readfirst.pdfを読んでおきましょう。
読んだことにして、先に進みます(^^;
# cd rpms
# rpm -Uvh --force VRTSspt-5.5.00.0-GA.noarch.rpm
# rpm -Uvh --force VRTSvxvm-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSaslapm-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSlvmconv-5.1.00.01-P1_RHEL5.i686.rpm
# rpm -Uvh --force VRTSvxfs-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSfssdk-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSllt-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSgab-5.1.00.01-P1_RHEL5.x86_64.rpm
# rpm -Uvh --force VRTSvcs-5.1.00.01-P1_RHEL5.i686.rpm
# rpm -Uvh --force VRTScps-5.1.00.01-P1_RHEL5.i686.rpm
# rpm -Uvh --force VRTSvcsag-5.1.00.01-P1_RHEL5.i686.rpm
# rpm -Uvh --force VRTSvcsea-5.1.00.01-P1_RHEL5.i686.rpm
# rpm -Uvh --force VRTScavf-5.1.00.01-P1_GENERIC.i386.rpm
もう一度バージョンをチェック!
# cd ../..
# ./installer
一部省略...

     Storage Foundation and High Availability Solutions 5.1 Install Program     
                                                                               

Symantec Product                                 Version Installed  Licensed
==============================================================================
Veritas File System                              5.1.00.01          yes
Veritas Volume Manager                           5.1.00.01          yes
Veritas Cluster Server                           5.1.00.01          no
Storage Foundation                               5.1.00.01          yes
Storage Foundation for Cluster File System       5.1.00.01          no
Storage Foundation Cluster File System for Oracle RAC  5.1.00.01          no
Symantec Product Authentication Service          5.0.32.0           no
ということで、無事終了。

nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:[必須]
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0