The olsnodes command provides the list of nodes and other information for all nodes participating in the cluster.

You can use this command to quickly check that your cluster is operational, and all nodes are registered as members of the cluster. This command also provides an easy method for obtaining the node numbers.

SYNTAX

Command Description
-n Lists all nodes participating in the cluster and includes the assigned node numbers.
-i Lists all nodes participating in the cluster and includes the Virtual Internet Protocol (VIP) address assigned to each node.
-s Displays the status of the node: active or inactive.
-t Displays node type: pinned or unpinned.
node_name Displays information for a particular node.
-l [-p] Lists the local node and includes the private interconnect for the local node. The -p option is only valid when you specify along with the -l option.
-c Displays the name of the cluster.
-g Logs cluster verification information with more details.
-v Logs cluster verification information in verbose mode. Use in debug mode and only at the direction of My Oracle Support.

To find all node in clusters

To find local node name with private interconnect.

To find cluster name

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Anuradha’s LinkedIn: https://www.linkedin.com/in/dbaanuradhamudgal/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

Leave a Reply

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