Author |
Message
|
nandanbal |
Posted: Mon Feb 16, 2009 8:39 am Post subject: gateway queue manager not doing workload management |
|
|
Newbie
Joined: 16 Feb 2009 Posts: 4
|
I am trying to set up gateway queue manager for doing workload managemtent to clustered queues. The set up is as follows -
QM3 --- out of cluster
QM1 --- inside cluster and acting as gateway
QM2 --- cluster repos and holding cluster queue
QM4 --- cluster repos and holding cluster queue
echo "DEFINE QLOCAL(INVENTQ) CLUSTER(INVENTORY) DEFBIND(NOTFIXED)" | runmqsc TQM4
echo "DEFINE QLOCAL(INVENTQ) CLUSTER(INVENTORY) DEFBIND(NOTFIXED)" | runmqsc TQM2
echo "DEFINE QREMOTE(INVENTQ) RNAME(INVENTQ) RQMNAME(QM2) XMITQ(TQM1)" | runmqsc TQM3
echo "DEFINE QREMOTE(QM2) RNAME(' ') RQMNAME(' ') cluster(INVENTORY) defbind(notfixed)" | runmqsc TQM2
echo "DEFINE QREMOTE(QM2) RNAME(' ') RQMNAME(' ') cluster(INVENTORY) defbind(notfixed)" | runmqsc TQM4
When i put message to INVENTQ on TQM3, it always goes to TQM2. I have changed CLWLUSEQ to ANY on all cluster queues as well as QM..
How can i break the cluster QM affinity.... want it to workload managemtn..
I have verified if i put message in cluster queue directly in TQM2 or TQM4 , it does roound robin.. |
|
Back to top |
|
 |
nandanbal |
Posted: Mon Feb 16, 2009 8:43 am Post subject: correcting queue manager name |
|
|
Newbie
Joined: 16 Feb 2009 Posts: 4
|
CORRECTING QM names..
TQM3 --- out of cluster
TQM1 --- inside cluster and acting as gateway
TQM2 --- cluster repos and holding cluster queue
TQM4 --- cluster repos and holding cluster queue |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 16, 2009 8:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
exerk |
Posted: Mon Feb 16, 2009 8:55 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Presumably you are trying to workload-balance messages from TMQ3?
If so, remove these:
Quote: |
echo "DEFINE QREMOTE(QM2) RNAME(' ') RQMNAME(' ') cluster(INVENTORY) defbind(notfixed)" | runmqsc TQM2
echo "DEFINE QREMOTE(QM2) RNAME(' ') RQMNAME(' ') cluster(INVENTORY) defbind(notfixed)" | runmqsc TQM4 |
Add this in TQM1:
Quote: |
echo "DEFINE QREMOTE(ANY.INVENTQ) RNAME(' ') RQMNAME(' ')" | runmqsc TQM1 |
And alter your QR in TQM1 to:
Quote: |
echo "ALTER QREMOTE(INVENTQ) RNAME(INVENTQ) RQMNAME(ANY.INVENTQ) XMITQ(TQM1)" | runmqsc TQM3 |
_________________ 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 |
|
 |
nandanbal |
Posted: Mon Feb 16, 2009 10:00 am Post subject: the wlm is working.. |
|
|
Newbie
Joined: 16 Feb 2009 Posts: 4
|
thanks its nw doing work load management.. |
|
Back to top |
|
 |
|