Red Hat Bugzilla – Bug 891673
qpid-tools to support broker-list and reconnect option
Last modified: 2014-07-30 16:38:02 EDT
Description of problem:
Since new HA introduced, customers have a cluster of brokers where just (the active) one physically accepts new connections and others reject them. If one does not use virtual IP address in cluster configuration, using qpid tools gets complicated as:
- they don't support reconnect either broker-list in "-b" option
- thus one has to check what broker is the active one and even then fire his/her command
Therefore it makes sense to enhance qpid tools by reconnect option as well as allow broker-list in "-b" option.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup and run e.g. 3node HA cluster without using virtual IP.
2. Try to run any qpid-* tool
$ qpid-config -b "node1,node2,node3"
Failed: ConnectError: [Errno -2] Name or service not known
$ qpid-config -b "amqp:node1,node2,node3"
Failed: ValueError: amqp:node1,node2,node3
Having options of qpid-* tools such that firing one command automatically connects to the active broker.