Author |
Message
|
thunder007_mq |
Posted: Wed Oct 20, 2004 9:21 pm Post subject: need steps for multi hopping |
|
|
Newbie
Joined: 20 Oct 2004 Posts: 1 Location: kansas
|
hello all, im new to Mq ...i want to know the steps involved in multi hopping and also what r the manuals i need to study to get the overview of the mq series |
|
Back to top |
|
 |
kirani |
Posted: Wed Oct 20, 2004 10:42 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Take a look at Intercommunication Guide for the info on hopping. You can find a bunch of manuals here. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
techno |
Posted: Thu Apr 28, 2005 2:35 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
I tried to do something like below. Getting RC 2184. Pls help.
Trying to put message on to DEST.QL of qmgr QM3 from QM1. Defined a QMGR alias DEST.QL at QM1
/opt/mqm/samp/bin/amqsput DEST.QL QM1
1. QMGR(1418): QM1
Sdr Channel:QM1/QM2
XmitQ: QM2
define qremote(DEST.QL) RNAME('') RQMNAME(TSTQMGR) XMITQ(QM2)
2. QMGR(1414): QM2
Sdr Channel:QM2/QM3
Rcvr Channel:QM1/QM2
XmitQ: QM3
define qremote(DEST.QL) RNAME(DIRECT.QL) RQMNAME(QM3) XMITQ(QM3)
3. QMGR(1415): QM3
Rcvr Channel:QM2/QM3
QL: DEST.QL |
|
Back to top |
|
 |
vennela |
Posted: Thu Apr 28, 2005 3:46 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You haven't defined QMGR aliases |
|
Back to top |
|
 |
eknathv |
Posted: Fri Apr 29, 2005 3:18 am Post subject: |
|
|
Apprentice
Joined: 14 Aug 2002 Posts: 27 Location: Bangalore
|
Definition on Queue Manager QM1 define like below
1. QMGR(1418): QM1
Sdr Channel:QM1/QM2
XmitQ: QM2
define qremote(RQD) RNAME('DEST.QL') RQMNAME('QM3') XMITQ(QM2)
And then give a try. Good Luck
- Eknath Vashishtha |
|
Back to top |
|
 |
techno |
Posted: Fri Apr 29, 2005 10:03 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
1. QMGR(1418): QM1
Sdr Channel:QM1/QM2
XmitQ: QM2
Quote: |
define qremote(DEST.QL) RNAME('') RQMNAME(TSTQMGR) XMITQ(QM2) |
I thought above was qmgr alias.. |
|
Back to top |
|
 |
softtechie |
Posted: Mon Jun 12, 2006 7:25 pm Post subject: multi-hopping |
|
|
Newbie
Joined: 10 Jun 2006 Posts: 3
|
Hi,
I'm new to MQ design environment and trying to learn it by practice. I find multi-hopping little confusing
I'm trying following example,
runmqsc QM1
DEFINE QLOCAL('QM2') USAGE(XMITQ)
DEFINE QREMOTE('Q3') RNAME('') RQMNAME(QM3) XMITQ('QM2')
DEFINE CHL('to.QM2') CHLTYPE(SDR) CONNAME('localhost(9011)') XMITQ('QM2')
ALTER QLOCAL('QM2') TRIGGER TRIGTYPE(FIRST) TRIGDATA('to.QM2') INITQ('SYSTEM.CHANNEL.INITQ')
runmqsc QM2
DEFINE QLOCAL('QM3') USAGE(XMITQ)
DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(9011) CONTROL(QMGR) DESCR('TCP/IP Listener')
START LISTENER('LISTENER.TCP')
DEFINE CHL('to.QM3') CHLTYPE(SDR) CONNAME('localhost(9012)') XMITQ('QM3')
DEFINE CHL('to.QM2') CHLTYPE(RCVR)
ALTER QLOCAL('QM3') TRIGGER TRIGTYPE(FIRST) TRIGDATA('to.QM3') INITQ('SYSTEM.CHANNEL.INITQ')
runmqsc QM3
DEFINE QLOCAL('Q3')
DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(9012) CONTROL(QMGR) DESCR('TCP/IP Listener')
START LISTENER('LISTENER.TCP')
DEFINE CHL('to.QM3') CHLTYPE(RCVR)
C:\>amqsput Q3 QM1
Sample AMQSPUT0 start
target queue is Q3
MQOPEN ended with reason code 2184
unable to open queue for output
Sample AMQSPUT0 end
However, If I change the QManager alias definition to include the Qname also, as shown below
DEFINE QREMOTE('Q3') RNAME('Q3') RQMNAME(QM3) XMITQ('QM2')
it works as
C:\>amqsput Q3 QM1
Sample AMQSPUT0 start
target queue is Q3
Trial messages after changing QMGR alias
Sample AMQSPUT0 end
I read that for a QMGR alias, it must have RNAME as blank, but I'm unable to create a multi-hopping example with such definition,
Can anyone in this group help me with this.
Regards
Aqeel.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 12, 2006 7:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
|