Share

How to query cluster name?

After installing Oracle clusterware, we have often asked ourselves what we named the cluster. Unless we took screenshots, of course.

In RAC systems, we can query the cluster name with cemutlo under $GRID_HOME/bin.

Example usage is as follows.

-bash-4.3$ .oraenv
ORACLE_SID = [oracle] ? +ASM1
The Oracle base remains unchanged with value /u01/app/oracle
-bash-4.3$ cd $GRID_HOME
-bash-4.3$ cd $GRID_HOME/bin
-bash-4.3$ ./cemutlo -n
oradb-clsr
-bash-$4.3

To get information about using cemutlo, run it with the -h parameter.

-bash-4.3$ ./cemutlo -h
Usage: ./cemutlo.bin [-n] [-w]
        where:
        -n prints the cluster name
        -w prints the clusterware version in the following format:
                 <major_version>:<minor_version>:<vendor_info>

Loading

You may also like