119302-04 to patch package VRTSvxfs 117080-07 to patch package VRTSvxvm Cluster Server processes must be stopped before adding patches. VERITAS Enterprise Administrator processes must be stopped before adding patches. hlrdbsvr2 must be rebooted following installation of Maintenance Pack 2 Do you want to stop these processes and install patches on hlrdbsvr2? [y,n,q] (y) 回车 回车继续;对hlrdbsrv2上已经启动的进程停止,安装检查结束: Checking vxsvc process ........................................ running Stopping vxsvc ................................................... Done Checking had process .......................................... running Stopping had ..................................................... Done Checking hashadow process ................................. not running Checking CmdServer process .................................... running Killing CmdServer ................................................ Done Checking notifier process ................................. not running Checking vxfen driver ............................. vxfen module loaded Stopping vxfen driver ............................................ Done Unloading vxfen module on hlrdbsvr2 .............................. Done Checking gab driver ................................. gab module loaded Stopping gab driver .............................................. Done Unloading gab module on hlrdbsvr2 ................................ Done Checking llt driver ................................. llt module loaded Stopping llt driver .............................................. Done Unloading llt module on hlrdbsvr2 ................... llt unload failed Installation requirement checks completed successfully. Press [Return] to continue: 回车 回车继续;出现是否在两台小型机上并行安装的界面:: VERITAS 4.1 MAINTENANCE PACK 2 INSTALLATION PROGRAM MP2 can be installed on systems consecutively or simultaneously. Installing on systems consecutively takes more time but allows for better error handling. Would you like to install Maintenance Pack 2 on all systems simultaneously? [y,n,q,?] (y) 回车 29
回车确认在两台上并行安装;出现安装过程: Installing MP2 on all systems simultaneously: Installation of some patches may take a long time Copying 119301-04.tar.gz to hlrdbsrv2 ......................... Done 1 of 33 steps Adding patch 119301-04 on hlrdbsrv1 .......................... Done 2 of 33 steps Adding patch 119301-04 on hlrdbsrv2 .......................... Done 3 of 33 steps Copying 117080-07.tar.gz to hlrdbsrv2 ......................... Done 4 of 33 steps Adding patch 117080-07 on hlrdbsrv1 .......................... Done 5 of 33 steps Adding patch 124355-01 on hlrdbsrv1 .......................... Done 6 of 33 steps Adding patch 117080-07 on hlrdbsrv2 .......................... Done 7 of 33 steps Copying 124355-01.tar.gz to hlrdbsrv2 ......................... Done 8 of 33 steps Adding patch 124355-01 on hlrdbsrv2 .......................... Done 9 of 33 steps Copying 120145-02.tar.gz to hlrdbsrv2 ......................... Done 10 of 33 steps Adding patch 120145-02 on hlrdbsrv1 .......................... Done 11 of 33 steps Adding patch 119306-01 on hlrdbsrv1 .......................... Done 12 of 33 steps Adding patch 120145-02 on hlrdbsrv2 .......................... Done 13 of 33 steps Copying 119306-01.tar.gz to hlrdbsrv2 ......................... Done 14 of 33 steps Adding patch 119306-01 on hlrdbsrv2 .......................... Done 15 of 33 steps Copying 120156-02.tar.gz to hlrdbsrv2 ......................... Done 16 of 33 steps Adding patch 120156-02 on hlrdbsrv1 .......................... Done 17 of 33 steps Adding patch 115209-26 on hlrdbsrv1 .......................... Done 18 of 33 steps Adding patch 115210-26 on hlrdbsrv1 .......................... Done 19 of 33 steps Adding patch 120156-02 on hlrdbsrv2 .......................... Done 20 of 33 steps Copying 115209-26.tar.gz to hlrdbsrv2 .......................... Done 21 of 33 steps Adding patch 119745-02 on hlrdbsrv1 ........................... Done 22 of 33 steps Adding patch 115209-26 on hlrdbsrv2 ........................... Done 23 of 33 steps Adding patch 119746-02 on hlrdbsrv1 ........................... Done 24 of 33 steps Copying 115210-26.tar.gz to hlrdbsrv2 .......................... Done 25 of 33 steps Adding patch 120151-03 on hlrdbsrv1 ........................... Done 26 of 33 steps Adding patch 115210-26 on hlrdbsrv2 ........................... Done 27 of 33 steps Copying 119745-02.tar.gz to hlrdbsrv2 .......................... Done 28 of 33 steps Adding patch 119745-02 on hlrdbsrv2 ........................... Done 29 of 33 steps Copying 119746-02.tar.gz to hlrdbsrv2 .......................... Done 30 of 33 steps Adding patch 119746-02 on hlrdbsrv2 ........................... Done 31 of 33 steps Copying 120151-03.tar.gz to hlrdbsrv2 .......................... Done 32 of 33 steps Adding patch 120151-03 on hlrdbsrv2 ........................... Done 33 of 33 steps Maintenance Pack 2 installation completed successfully. Press [Return] to continue: 回车
30
回车继续;出现安装日志生成提示:
VERITAS 4.1 MAINTENANCE PACK 2 INSTALLATION PROGRAM Installation of Maintenance Pack 2 4.1 has completed successfully. The installation summary is saved at: /opt/VRTS/install/logs/install_vp410140526.summary The install_vp log is saved at: /opt/VRTS/install/logs/install_vp410140526.log The installation response file is saved at: /opt/VRTS/install/logs/install_vp410140526.response root@hlrdbsrv1 # MP2安装后需要修改IPMulitiNICB的参数(一台上修改即可): root@hlrdbsrv1 # haconf -makerw root@hlrdbsrv1 # haattr -add IPMultiNICB ContainerName root@hlrdbsrv1 # hatype -modify IPMultiNICB ArgList -add ContainerName root@hlrdbsrv1 # haconf -dump -makero 重起两台小型机: root@hlrdbsrv1 # reboot root@hlrdbsrv2 # reboot 4.4. 安装Oracle Agent及补丁 Oracle Agent及补丁在两台小型机上都需要安装。 4.4.1. 安装Oracle Agent Oracle Agent软件是rpm安装包,在VCS的第二张安装光盘上/oracle_agent/pkgs目录下。该盘目录结构如下: root@hlrdbsvr1 # cd /cdrom/cdrom0/oracle_agent/pkgs root@hlrdbsvr1 # ls VRTScsocw.tar.gz VRTSvcsor.tar.gz info 以下是在hlrdbsrv1上的交互安装过程,红色字体部分为需要选择或输入的内容。 将软件拷贝到/tmp目录,解压: root@hlrdbsvr1 # cp -r /cdrom/cdrom0/oracle_agent/pkgs/* /tmp root@hlrdbsvr1 # cd /tmp root@hlrdbsvr1 # ls VRTScsocw.tar.gz VRTSvcsor.tar.gz info root@hlrdbsvr1 # gunzip VRTS*.gz root@hlrdbsvr1 # tar xvf VRTScsocw.tar
31
root@hlrdbsvr1 # tar xvf VRTSvcsor.tar root@hlrdbsvr1 # ls VRTScsocw VRTScsocw.tar VRTSvcsor VRTSvcsor.tar info 4.4.1.1. 安装VRTSvcsor软件包
执行以下命令安装:
root@hlrdbsvr1 # /usr/sbin/pkgadd -d. VRTSvcsor Processing package instance
/opt/VRTSvcs/bin/Netlsnr/NetlsnrDiscovery.sh /opt/VRTSvcs/bin/Netlsnr/actions/VRTS_GetInstanceName /opt/VRTSvcs/bin/Netlsnr/actions/VRTS_GetRunningServices /opt/VRTSvcs/bin/Netlsnr/clean /opt/VRTSvcs/bin/Netlsnr/envfile /opt/VRTSvcs/bin/Netlsnr/netconfig.pm /opt/VRTSvcs/bin/Netlsnr/netlsnrlib.pm /opt/VRTSvcs/bin/Netlsnr/offline /opt/VRTSvcs/bin/Netlsnr/online /opt/VRTSvcs/bin/Oracle/OraDiscovery.pl /opt/VRTSvcs/bin/Oracle/OraDiscoveryLib.pm /opt/VRTSvcs/bin/Oracle/OraMountDiscovery.pl /opt/VRTSvcs/bin/Oracle/Oracle.xml /opt/VRTSvcs/bin/Oracle/OracleAgent /opt/VRTSvcs/bin/Oracle/OracleDiscover.so /opt/VRTSvcs/bin/Oracle/SimpleTest.pl /opt/VRTSvcs/bin/Oracle/SqlTest.pl /opt/VRTSvcs/bin/Oracle/actions/DBRestrict /opt/VRTSvcs/bin/Oracle/actions/DBResume /opt/VRTSvcs/bin/Oracle/actions/DBSuspend /opt/VRTSvcs/bin/Oracle/actions/DBTbspBackup /opt/VRTSvcs/bin/Oracle/actions/DBUndoRestrict /opt/VRTSvcs/bin/Oracle/actions/VRTS_GetInstanceName /opt/VRTSvcs/bin/Oracle/actions/VRTS_GetRunningServices /opt/VRTSvcs/bin/Oracle/clean /opt/VRTSvcs/bin/Oracle/envfile /opt/VRTSvcs/bin/Oracle/info /opt/VRTSvcs/bin/Oracle/offline /opt/VRTSvcs/bin/Oracle/online /opt/VRTSvcs/bin/Oracle/oraclelib.pm /opt/VRTSvcs/bin/Oracle/oraconfig.pm /opt/VRTSvcs/bin/Oracle/oraerror.dat /opt/VRTSvcs/messages/en/VRTSvcsSunOracle.bmc [ verifying class
33