Thursday, November 21, 2013

How to find the Cluster Name in RAC Environment?



How to find the Cluster Name in RAC Environment?

Method 01 :
-------------

$ORA_CRS_HOME/bin/cemutlo -n


no_sid @ hostp18:/u01/app/oracle/product/11.2
> /u01/app/11.2/grid/bin/cemutlo -n
clusprod06
no_sid @ hostp18:/u01/app/oracle/product/11.2


Method 02 :
-------------

ls of $GRID_HOME/cdata will list out the Cluster Name. ( We will have directories called localhost, servername, and then cluster name )


no_sid @ hostorap16:/u01/app/11.2/grid/cdata
> ls -ltr
total 2924
drwxr-xr-x 2 oracle oinstall      4096 Nov  6 11:27 localhost
drwxr-xr-x 2 oracle oinstall      4096 Nov  6 11:47 hostorap16
drwxrwxr-x 2 oracle oinstall      4096 Nov 20 10:49 clusprod06

No comments: