Show the status of the vertica nodes from the command line

Document ID : KB000011782
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How can I list all vertica nodes and see their current status?

Environment:
CAPM 2.X
Answer:

To list the vertica nodes and their current status you can do the following:

1. Log on to the data repository

2. change to the dradmin user (su - dradmin)

3. Run the following command to list all nodes and see their current status:

-bash-4.1$ ./admintools -t list_allnodes

 Node              | Host          | State | Version           | DB

-------------------+---------------+-------+-------------------+--------

 v_drdata_node0001 | xx.xxx.xx.xxx | UP    | vertica-7.1.2.006 | drdata

 v_drdata_node0002 |  xx.xxx.xx.xxx | UP    | vertica-7.1.2.006 | drdata

 v_drdata_node0003 |  xx.xxx.xx.xxx | UP    | vertica-7.1.2.006 | drdata