10.2.0.3 crs bundle# 安裝說明
具體在安裝crs過程中可能遇到的問題請詳細閱讀metalink文件(405820.1),下面描述整個工作步驟。注意在該文件中字首提示為
Ø #表示為root使用者執行該命令
Ø %表示為oracle使用者執行該命令
設定許可權
該步驟主要是參考metalink文件405820.1,在AIX平臺上安裝完10.2.0.3 crs bundle#3 patch後,crs無法正常啟動,透過設定這些許可權可以解決該問題。
#chuser
capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE,CAP_NUMA_ATTACH oracle
#lsuser -f oracle | grep capabilities
確定opatch版本
在安裝該補丁時,對opatch版本有要求,可以在metalink上下載patch 6880880,改工具主要用於安裝oracle補丁
%opatch version
%opatch lsinventory -oh $ORA_CRS_HOME
%opatch lsinventory -oh $ORACLE_HOME
停掉節點一的資料庫及應用
停掉應用程式
殺掉所有的應用連線
%ps -ef|grep oracle|grep LOCAL=NO|awk '{print $2}'|xargs kill -9;
%srvctl stop instance -d test -i test01
%srvctl stop nodeapps -n test1
停止crs軟體
#crsctl stop crs
清除沒有停止的lib包
#/usr/sbin/slibclean
進行備份
備份oracle軟體
%nohup tar -cvf oracle.bak /oracle >
backapp.log &
備份ocr盤
#ocrcheck
#ocrconfig -showbackup
#ocrconfig -export /tmp/`hostname`_ocrexp_`date +%m%d%y_%H%M.ocr`
備份vote盤
#crsctl query css votedisk
0. 0
/dev/rlvoravoting1
1. 0 /dev/rlvoravoting2
2. 0 /dev/rlvoravoting3
#ls -ltr /dev/rlvoravoting1
#dd if=/dev/rlvoravoting1
of=/tmp/votedsk1`date +%m%d%y_%H%M` bs=4096
#dd if=/dev/rlvoravoting2
of=/tmp/votedsk2`date +%m%d%y_%H%M` bs=4096
#dd if=/dev/rlvoravoting3
of=/tmp/votedsk3`date +%m%d%y_%H%M` bs=4096
安裝補丁
Ø Step1
#cd 7195685
#7117233/custom/scripts/prerootpatch.sh -crshome $ORA_CRS_HOME -crsuser oracle
Ø Step 2
% 7117233/custom/scripts/prepatch.sh -crshome
$ORA_CRS_HOME
% 7117233/custom/server/7117233/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
Ø Step3
#genld -l | grep $ORA_CRS_HOME
#genkld | grep $ORA_CRS_HOME
#/usr/sbin/slibclean
Ø Step4
% opatch napply -skip_subset -skip_duplicate
-local -oh $ORA_CRS_HOME
% opatch napply -local -oh $ORACLE_HOME -id
6943002
% opatch napply 7117233/custom/server/ -local -oh $ORACLE_HOME -id 7117233
Ø Step5
% 7117233/custom/scripts/postpatch.sh
-crshome $ORA_CRS_HOME
% 7117233/custom/server/7117233/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME
Ø Step6
在改步驟,主要是要停掉節點2上的資料庫及例項,避免crs版本不一致導致節點2異常當機
%srvctl stop instance -d test -i test2
%crs_stat -t
%srvctl stop nodeapps -n test2
%crs_stat -t
%srvctl stop nodeapps -n test1
%crs_stat -t
%exit
#crsctl stop crs
#genkld
| grep /oracle/product/crs10g
#genld -l | grep /oracle/product/crs10g
#/usr/sbin/slibclean
Ø Step7
#7117233/custom/scripts/postrootpatch.sh -crshome $ORA_CRS_HOME
Ø Step8
% opatch lsinventory -detail -oh
$ORA_CRS_HOME
% opatch lsinventory -detail -oh $ORACLE_HOME
按照操作過程在第二個節點上安裝補丁。
1. 安裝總結
問題一
必須使用新版的opatch(6880880)
問題二
在執行下列指令碼時,#7117233/custom/scripts/prerootpatch.sh -crshome $ORA_CRS_HOME -crsuser oracle
指令碼一直不能執行完,具體可以檢視檔案7117233/custom/scripts/prerootpatch.sh,發現主要是停止在$ID/init.cssd startcheck CSS瞭解該指令碼主要是檢查css程式是否能正常啟動的一個指令碼,如果不能正常啟動會休眠60秒後再次檢查,所以導致一個長時間的執行。可以在執行該指令碼前透過
%crsctl check boot
來檢查crs是否能正常啟動
在客戶現場導致$ID/init.cssd startcheck CSS不能正常結束的原因是IBM HACMP沒有正常啟動,導致ocr所在的裸裝置不能被訪問,啟動HACMP後,同步VG後,問題解決
問題三
在安裝過程中出現過某個資料庫無法啟動的現象,具體錯誤為
SQL> startup nomount
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent
operation:sendmsg failed with status: 59
ORA-27301: OS failure message: Message too
long
ORA-27302: failure occurred at: sskgxpsnd1
該錯誤主要是網路引數設定不合理導致,調整網路引數後解決
#no –o udp_sendspace = 65536
問題四
安裝過程中,有幾個地方要進行檔案的copy,所以需要在執行某些指令碼前清楚lib包的使用
#genkld
| grep /oracle/product/crs10g
#genld -l | grep /oracle/product/crs10g
#/usr/sbin/slibclean
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/48010/viewspace-1017516/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- tesseract安裝說明
- SCREEN安裝使用說明
- SQLT安裝使用說明SQL
- RAC解除安裝說明
- sakai安裝說明AI
- Resin 3.0 安裝說明
- pureftpd安裝配置簡明說明 (轉)FTP
- WordPress安裝簡要說明
- Nagios 安裝 部署 說明iOS
- Oracle靜默安裝說明Oracle
- Kibana安裝及使用說明
- VNC安裝配置詳細說明VNC
- Camtasia Studio 9 安裝說明
- GI安裝選項的說明
- opencv3.2 安裝說明書OpenCV
- 解除安裝CRS
- npm說明和node.js安裝NPMNode.js
- Linux & Oracle 安裝目錄說明LinuxOracle
- db2(linux)安裝說明DB2Linux
- ORACLE 7.3.4 for SCO Unix 安裝說明(轉)Oracle
- aix下nmon安裝與使用說明AI
- 解除安裝ORACLE CRSOracle
- ELK 之 Kibana 安裝及使用說明
- 360企業版終端安裝說明
- Oracle Transparent Gateway for SQL Server安裝配置說明OracleGatewaySQLServer
- GeoIP Legacy City資料庫安裝說明資料庫
- statspack 安裝以及相關引數說明
- windows7 可以安裝oracle 版本說明WindowsOracle
- MySQL 5.7.9原始碼編譯安裝說明MySql原始碼編譯
- Quidview網管系統安裝說明UIView
- oracle安裝記憶體引數說明Oracle記憶體
- 關於BUGZILLA的說明和安裝
- Gungho專案管理軟體手工安裝說明專案管理
- Oracle安裝光碟內容的檔案說明Oracle
- JDK安裝目錄中的檔案說明JDK
- Ubuntu16.04安裝QQ(圖文說明)Ubuntu
- eclipse中ext的外掛安裝說明Eclipse
- ORACLE安裝引數sysctl.conf說明Oracle