Tuesday, November 10, 2015

OLSNODES Command

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

1- You can run this command as the root user:

$ cd $GRID_HOME/bin

$ ./olsnodes -i

css-db-test-1    css-db-test-1-vip
css-db-test-2    css-db-test-2-vip

$ ./olsnodes -n

css-db-test-1    1
css-db-test-2    2

$ ./olsnodes -s

css-db-test-1    Active
css-db-test-2    Active

No comments:

Post a Comment