I have seen many users asking how to find “Master node” in Oracle RAC, let me clear some of their doubts.
There are two types of Masters in Oracle RAC, one is Mater node at Oracle Clusterware level and other is Master node for specific resource or block or object.
The node which gets the active state during startup is authorized to be a master node by Cluster Synchronization Service.
Run the below command to find which node is master at Clusterware level
$cat $ORA_CRS_HOME/log/`hostname`/cssd/ocssd* |grep master
or
$ for x in `ls -tr $ORA_CRS_HOME/log/`hostname`/cssd/ocssd* `; do grep -i "master node" $x ; done | tail -1
The OCR Automatic backups are taken only by master node. If the Master fails, the OCR backups will be created on the new Master. The Master node which has OCR backups goes down due to failure then we cannot be recover the OCR that’s why Oracle recommends taking backups using “ocrconfig” and also integrating OCR backups with backup strategy.
Run the below command to find which node is OCR Master and taking automatic backups.
$ocrconfig –showbackup
testrac02 2010/08/30 16:29:52 /oracle/crs/cdata/crs
testrac02 2010/08/30 16:29:52 /oracle/crs/cdata/crs
testrac02 2010/08/30 12:29:49 /oracle/crs/cdata/crs
testrac02 2010/08/30 08:29:46 /oracle/crs/cdata/crs
testrac02 2010/08/29 00:29:23 /oracle/crs/cdata/crs
The block level masters are used by Cache fusion while transferring the block. Any node can become the master node of a particular block and you can also see which node acting as master in V$GES_RESOURCE table (MASTER_NODE column)
You can manually remaster an object with oradebug command:
SQL> oradebug lkdebug -m pkey "object_id"
Regards
Satishbabu Gunukula
http://www.oracleracexpert.com
How to find Master Node in Oracle RAC(zt)
How to find Master Node in Oracle RAC
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7734298/viewspace-683605/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How Oracle Store Number internal(zt)Oracle
- How To Deal With Split Brain In Oracle 19c RacAIOracle
- How to find dependency
- how to show hidden parameter(zt)
- How To Deal With Split Brain In Oracle 19c Rac-202203AIOracle
- oracle enqueue(zt)OracleENQ
- How does SAP freelancer find a project that is not tough?Project
- oracle event 2 (zt)Oracle
- oracle job管理(zt)Oracle
- ORACLE LARGE MEMORY(zt)Oracle
- How to use “cat” command on “find” command's output?
- oracle time_zone(zt)Oracle
- AUTO START ORACLE ON LINUX(zt)OracleLinux
- oracle RACOracle
- Oracle RAC Cache Fusion 系列十七:Oracle RAC DRMOracle
- Oracle's Parallel Execution Features(zt)OracleParallel
- Oracle SQL optimization-2(zt)OracleSQL
- ORACLE MTS的介紹(zt)Oracle
- Oracle 11.2 DataGuard RAC To RAC搭建Oracle
- 14-Architecture-Master-Node CommunicationAST
- Oracle RAC CacheFusion 系列十五:Oracle RAC CRServer Part TwoOracleServer
- ORACLE RAC clusterwareOracle
- Oracle RAC Cache Fusion系列十八:Oracle RAC Statisticsand Wait EventsOracleAI
- Oracle RAC Cache Fusion 系列十四:Oracle RAC CR Server Part OneOracleServer
- Oracle RAC Cache Fusion 系列十:Oracle RAC Enqueues And Lock Part 1OracleENQ
- 【RAC】Oracle RAC如何修改心跳網路Oracle
- oracle rac 增加磁碟Oracle
- Oracle RAC Wait EventsOracleAI
- Oracle 11G RAC One Node's Instance Arise ORA-01105 ORA-01606Oracle
- 【RAC】Oracle rac 如何修改公網及vipOracle
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- Oracle RAC Cache Fusion 系列九:Oracle RAC 分散式資源管理(二)Oracle分散式
- Oracle RAC Cache Fusion 系列八:Oracle RAC 分散式資源管理(一)Oracle分散式
- Oracle RAC更新補丁Oracle
- Oracle RAC新增節點Oracle
- 4.2.1.12 規劃 Oracle RACOracle
- Oracle RAC自啟動Oracle
- Oracle:RAC 程式簡介Oracle
- Networker備份oracle racOracle