print_tra_cluster_status.py

The print_tra_cluster_status.py script displays the current status of all Traffic Routing Agent nodes configured as HA pairs. Run this script as the tra user on a server hosting one of these Traffic Routing Agent nodes.

Syntax

print_tra_status.py [-h][-u username][-v]

Options

The print_tra_status.py script has the following options:

-h, --help
Help about the script options.
-u username, --as_user=username
When this option is set, run the script as the specified user. The default is the current logged in user.
-v, --verbose
Verbose output.

Example

Show the status of a running cluster, for example:
print_tra_cluster_status.py
INFO:  node 1 is running ("mtx_process_ctrl (pid 20377) is running...")
INFO:  node 2 is running ("mtx_process_ctrl (pid 15113) is running...")