Author |
Message
|
sebastia |
Posted: Tue May 14, 2013 8:28 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Of course, Peter, I saw your solution.
And I agree with Victor is an elegant one ... but does not fit our case, so I have to change it too much ... or just cant (dont know hot to) change it to fit our case.
first difference : you say "I'm assuming the replying app is connected to a QM outside the cluster".
In fact, our responding app starts using triggering in QMAS q mgr (see previous schema), which participates in the cluster.
second problem : the message coming into the cluster does not have the replytoqmgr field blank, so the responding applications sends to a specific qmgr
And I dont know if the qmgr alias mechanism can "erase" this field so clustering comes into play again ...
Trying to rethink our envir to "live" with the response message coming to s fixed qmgr ... Maybe it is not so bad, jejeje
I appreciate your help, realy. Sebastian. |
|
Back to top |
|
 |
hughson |
Posted: Tue May 14, 2013 8:30 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
sebastia wrote: |
And I dont know if the qmgr alias mechanism can "erase" this field so clustering comes into play again ... |
You should try it to see that it does _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
sebastia |
Posted: Tue May 14, 2013 8:35 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
OK, I promise to test it ... tomorrow .. jejeje
Sebastian. |
|
Back to top |
|
 |
sebastia |
Posted: Tue May 14, 2013 8:45 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
fjb_saper wrote: |
Now from anywhere in the cluster you can route to the external qmgr going through your gateway(s) where you defined the shared alias to the cluster. |
Thanks, mr Saper - I understand what you say, but we have no "external" qmgr ...
Our sending APP connects to cluster using MQ client.
In fact, the 3.000 shops (able to open 15.000 simultaneous connections)
connect into the cluster using CCDT (s), so they dont know at what qmgr they are connected at a given moment ...
Best luck. Sebastian. |
|
Back to top |
|
 |
sebastia |
Posted: Wed May 15, 2013 2:39 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Well, here are the results ... to Peter's indication ...
Message I sent is goes to
destination Q = [QL.DADES.TRIG]
where it is "responded" using triggering ...
and values
replyToQ = QL.DELPHI.GRAW.OUT
replyToQmgr = VITOR_WUZ_HERE <<<<<<<<<<<
Without any change ... we have an error, as expected :
Quote: |
>>> Put1() a msg. hCon [0x1400006].
Q
[QL.DELPHI.GRAW.OUT ],
qmgr
[VITOR_WUZ_HERE ].
+-+ MQPUT1() CC/RC [0x02/0x0827] {MQRC 2087}. |
Now Peter's imporvement comes : at "responder" qmgr, we define
Quote: |
define qremote(VITOR_WUZ_HERE) RNAME(' ') RQMNAME(' ') XMITQ(' ') replace |
And the result is ...
a) if one cluster queue defined ... (qmgr = CLSPATAN)
Quote: |
display ql(QL.DELPHI.GRAW.OUT) curdepth | runmqsc CLSPATAN
QUEUE(QL.DELPHI.GRAW.OUT) TYPE(QLOCAL)
CURDEPTH(94) |
b) if more cluster queues are defined ... they are also used
Quote: |
display ql(QL.DELPHI.GRAW.OUT) curdepth | runmqsc QMAS
QUEUE(QL.DELPHI.GRAW.OUT) TYPE(QLOCAL)
CURDEPTH(11) |
I have to say : BIG THANKS to you all, Vitor, Morag and Peter, and mr Saper ...
pd.- you have the right to know there is an extract of what we've talked and done in my "blog" at
>>> http://usuaris.tinet.cat/sag/mq_cluster.htm
... if you search for "Peter" ... or "SAGCLUSTER"
Any improvements are always welcome, as well as contructive criticism ... |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 15, 2013 4:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Glad you arrived at a solution.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sebastia |
Posted: Wed May 15, 2013 4:45 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Thanks for your patience, Vitor.
I think we already had a very similar discussion some time ago, but I cant find it using "search" ...
You also said the sender always wants to receive the reply.
But MQ allows you to specify where to send it.
It is NOT mandatory to receoive it at the same qmgr where you send the request.
And I agree with you 98% ... jejeje
Just want to be able to specify where to send the Reply (or response)... and also want to be able to send it to a cluster q ...
Again, I appreciated your patience. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 15, 2013 5:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sebastia wrote: |
You also said the sender always wants to receive the reply.
But MQ allows you to specify where to send it.
It is NOT mandatory to receoive it at the same qmgr where you send the request.
And I agree with you 98% ... jejeje |
I simply pointed out the traditional pattern of request / reply has the reply going to the requestor. It's certainly not mandatory to do that, and other patterns of message movement (like "workflow") are possible.
sebastia wrote: |
Just want to be able to specify where to send the Reply (or response)... and also want to be able to send it to a cluster q ... |
And now you can. Life is good and the joy flows like rain. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sebastia |
Posted: Wed May 15, 2013 5:26 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Vitor wrote: |
Life is good and the joy flows like rain. |
I like that phrase.
Quid pro quo : You can't get lost if you don't know where you're going
jejeje |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed May 15, 2013 6:22 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Time flies like an arrow; fruit flies like a banana. _________________ 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 |
|
 |
sebastia |
Posted: Wed May 15, 2013 6:42 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
bruce2359 wrote: |
Time flies like an arrow; fruit flies like a banana. |
Yes, I have seen that phrase quite few times ... jejeje ...
q.p.quo :
"you never go so far as when you dont know where you are going",
...
said mr Cromwell (excuse my traduction, but cant find the original phrase)
I have found this :
“no one rises so high as he who knows not whither he is going” |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed May 15, 2013 7:57 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
"Wherever you go, there you are." _________________ 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 |
|
 |
JosephGramig |
Posted: Wed May 15, 2013 12:16 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
"It's the He Coon that walks at the light of day!"
FL Gov. Lawton Chiles (RIP)... |
|
Back to top |
|
 |
sebastia |
Posted: Wed May 15, 2013 10:08 pm Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
About
bruce2359 wrote: |
I'm not paranoid; but the fellow following me is |
in Spain we say
Quote: |
El hecho de ser paranoico no significa que no te estén siguiendo |
which traduced shall be something like
Quote: |
The fact of being a paranoid does not mean I am not being followed |
which I find quite funny |
|
Back to top |
|
 |
|