Check the nodes information with olsnodes command in RAC
OLSNODES command is used to fetch the list of nodes present in Cluster and other information. You can check all nodes are registered as member with cluster.
If CRS daemon is running then you can only use this command to fetch the result.
List the nodes in cluster
root@RAC1# olsnodes
RAC1
RAC2
RAC3
List the nodes with virtual IP address
root@RAC1# olsnodes -i
RAC1 172.168.1.1
RAC2 172.168.2.1
RAC3 172.168.3.1
List the node name and number for each node in the cluster
root@RAC1# olsnodes -n
RAC1 1
RAC2 2
RAC3 3
Display node roles for cluster members
root@RAC1# olsnodes -a
RAC1 Hub
RAC2 Hub
RAC3
Displays the status of the node: active or inactive
root@RAC1# olsnodes -s
RAC1 Active
RAC2 Active
RAC3 Inactive
Display the name of cluster
root@RAC1# olsnodes -c
Displays node type: pinned or unpinned
root@RAC1# olsnodes -t
List the private network
root@RAC1# olsnodes -p
RAC1 RAC1-PRIV
RAC2 RAC2-PRIV
RAC3 RAC3-PRIV
List only the active nodes
root@RAC1# olsnodes -a
Logs(-g) cluster verification information with verbose mode(-v)
root@RAC1# olsnodes -v -g