AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(6)
叢集件安裝
HACMP5.4.1需要使用PATCH 6718715 中的rootpre.sh,只有HACMP5.4才需要該補丁,否則安裝完成後跑指令碼要報錯
節點A
bash-3.00# /u01/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 775.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script. is complete
bash-3.00#
bash-3.00#
bash-3.00# /u01/app/oracle/product/crs/root.sh
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
node 1: p61a p61a_priv p61a
node 2: p61b p61b_priv p61b
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Now formatting voting device: /dev/rtcrs_vote_01
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
p61a
CSS is inactive on these nodes.
p61b
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.
節點B
bash-3.00# /u01/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 775.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script. is complete
bash-3.00# /u01/app/oracle/product/crs/root.sh
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
node 1: p61a p61a_priv p61a
node 2: p61b p61b_priv p61b
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
p61a
p61b
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Invalid node name "P61A" entered in an input argument.
Invalid node name "P61A" entered in an input argument.
需要執行VIPCA重新配置
配置完後檢查:
[oracle@P61A:/u01/app/oracle]$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.p61a.gsd application ONLINE ONLINE p61a
ora.p61a.ons application ONLINE ONLINE p61a
ora.p61a.vip application ONLINE ONLINE p61a
ora.p61b.gsd application ONLINE ONLINE p61b
ora.p61b.ons application ONLINE ONLINE p61b
ora.p61b.vip application ONLINE ONLINE p61b
關閉crs自動啟動
bash-3.00# /etc/init.crs disable
Automatic startup disabled for system boot.
CRS補丁10204
10203 p5337014_10203_AIX64-5L.zip
10204 p6810189_10204_AIX5L.zip
安裝完成CRS後,需要升級到10204,10204的升級文件指出
If you attempt to install this patch set in an Oracle home directory that does not contain an Oracle Database 10g release 10.2.0.2 or higer installation, Oracle Universal Installer displays a warning dialog with the following error:
OUI-10091: There are no patches that need to be applied from the patch set Oracle Database 10g Release 2 Patch Set 2 10.2.0.3
The Oracle Universal Installer does not allow the installation to proceed. Click OK, then click Cancel to end the installation.
需要先升級的10204需要先升級到10202或者10203後才能升級到10204
PATCH 6160398 我認為可以不裝,裝CRS後升級到10203在直接升級到10204,然後應用PATCH 7715304,參見METALINK 405820.1
升級到10204時候,ORACLCE使用者需要CAP_NUMA_ATTACH, CAP_BYPASS_RAC_VMM, 和 CAP_PROPAGATE 這些作業系統能力來升級叢集件
# /usr/sbin/lsuser -a capabilities crs
# /usr/bin/chuser capabilities=CAP_NUMA_ATTACH CAP_BYPASS_RAC_VMM CAP_PROPAGATE crs
否則在升級完成執行指令碼時會報錯
root@aadqrdb01cdp:/aadq01/u0001/oracle/product/crs/install ] ./root102.sh
Error : Please change the CRS_ORACLE_USER id
< CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH >
by running command then 'crsctl stop crs' and 'crsctl start crs'.
The CSS daemon, ocssd.bin, will not run in realtime without this change
升級CRS前,需要修改某些物件許可權
chmod -R +w CRS_HOME/inventory/Templates/*
升級10203時,遇到如下問題
Relinking some shared libraries.
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
WARNING: TOC overflow 錯誤可以忽略。
WARNING: Duplicate symbol相關的問題還沒查過,不過升級10204時沒出問題,暫時忽略該問題
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8242091/viewspace-591202/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(5)AIACMOracle
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(4)AIACMOracle
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(3)AIACMOracle
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(2)AIACMOracle
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(1)AIACMOracle
- AIX5300-08 HACMP5.4.1 ORACLE10204 RAC 安裝(7)AIACMOracle
- 11 g rac 安裝 5,6步
- 安裝Oracle 10.2.0.5 RAC for AIX6(五)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(四)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(三)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(二)OracleAI
- 安裝Oracle 10.2.0.5 RAC for AIX6(一)OracleAI
- 【RAC】RAC安裝錯誤手工解除安裝
- RAC安裝
- Orace RAC安裝-DNS安裝DNS
- aix6安裝oracle 10g rac問題AIOracle 10g
- 解除安裝RAC
- aix rac安裝AI
- RAC安裝2
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- VM 6+linux4.4+裸裝置+ORACLE10G RAC 安裝LinuxOracle
- rac靜默安裝
- RAC安裝 參考
- oracle rac aix 安裝OracleAI
- RAC安裝手冊
- Redhat 6 Oracle 11g RAC安裝注意事項彙總RedhatOracle
- udev 裸裝置 安裝racdev
- 【RAC】 RAC For W2K8R2 安裝--解除安裝(八)
- RAC安裝之一 安裝前準備
- 安裝RAC 19C
- 2節點RAC安裝
- RAC解除安裝說明
- Oracle RAC 安裝總結Oracle
- 【RAC】 RAC For W2K8R2 安裝--grid的安裝(四)
- itm6安裝與解除安裝
- 【RAC】 RAC For W2K8R2 安裝--RDBMS軟體的安裝(五)
- redhat 6.4 安裝oracle11g RAC 安裝RDACRedhatOracle
- 安裝Oracle 10g RAC是否需要安裝HACMPOracle 10gACM