Using the admintools command line we can create all types of routines and scripts.
For this taks you need to use the list_allnodes
[dbadmin@bih001 ~]$ admintools -t list_allnodes
Node | Host | State | Version | DB
-----------------+-----------+-------+-------------------+------
v_test_node0001 | 127.0.0.1 | UP | vertica-7.0.0.001 | test