Author |
Message
|
Calypso |
Posted: Tue Nov 03, 2009 4:43 am Post subject: Channel automation! |
|
|
Novice
Joined: 16 Oct 2009 Posts: 15
|
Hi together,
I already installed and configured five times IBM Websphere MQ 6.0
on different computer. On each machine I configured two Queuemanager
with Transmission Queue and Sender Channel.
The result:
On two machines everything is working well. More precisely, when I
put a message into the Remote Queue, the Channel is activated
automaticly and the message is sent to a Remote Queuemanager.
On two other machines no message is sent, until I start the Sender
Channel manually.
On the last machine the first Queuemanager behaves like I described in the
first situation, the second like I described in the second situation.
I already aligned the settings of the Queuemanager, the Remote and
the Transmission Queue and the Sender Channel, on each installation,
but find no difference.
Is there anything I could do further more?
Thanks for your help!
Greetings
Calypso |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 03, 2009 5:50 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Post the QR, XMITQ and SDR definitions of one of the 'working' queue managers, and the same for one of the 'non-working' queue managers. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Calypso |
Posted: Tue Nov 03, 2009 6:23 am Post subject: |
|
|
Novice
Joined: 16 Oct 2009 Posts: 15
|
Exists a simple way to do it, or should I post it by screenshots? |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 03, 2009 6:32 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Either dump the definitions using the MS03 SupportPac (and please, chop out all the irrelevant queues etc.) or use the DISPLAY command within a command console and copy the output, or pipe in the display commands and pipe out the result. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Nov 04, 2009 12:50 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
channels get started automatically on msg arrival, when we set them to do so.. and the magic word is "TRIGGERING"
 _________________ Cheers |
|
Back to top |
|
 |
