Management

Installed with the Dispatch Router kit is a command line tool called qdstat. This tool can be used to view manageable data inside Dispatch Router. The following options are useful for seeing that the router is doing:


General Options:

-b <access-url>, --bus=<access-url>
                    URL of the messaging bus to connect to
-r <router-id>, --router=<router-id>
                    Router to be queried. Normally, if the router to be queried is reachable by qdstat, the -b 
                    option will be the URL of the router. However, in some cases the router to be queried is
                    not directly accessible via TCP/IP due to a firewall or because it is in a disjoint private
                    network. In those situations, the -b URL can be any accessible router in the network and -r 
                    will be the router-id of the node to query. The list of router-ids is obtained using the -n command.   
-t <secs>, --timeout=<secs>
                    Maximum time to wait for connection (in seconds)
--sasl-mechanism=<mech>
                    SASL mechanism for authentication (e.g. EXTERNAL,
                    ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL
                    automatically picks the most secure available
                    mechanism - use this option to override.
--ssl-certificate=<cert>
                    Client SSL certificate (PEM Format)
--ssl-key=<key>     Client SSL private key (PEM Format)

Option Description

   -l   Print a list of AMQP links attached to the router. Links are unidirectional. 
        Outgoing links are usually associated with a subscription address. The tool 
        distinguishes between endpoint links and router links. Endpoint links are 
        attached to clients using the router. Router links are attached to other 
        routers in a network of routers.

    -a  Print a list of addresses known to the router.

    -n  Print a list of known routers in the network.

    -c  Print a list of connections

    -m  Prints memory usage information

index