Author |
Message
|
philip.baker |
Posted: Sun Jun 17, 2012 3:26 pm Post subject: Expected MQ Cluster operation |
|
|
 Voyager
Joined: 21 Mar 2002 Posts: 77 Location: Baker Systems Consulting, Inc. - Tampa
|
Environment:
WMQ v7.0.1.7
RedHat Linux 5.7
3 QMGRs, one on each of 3 VMs.
2 QMGRs are full repos, one is partial. All in the same cluster.
The 2 full repos (QM1 and QM2) each host Q1 as a cluster queue with CLWLUSEQ(ANY).
Partial repos(QM3) hosts an alias to a remote q definition of Q1.
Cluster sender channel setup on QM3 points to QM1. QM1 and QM2 are available.
Message broker from an outside (the cluster) server puts messages to an Output queue that resolves to the alias on QM3. All messages end up on QM1.
Issue one: Would like messages to end up in both Q1 on both QM1 and QM2.
Issue two: When QM1 is brought down, messages only get as far as the cluster xmitq on QM3 and eventually end up in the DLQ. I am expecting messages to end up on QM2.
I have been over the cluster pdf and a couple Developworks papers on this setup and can't seem to get it to work predictably. All involved objects and channels are in the cluster and have running status.
I've tried combinations of CLWLUSEQ settings on the Q and QMGRs.
Would like any input on what else to try.
Thanks, _________________ Regards,
Phil |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jun 17, 2012 3:31 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Phil,
Can you please post the definition of the QAlias on QM3?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 18, 2012 12:14 am Post subject: Re: Expected MQ Cluster operation |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
philip.baker wrote: |
I've tried combinations of CLWLUSEQ settings on the Q and QMGRs. |
Phil, it may seem an obvious question but have you set BIND(NOTFIXED) on both instances of Q1? _________________ 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: Mon Jun 18, 2012 5:47 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Does the app specify BIND(NOTFIXED)? _________________ 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 |
|
 |
exerk |
Posted: Mon Jun 18, 2012 6:04 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
bruce2359 wrote: |
Does the app specify BIND(NOTFIXED)? |
I always forget that  _________________ 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 |
|
 |
fjb_saper |
Posted: Mon Jun 18, 2012 7:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
exerk wrote: |
bruce2359 wrote: |
Does the app specify BIND(NOTFIXED)? |
I always forget that  |
In this scenario neither this nor the Q1 default bindings matter.
Read back the OP's post.
There is a reason why I asked for the definition of the Alias Queue on QM3...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jun 18, 2012 7:09 am Post subject: Re: Expected MQ Cluster operation |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
philip.baker wrote: |
Message broker from an outside (the cluster) server puts messages to an Output queue that resolves to the alias on QM3. Al
, |
Ah, so desu. _________________ 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 |
|
 |
exerk |
Posted: Mon Jun 18, 2012 7:50 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
fjb_saper wrote: |
Read back the OP's post.
There is a reason why I asked for the definition of the Alias Queue on QM3...  |
So you're hoping to see something like:
Code: |
QR(Q1_ALIAS) +
RNAME(' ') +
RQMNAME(' ') +
XMITQ(' ') |
but suspect that some of the blank attributes might not be blank? _________________ 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: Mon Jun 18, 2012 8:30 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
CLUSTER(cluster name), for example. _________________ 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 |
|
 |
exerk |
Posted: Mon Jun 18, 2012 9:03 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
bruce2359 wrote: |
CLUSTER(cluster name), for example. |
I wouldn't expect to see anything in that attribute if it's an alias in a gateway...care to elucidate? _________________ 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 |
|
 |
fjb_saper |
Posted: Mon Jun 18, 2012 9:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I was going to look specifically for the defbind attribute on that definition... and of course some others...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
philip.baker |
Posted: Mon Jun 18, 2012 9:58 am Post subject: |
|
|
 Voyager
Joined: 21 Mar 2002 Posts: 77 Location: Baker Systems Consulting, Inc. - Tampa
|
Here are the defintions to the QREMOTE, QALIAS on the Gateway QMGR:
DEFINE QREMOTE (Q1) DEFBIND (NOTFIXED) RNAME (Q1) RQMNAME (QM1) REPLACE
DEFINE QALIAS (INPUT) TARGQ (Q1) REPLACE _________________ Regards,
Phil |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 18, 2012 10:00 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
philip.baker wrote: |
All messages end up on QM1. |
philip.baker wrote: |
RQMNAME (QM1) |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 18, 2012 10:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
RQMNAME should contain a space as per cluster manual...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
philip.baker |
Posted: Mon Jun 18, 2012 10:23 am Post subject: |
|
|
 Voyager
Joined: 21 Mar 2002 Posts: 77 Location: Baker Systems Consulting, Inc. - Tampa
|
So.. Simply leave out the value in the RQMNAME for the definition.
So this doc:
http://www.ibm.com/developerworks/websphere/library/techarticles/1108_gupta/1108_gupta.html?ca=drs-
is wrong for:
Remote Queue Definition of Cluster Queue
DEFINE QREMOTE (IBM.ESB.IN) RNAME (IBM.ESB.IN) RQMNAME (IBMESBQM1)
DEFINE QALIAS (INPUT) TARGQ (IBM.ESB.IN)
I know its not magic, so the QMGR for where to put the message on must be populated by the Gateway QMGR based on the clustering algorithm? _________________ Regards,
Phil |
|
Back to top |
|
 |
|