B OLSNODES Command Reference

This appendix describes the syntax and command options for the OLSNODES command. The OLSNODES command provides the list of nodes and other information for all nodes participating in the cluster. The syntax for the OLSNODES command is:

olsnodes [-n] [-i] [-l] [-v] [-g] [-p]

If you issue the OLSNODES command without any command parameters, the command returns a listing of the nodes in the cluster:

[user1@node1 myoracle]# olsnodes
node1
node2
node3
node4

Table B-1 describes the options you can include on the OLSNODES command to obtain additional cluster-related information.

Table B-1 OLSNODES Command Options

Option Description

-g

Logs cluster verification information with more details.

-i

Lists all nodes participating in the cluster and includes the Virtual Internet Protocol (VIP) address assigned to each node.

-l

Displays the local node name.

-n

Lists al nodes participating in the cluster and includes the assigned node numbers.

-p

Lists all nodes participating in the cluster and includes the private interconnect assigned to each node.

-v

Logs cluster verification information in verbose mode.