Calypso |
Posted: Wed Nov 04, 2009 5:09 am Post subject: |
|
|
Novice
Joined: 16 Oct 2009 Posts: 15
|
Thanks for your help. Here is the result:
I used the MS03 SupportPac and got the attached listing with the definitions
of the queuemanager, the remotequeue, the transmissionqueue, the sender channel and the process:
(This is the listing of the first System which is working well)
Code: |
*
* This file generated by SAVEQMGR V6.1.2 on 2009-11-03 at 16.20.06 hours.
*
* QMNAME (MP2HIL) +
* CRDATE (2008-12-16) +
* CRTIME (13.42.56) +
* ALTDATE (2009-04-01) +
* ALTTIME (15.32.07) +
* QMID (MP2HIL_2008-12-16_13.42.56) +
* CMDLEVEL (600) +
* DISTL (YES) +
* MAXPRTY (9) +
* PLATFORM (WINDOWSNT) +
* SYNCPT +
* COMMANDQ (SYSTEM.ADMIN.COMMAND.QUEUE) +
ALTER QMGR +
AUTHOREV(DISABLED) +
DEADQ(' ') +
DEFXMITQ(' ') +
DESCR(' ') +
INHIBTEV(DISABLED) +
LOCALEV(DISABLED) +
MAXHANDS(256) +
MAXUMSGS(10000) +
PERFMEV(DISABLED) +
REMOTEEV(DISABLED) +
STRSTPEV(ENABLED) +
TRIGINT(999999999) +
MAXMSGL(100000000) +
CHAD(ENABLED) +
CHADEV(ENABLED) +
CHADEXIT(' ') +
CCSID(850) +
CLWLEXIT(' ') +
CLWLDATA(' ') +
REPOS(' ') +
REPOSNL(' ') +
CLWLLEN(100) +
SSLCRLNL (' ') +
SSLKEYR ('C:\Program Files\IBM\WebSphere MQ\qmgrs\MP2HIL\ssl\-
key') +
CHLEV(DISABLED) +
SSLEV(DISABLED) +
SSLFIPS(NO) +
IPADDRV(IPV4) +
LOGGEREV(DISABLED) +
SCHINIT(QMGR) +
SCMDSERV(QMGR) +
STATQ(OFF) +
STATMQI(OFF) +
STATCHL(OFF) +
STATACLS(QMGR) +
STATINT(1800) +
ACCTQ(OFF) +
ACCTMQI(OFF) +
ACCTINT(1800) +
ACCTCONO(DISABLED) +
ROUTEREC(MSG) +
ACTIVREC(MSG) +
MONCHL(OFF) +
MONQ(OFF) +
MONACLS(QMGR) +
CLWLMRUC(999999999) +
CLWLUSEQ(LOCAL) +
SSLRKEYC(0) +
FORCE
DEFINE QREMOTE ('MP2HIL.XZFTCS0.QUEUE') +
* ALTDATE (2008-12-16) +
* ALTTIME (14.27.41) +
DESCR(' ') +
PUT(ENABLED) +
DEFPRTY(0) +
DEFPSIST(YES) +
SCOPE(QMGR) +
XMITQ('MP2HIL.XZFTCS0.XMITQ') +
RNAME('MP2HIL.XZFTCS0.QUEUE') +
RQMNAME('XZFTCS0') +
CLUSTER(' ') +
CLUSNL(' ') +
DEFBIND(OPEN) +
CLWLRANK(0) +
CLWLPRTY(0) +
REPLACE
DEFINE QLOCAL ('MP2HIL.XZFTCS0.XMITQ') +
* CRDATE (2008-12-16) +
* CRTIME (13.51.37) +
* ALTDATE (2009-10-29) +
* ALTTIME (14.02.25) +
DESCR(' ') +
PUT(ENABLED) +
DEFPRTY(0) +
DEFPSIST(YES) +
* CURDEPTH(0) +
CLWLUSEQ(QMGR) +
SCOPE(QMGR) +
GET(ENABLED) +
MAXDEPTH(5000) +
MAXMSGL(4194304) +
SHARE +
DEFSOPT(SHARED) +
MSGDLVSQ(PRIORITY) +
HARDENBO +
USAGE(XMITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
TRIGDPTH(1) +
TRIGMPRI(0) +
TRIGDATA('MP2HIL.XZFTCS0') +
PROCESS('MP2HIL.XZFTCS0') +
INITQ('SYSTEM.CHANNEL.INITQ') +
RETINTVL(999999999) +
BOTHRESH(0) +
BOQNAME(' ') +
QDEPTHHI(80) +
QDEPTHLO(20) +
QDPMAXEV(ENABLED) +
QDPHIEV(DISABLED) +
QDPLOEV(DISABLED) +
QSVCINT(999999999) +
QSVCIEV(NONE) +
DISTL(YES) +
NPMCLASS(NORMAL) +
STATQ(QMGR) +
MONQ(QMGR) +
ACCTQ(QMGR) +
CLUSTER(' ') +
CLUSNL(' ') +
DEFBIND(OPEN) +
CLWLRANK(0) +
CLWLPRTY(0) +
REPLACE
DEFINE CHANNEL ('MP2HIL.XZFTCS0') CHLTYPE(SDR) +
* ALTDATE (2008-12-16) +
* ALTTIME (13.47.51) +
TRPTYPE(TCP) +
BATCHINT(0) +
BATCHHB(0) +
BATCHSZ(50) +
CONNAME('SSTRB425.edc.corpintra.net(1414)') +
LOCLADDR(' ') +
CONVERT(NO) +
DESCR(' ') +
DISCINT(6000) +
HBINT(300) +
LONGRTY(999999999) +
LONGTMR(1200) +
SHORTRTY(10) +
SHORTTMR(60) +
MAXMSGL(4194304) +
MCATYPE(PROCESS) +
MCAUSER(' ') +
MSGDATA(' ') +
MSGEXIT(' ') +
NPMSPEED(FAST) +
RCVDATA(' ') +
RCVEXIT(' ') +
SCYDATA(' ') +
SCYEXIT(' ') +
SENDDATA(' ') +
SENDEXIT(' ') +
SEQWRAP(999999999) +
USERID(' ') +
XMITQ('MP2HIL.XZFTCS0.XMITQ') +
SSLCIPH(' ') +
SSLPEER(' ') +
KAINT(AUTO) +
MONCHL(QMGR) +
STATCHL(QMGR) +
COMPMSG(NONE) +
COMPHDR(NONE) +
REPLACE
DEFINE PROCESS ('MP2HIL.XZFTCS0') +
* ALTDATE (2008-12-16) +
* ALTTIME (13.46.30) +
DESCR(' ') +
APPLTYPE(WINDOWSNT) +
APPLICID(' ') +
USERDATA(' ') +
ENVRDATA(' ') +
REPLACE
|
And the following listing belongs to the System with the
automation problem:
Code: |
*
* This file generated by SAVEQMGR V6.1.2 on 2009-11-04 at 13.26.36 hours.
*
* QMNAME (CPC3_PC1) +
* CRDATE (2009-04-08) +
* CRTIME (13.25.47) +
* ALTDATE (2009-11-04) +
* ALTTIME (13.20.25) +
* QMID (CPC3_PC1_2009-04-08_13.25.47) +
* CMDLEVEL (600) +
* DISTL (YES) +
* MAXPRTY (9) +
* PLATFORM (WINDOWSNT) +
* SYNCPT +
* COMMANDQ (SYSTEM.ADMIN.COMMAND.QUEUE) +
ALTER QMGR +
AUTHOREV(DISABLED) +
DEADQ(' ') +
DEFXMITQ(' ') +
DESCR(' ') +
INHIBTEV(DISABLED) +
LOCALEV(DISABLED) +
MAXHANDS(256) +
MAXUMSGS(10000) +
PERFMEV(DISABLED) +
REMOTEEV(DISABLED) +
STRSTPEV(ENABLED) +
TRIGINT(999999999) +
MAXMSGL(100000000) +
CHAD(ENABLED) +
CHADEV(ENABLED) +
CHADEXIT(' ') +
CCSID(850) +
CLWLEXIT(' ') +
CLWLDATA(' ') +
REPOS(' ') +
REPOSNL(' ') +
CLWLLEN(100) +
SSLCRLNL (' ') +
SSLKEYR ('C:\Program Files\IBM\WebSphere MQ\qmgrs\CPC3_PC1\ss-
l\key') +
CHLEV(DISABLED) +
SSLEV(DISABLED) +
SSLFIPS(NO) +
IPADDRV(IPV4) +
LOGGEREV(DISABLED) +
SCHINIT(QMGR) +
SCMDSERV(QMGR) +
STATQ(OFF) +
STATMQI(OFF) +
STATCHL(OFF) +
STATACLS(QMGR) +
STATINT(1800) +
ACCTQ(OFF) +
ACCTMQI(OFF) +
ACCTINT(1800) +
ACCTCONO(DISABLED) +
ROUTEREC(MSG) +
ACTIVREC(MSG) +
MONCHL(OFF) +
MONQ(OFF) +
MONACLS(QMGR) +
CLWLMRUC(999999999) +
CLWLUSEQ(LOCAL) +
SSLRKEYC(0) +
FORCE
DEFINE QREMOTE ('CPC3_PC1.XZFTCS0.QUEUE') +
* ALTDATE (2009-04-08) +
* ALTTIME (16.13.51) +
DESCR(' ') +
PUT(ENABLED) +
DEFPRTY(0) +
DEFPSIST(YES) +
SCOPE(QMGR) +
XMITQ('CPC3_PC1.XZFTCS0.XMITQ') +
RNAME('XZ0.FT60.1.CPC3_PC1.TCS') +
RQMNAME('XZFTCS0') +
CLUSTER(' ') +
CLUSNL(' ') +
DEFBIND(OPEN) +
CLWLRANK(0) +
CLWLPRTY(0) +
REPLACE
DEFINE QLOCAL ('CPC3_PC1.XZFTCS0.XMITQ') +
* CRDATE (2009-04-08) +
* CRTIME (13.30.20) +
* ALTDATE (2009-07-29) +
* ALTTIME (11.28.15) +
DESCR(' ') +
PUT(ENABLED) +
DEFPRTY(0) +
DEFPSIST(YES) +
* CURDEPTH(29) +
CLWLUSEQ(QMGR) +
SCOPE(QMGR) +
GET(ENABLED) +
MAXDEPTH(5000) +
MAXMSGL(4194304) +
SHARE +
DEFSOPT(SHARED) +
MSGDLVSQ(PRIORITY) +
HARDENBO +
USAGE(XMITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
TRIGDPTH(1) +
TRIGMPRI(0) +
TRIGDATA('CPC3_PC1.XZFTCS0') +
PROCESS('CPC3_PC1.XZFTCS0') +
INITQ('SYSTEM.CHANNEL.INITQ') +
RETINTVL(999999999) +
BOTHRESH(0) +
BOQNAME(' ') +
QDEPTHHI(80) +
QDEPTHLO(20) +
QDPMAXEV(ENABLED) +
QDPHIEV(DISABLED) +
QDPLOEV(DISABLED) +
QSVCINT(999999999) +
QSVCIEV(NONE) +
DISTL(YES) +
NPMCLASS(NORMAL) +
STATQ(QMGR) +
MONQ(QMGR) +
ACCTQ(QMGR) +
CLUSTER(' ') +
CLUSNL(' ') +
DEFBIND(OPEN) +
CLWLRANK(0) +
CLWLPRTY(0) +
REPLACE
DEFINE CHANNEL ('CPC3_PC1.XZFTCS0') CHLTYPE(SDR) +
* ALTDATE (2009-04-08) +
* ALTTIME (13.33.02) +
TRPTYPE(TCP) +
BATCHINT(0) +
BATCHHB(0) +
BATCHSZ(50) +
CONNAME('SSTRB425.edc.corpintra.net(1414)') +
LOCLADDR(' ') +
CONVERT(NO) +
DESCR(' ') +
DISCINT(6000) +
HBINT(300) +
LONGRTY(999999999) +
LONGTMR(1200) +
SHORTRTY(10) +
SHORTTMR(60) +
MAXMSGL(4194304) +
MCATYPE(PROCESS) +
MCAUSER(' ') +
MSGDATA(' ') +
MSGEXIT(' ') +
NPMSPEED(FAST) +
RCVDATA(' ') +
RCVEXIT(' ') +
SCYDATA(' ') +
SCYEXIT(' ') +
SENDDATA(' ') +
SENDEXIT(' ') +
SEQWRAP(999999999) +
USERID(' ') +
XMITQ('CPC3_PC1.XZFTCS0.XMITQ') +
SSLCIPH(' ') +
SSLPEER(' ') +
KAINT(AUTO) +
MONCHL(QMGR) +
STATCHL(QMGR) +
COMPMSG(NONE) +
COMPHDR(NONE) +
REPLACE
DEFINE PROCESS ('CPC3_CP1.XZFTCS0') +
* ALTDATE (2009-04-08) +
* ALTTIME (13.33.46) +
DESCR(' ') +
APPLTYPE(WINDOWSNT) +
APPLICID(' ') +
USERDATA(' ') +
ENVRDATA(' ') +
REPLACE
|
|
|
Back to top |
|
 |
exerk |
Posted: Wed Nov 04, 2009 5:27 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
OK. Initial quick look by me did not spot any obvious problems with the definitions, although as an observation - the requirement for the processes (which are empty anyway) to trigger the channels disappeared a long time ago.
So, next checks are:
1. Anything in Event Viewer related to WMQ?
2. Anything in the error log? (<mqinstall path>/qmgrs/<QMGR NAME>/errors/AMQERR01.LOG)
3. Anything on the Dead-letter queue relating to trigger messages? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 04, 2009 6:14 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Channel initiator (runmqchi) running? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Calypso |
Posted: Wed Nov 04, 2009 6:45 am Post subject: |
|
|
Novice
Joined: 16 Oct 2009 Posts: 15
|
I emptied the Transmissionqueue and started the application again,
which generates the messages.
I looked at the event viewer, but the only thing I saw was the
stop and start action I executed several hours ago.
This was also the only insertion in the error log file
and the Deadletterqueue is empty!
The 29 messages are still waiting in the Transmissionqueue to
be sent across the sender channel, until it is set to acive state. |
|
Back to top |
|
 |
Calypso |
Posted: Wed Nov 04, 2009 6:47 am Post subject: |
|
|
Novice
Joined: 16 Oct 2009 Posts: 15
|
@bruce2359
Where can I find the channel initiator? |
|
Back to top |
|
 |
exerk |
Posted: Wed Nov 04, 2009 6:49 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
As per bruce2359's post, check Task Manager for Image Name runmqchi.exe, and that it runs as MUSR_MQADMIN. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Last edited by exerk on Wed Nov 04, 2009 6:56 am; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 04, 2009 6:49 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Is the channel initiator (runmqchi) running? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 04, 2009 6:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Calypso wrote: |
Where can I find the channel initiator? |
Running in your machine? Or not? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 04, 2009 6:53 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The channel initiator is a special-purpose trigger monitor that starts a channel (instead of an application program).
If all is properly configured AND the channel initiator is running, then the channel will (likely) start on the arrival of a message in the xmit queue. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
gunter |
Posted: Wed Nov 04, 2009 6:57 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
PROCESS('CPC3_PC1.XZFTCS0') +
DEFINE PROCESS ('CPC3_CP1.XZFTCS0') + _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
|