新增節點oracle10g rac(rhel4)_clusterware
新增新節點oracle10g rac(rhel4)_clusterware(一)
1,根據配置好的rac節點,搭建相關環境
a,os rpm包(參考oracle document)
b,os 配置檔案(limits.conf)
c,/etc/hosts檔案
d,連通新節點與儲存
e,編輯修改/boot/grub/grub及modprobe.conf檔案(可參對我以前的rac文件)
f,配置raw,asm根據已有rac節點,當然若啟用了ocfs,請查閱相關文件
g,把相關的許可權及授權動作寫入/etc/rc.d/rc.local(可查閱已存rac節點)
2,在已有rac節點以oracle使用者執行addnodes.sh指令碼
3,以上指令碼執行,可能會提示所選節點capitek3不可訪問(這是三節點的ssh通訊配置有問題,重配就可);若cluster未啟動,報錯如下:
rac 啟動與addnodes.sh錯誤日誌關係
[root@capitek1 logs]# more oraInstall2010-03-08_03-46-16AM.err
Exception java.lang.NullPointerException occurred..
java.lang.NullPointerException
at oracle.sysman.oii.oiif.oiifw.OiifwClusterChecksWCCE.getNodeStatus(OiifwClusterChecksWCCE.java:412)
at oracle.sysman.oii.oiif.oiifw.OiifwClusterChecksWCCE.doOperation(OiifwClusterChecksWCCE.java:336)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
[root@capitek1 logs]#
以上不言自喻,啟動cluster就行(表現症狀:在選擇新增節點的對話方塊中:vip and private ip名字是空的)
4,繼續執行會提示要執行一個runinstaller指令碼,先在新增節點執行它,然後繼續執行cluster軟體安裝對話方塊
5,最後在新增節點執行root.sh提示如下:
[root@capitek3 /]# /u01/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 770.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script. is complete
[root@capitek3 /]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
OCR LOCATIONS = /dev/raw/raw4
OCR backup directory '/u01/app/oracle/product/10.2.0/crs_1/cdata/crs' does not exist. Creating now
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname capitek1 for node 1.
assigning default hostname capitek2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node:
node 1: capitek1 capitek1-priv capitek1
node 2: capitek2 capitek2-priv capitek2
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 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
capitek1
capitek2
capitek3
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
IP address "capitek1-vip" has already been used. Enter an unused IP address.
可先用crs_stat -t與ifconfig相關clusterware服務是否正常(ps -ef),若正常,可不用執行vipca
6,在已有節點以oracle使用者執行/u01/app/oracle/product/10.2.0/crs_1/bin/racgons add_config capitek3:6200
(新增節點埠號資訊可取自於:more product/10.2.0/crs_1/opmn/conf/ons.config )
這就完成了新增節點rac cluster軟體的配置
1,根據配置好的rac節點,搭建相關環境
a,os rpm包(參考oracle document)
b,os 配置檔案(limits.conf)
c,/etc/hosts檔案
d,連通新節點與儲存
e,編輯修改/boot/grub/grub及modprobe.conf檔案(可參對我以前的rac文件)
f,配置raw,asm根據已有rac節點,當然若啟用了ocfs,請查閱相關文件
g,把相關的許可權及授權動作寫入/etc/rc.d/rc.local(可查閱已存rac節點)
2,在已有rac節點以oracle使用者執行addnodes.sh指令碼
3,以上指令碼執行,可能會提示所選節點capitek3不可訪問(這是三節點的ssh通訊配置有問題,重配就可);若cluster未啟動,報錯如下:
rac 啟動與addnodes.sh錯誤日誌關係
[root@capitek1 logs]# more oraInstall2010-03-08_03-46-16AM.err
Exception java.lang.NullPointerException occurred..
java.lang.NullPointerException
at oracle.sysman.oii.oiif.oiifw.OiifwClusterChecksWCCE.getNodeStatus(OiifwClusterChecksWCCE.java:412)
at oracle.sysman.oii.oiif.oiifw.OiifwClusterChecksWCCE.doOperation(OiifwClusterChecksWCCE.java:336)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
[root@capitek1 logs]#
以上不言自喻,啟動cluster就行(表現症狀:在選擇新增節點的對話方塊中:vip and private ip名字是空的)
4,繼續執行會提示要執行一個runinstaller指令碼,先在新增節點執行它,然後繼續執行cluster軟體安裝對話方塊
5,最後在新增節點執行root.sh提示如下:
[root@capitek3 /]# /u01/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 770.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script. is complete
[root@capitek3 /]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
OCR LOCATIONS = /dev/raw/raw4
OCR backup directory '/u01/app/oracle/product/10.2.0/crs_1/cdata/crs' does not exist. Creating now
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname capitek1 for node 1.
assigning default hostname capitek2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
node 1: capitek1 capitek1-priv capitek1
node 2: capitek2 capitek2-priv capitek2
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 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
capitek1
capitek2
capitek3
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
IP address "capitek1-vip" has already been used. Enter an unused IP address.
可先用crs_stat -t與ifconfig相關clusterware服務是否正常(ps -ef),若正常,可不用執行vipca
6,在已有節點以oracle使用者執行/u01/app/oracle/product/10.2.0/crs_1/bin/racgons add_config capitek3:6200
(新增節點埠號資訊可取自於:more product/10.2.0/crs_1/opmn/conf/ons.config )
這就完成了新增節點rac cluster軟體的配置
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-629014/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 新增節點oracle10g rac(rhel4)_databaseOracleDatabase
- 新增節點oracle10g rac(rhel4)_instanceOracle
- 刪除oracle10g rac(rhel4)節點_節點Oracle
- 刪除oracle10g rac(rhel4)節點_例項Oracle
- 【RAC】Oracle10g rac新增刪除節點命令參考Oracle
- Oracle RAC新增節點Oracle
- Oracle RAC 新增節點Oracle
- Oracle10g RAC 加節點Oracle
- 【RAC】Oracle10g RAC 節點重配的方式Oracle
- [網摘] Oracle RAC新增節點Oracle
- oracle11g RAC新增節點Oracle
- Oracle10g RAC 刪除及加入節點Oracle
- 近期oracle10g rac(rhel4)測試提要Oracle
- rac 11.2R版本新增節點
- oracle 11g rac新增節點前之清除節點資訊Oracle
- Windows 11.2.0.4 RAC安裝配置以及RAC新增節點Windows
- Oracle10g RAC 刪除及加入節點 - updatedOracle
- Oracle10g RAC clusterware split-brain - 腦裂OracleAI
- oracle 10g rac,刪除故障節點並新增新節點Oracle 10g
- oracle 10g rac 新增節點與刪除節點步驟Oracle 10g
- oracle10g rac(rhel4)_rootdelete.sh出錯Oracledelete
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- 改變oracle10g rac(rhel4)歸檔模式Oracle模式
- oracle11g_RAC新增刪除節點Oracle
- Oracle 11g RAC重新新增節點Oracle
- 【kingsql分享】RAC11G 新增節點SQL
- Oracle10g RAC 刪除節點步驟及原理Oracle
- Oracle10g RAC 刪除已經失效的節點Oracle
- oracle10g單例項遷移至3節點RACOracle單例
- 【RAC】Oracle11g RAC新增新節點相關事項Oracle
- Oracle優化案例-新增RAC節點(二十九)Oracle優化
- [轉載] Oracle9i RAC 手工新增節點Oracle
- ORACLE RAC clusterwareOracle
- RAC一個節點錯誤CRS-4047: No Oracle Clusterware components configuredOracle
- oracle10g rac(rhel4)_load balancing_taf(一)Oracle
- oracle10g rac(rhel4)_load balancing_taf(二)Oracle
- oracle10g rac(rhel4)_load balancing_taf(三)Oracle
- oracle10g rac(rhel4)_load balancing_taf(四)Oracle