...
The server-stat.sh
tool's is limited, however, in that it only displays the status of the server itself; it says nothing about what clients are connected to the server, if any. To address that, we have a homegrown Java tool, /usr/local/lib/tc-status-exe.jar
, which displays information about the client(s) connected to the server, as well as the server status; for example:
...
In this example, we see that idp-2.mit.edu is the active node, idp-1.mit.edu is passive, and both clients are properly connected to the active server. (The number following the colon in the client specification is the client's TCP port number). If a client is missing from the active node's clientlist, it (i.e. tomcat) that client's tomcat should be restarted.
Restarting the cluster
...