Author |
Message
|
Anant.v |
Posted: Wed Aug 02, 2017 3:29 am Post subject: Quick question on MQ cluster |
|
|
 Apprentice
Joined: 26 Nov 2014 Posts: 40 Location: Malaysia
|
Hi All,
Apologies in advance if this has already been asked. Though i searched already and didnt find anything similar.
I have a MQ cluster setup :
QMA - part.
QMB - part.
QMC - repos
QMD - repos
I have suspended QMC and QMB from the cluster. After suspending for a while and verifying that it seems suspended from other members as well, I have brought down QMC and QMB ( quiesed ).
Now, every once in a while, i see messages in SCTQ in QMA for QMC. These are not real messages , but are messages for cluster meant for SCCQ.
Is there a way to tell MQ to stop sending these messages , as the full repos QMC is brought down ?
Can this information be redirected to just the active repos QMD ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 02, 2017 4:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Not real messages? You mean messages not created by your apps? Most likely these are administrative messages from cluster software to qmgrs in the cluster. _________________ 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 |
|
 |
Anant.v |
Posted: Wed Aug 02, 2017 4:39 am Post subject: |
|
|
 Apprentice
Joined: 26 Nov 2014 Posts: 40 Location: Malaysia
|
Yes correct, these are administrative messages. And since the target full repos qmgr is down, they just sit on the system cluster transmit queue.
Is there a way to get rid of that ? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 02, 2017 6:33 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Why do you want to delete these admin messages? Are you planning to delete these qmgrs? The procedure to delete qmgrs is well-documented. _________________ 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 Aug 02, 2017 6:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Why do you want to delete these admin messages? Are you planning to delete these qmgrs? The procedure to delete qmgrs is well-documented. |
An equally good question is why are you running a cluster with only one running full repository? This isn't how the cluster is supposed to work, and why QMA is doggedly attempting to keep QMC up to date. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
hughson |
Posted: Wed Aug 02, 2017 10:05 pm Post subject: Re: Quick question on MQ cluster |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Anant.v wrote: |
Hi All,
Apologies in advance if this has already been asked. Though i searched already and didnt find anything similar.
I have a MQ cluster setup :
QMA - part.
QMB - part.
QMC - repos
QMD - repos
I have suspended QMC and QMB from the cluster. After suspending for a while and verifying that it seems suspended from other members as well, I have brought down QMC and QMB ( quiesed ).
Now, every once in a while, i see messages in SCTQ in QMA for QMC. These are not real messages , but are messages for cluster meant for SCCQ.
Is there a way to tell MQ to stop sending these messages , as the full repos QMC is brought down ?
Can this information be redirected to just the active repos QMD ? |
The suspension of a queue manager from a cluster is not the same thing as a removal of a queue manager from a cluster.
What suspension does is tell the cluster, "do not send me any messages unless there is no other queue manager that they could be sent to". This is very useful when you have several instances of a clustered queue on various queue managers and you want to temporarily stop that queue manager from being sent any messages while you do something to it (maintenance for example). However, if there were any cases where a message was targeted to a queue that was ONLY hosted by that suspended queue manager, or where that queue manager was addresses directly, i.e. putting a message to Q @ QM, then these messages would still be sent to it (and would wait on a XmitQ if required).
In your case, you are seeing cluster control messages being sent to the full repository queue manager. These messages are sent directly to each full repository by name, i.e. SYSTEM.CLUSTER.COMMAND.QUEUE @ QMname, so they cannot (and should not) be routed to the other full repository. They also do not need to be routed to the other full repository because he is sent his own copy of the same information.
Please could you expand on why you were suspending these queue managers so we can understand how to advise you further. Clearly the temporary nature of SUSPEND was not what you were looking for.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
Anant.v |
Posted: Fri Aug 04, 2017 1:29 am Post subject: |
|
|
 Apprentice
Joined: 26 Nov 2014 Posts: 40 Location: Malaysia
|
Thanks to All for the valuable feedback.
Actually those qmgrs are brought down without a further notice as we are unsure on when to use them back. Since this qmgr is in cluster and serves as a FULL REPOS, so i suspended them and quiesed them. But now, as i stated , iam seeing SCCQ messages in SCTQ for the FULL REPOS qmgr from the partial.
I understood from the above post that there is nothing that can be done to stop those messages.
Thanks to all, I think this post can be marked as closed. |
|
Back to top |
|
 |
hughson |
Posted: Fri Aug 04, 2017 3:05 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Anant.v wrote: |
I understood from the above post that there is nothing that can be done to stop those messages. |
If you remove the queue managers from the cluster permanently, then the messages will stop. If you don't want to do that, then there is nothing else you can do to stop those messages. _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 04, 2017 5:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Bringing up the second full repository would make sure they got consumed... and the cluster stays healthy...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 04, 2017 5:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
Bringing up the second full repository would make sure they got consumed... and the cluster stays healthy...  |
Never run an MQ cluster with only 1 FR _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Anant.v |
Posted: Fri Aug 04, 2017 6:03 am Post subject: Re: Quick question on MQ cluster |
|
|
 Apprentice
Joined: 26 Nov 2014 Posts: 40 Location: Malaysia
|
Yes, iam aware of that.. I wouldnt be asking this question and troubling you all if the Full repos was up..  |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Aug 04, 2017 11:28 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Why are you concerned about these messages in the SCTQ? Are there millions of them? _________________ 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 |
|
 |
Anant.v |
Posted: Wed Aug 09, 2017 8:53 pm Post subject: |
|
|
 Apprentice
Joined: 26 Nov 2014 Posts: 40 Location: Malaysia
|
bruce2359 wrote: |
Why are you concerned about these messages in the SCTQ? Are there millions of them? |
Nope, but we have an alerting system for messages in SCTQ, and this creates a false alarm. Hence was trying to figure out if there is a way to stop. ( other than bringing the qmgr up, which is the obvious first choice ) |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 10, 2017 3:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You could always change your monitoring system to not alert on the # of messages in SCTQ, instead alert on the lack of any cluster channels... _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Aug 10, 2017 4:00 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
We have alerting for aged messages in the SCTQ. It indicates that at least something is not right with the MQ cluster or MQ performance, and needs investigation. _________________ Glenn |
|
Back to top |
|
 |
|