How to know which node is the master node in oracle RAC
You can verify by using these blow options:
1. grep the ocssd logfile contents by searching a key word "master node"
Go to the location of cssd logfile and run the below command:
grep -i "master node" ocssd.log | tail -1
Output:
[CSSD]CLSS-3001: local node number 1, master node number 1
2. grep crsd logfile contents by searching a key word "MASTER"
Go to the location of crsd logfile and run the below command:
grep MASTER crsd.log | tail -1
3. By querying the database view "V$GES_RESOURCE"
4. by locating the OCR backup, because the node that store OCR backups is the master node.
ocrconfig -showbackup
Comments
Post a Comment