Just an Extension for Multi-hopping messages between 4 Queue Managers
Reference Links :
1) Distributed MQ communication Part 1
2) Distributed Two Way MQ Communication — Part2
3) MultiHopping with 3 Qmgrs
Quick Reference Guide
Multi-hopping with 4 QMGRS , QMA–> QMB–> QMC–> QMD
On Queue Manager QMA bash-3.2$ crtmqm QMA bash-3.2$ strmqm QMA bash-3.2$ runmqsc QMA DEFINE QLOCAL(QMA.XMITQ) USAGE(XMITQ) DEFINE CHANNEL(QMA.TO.QMB) CHLTYPE(SDR) CONNAME(‘192.168.111.128(1420)’) XMITQ(QMA.XMITQ) DEFINE QREMOTE(QMC.RQ) RNAME(QMC.LCQ) RQMNAME(QMC) XMITQ(QMA.XMITQ) DEFINE QREMOTE(QMD.RQ) RNAME(QMD.LCQ) RQMNAME(QMD) XMITQ(QMA.XMITQ) START CHANNEL(QMA.TO.QMB) DISPLAY CHSTATUS(*)On Queue Manager QMBbash-3.2$ crtmqm QMB bash-3.2$ strmqm QMB bash-3.2$ runmqsc QMB DEFINE LISTENER(QMB.LISTENER) TRPTYPE(TCP) PORT(1420) IPADDR(192.168.111.128) START LISTENER(QMB.LISTENER) DEFINE CHANNEL(QMA.TO.QMB) CHLTYPE(RCVR) DEFINE CHANNEL(QMB.TO.QMC) CHLTYPE (SDR) TRPTYPE(TCP) CONNAME(‘192.168.111.128(1421)’) XMITQ(QMB.XMITQ) DEFINE QLOCAL(QMB.XMITQ) USAGE(XMITQ)– Qmgr Alias for QMC and QMD DEFINE QREMOTE(QMC) RQMNAME(QMC) RNAME(”) XMITQ(QMB.XMITQ) DEFINE QREMOTE(QMD) RQMNAME(QMD) RNAME(”) XMITQ(QMB.XMITQ) START CHANNEL(QMA.TO.QMB) On Queue Manager QMC bash-3.2$ crtmqm QMC — Qmgr Alias of QMD On Queue Manager QMD bash-3.2$ crtmqm QMD Testing of MultiHopping on 4 Qmgrs bash-3.2$ /opt/mqm/samp/bin/amqsput QMD.RQ QMA Sample AMQSPUT0 end bash-3.2$ /opt/mqm/samp/bin/amqsget QMD.LCQ QMD
|