Cluster nodes information with olsnodes command

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.