Author |
Message
|
nishanth |
Posted: Wed Jan 26, 2011 10:08 pm Post subject: Dependancy on Queue Manager for Broker restart |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 5
|
Hi Guys,
I encountered a strange issue.
Message Broker (MB v6.0 on MQ 6.0.2.8 restart in turn impacted the queue manager (though I issued “mqsistop brokername “ command). Once I stopped the broker, all the listener processes, command server and queue manager ended abruptly. Later, the queue manager started automatically after mqsistart command, yet external applications couldn’t connect to the queue manager. After analyzing the logs, I learnt that listener processes were still down as the property was set to manual.
I restarted the broker twice this week and in both the cases, we observed this unusual behavior.
Could anyone throw some light on why the queue manager was impacted for a broker restart?
Thanks in advance... |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 27, 2011 2:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
In future, you might want to avoid the phrase "strange issue". It makes it appear that you've not tried anything to understand it and are just asking for free consulting. This is likely not true, but it *appears* that way.
mqsistop should not end the queue manager unless you've told it to, or unless your site has wrapped the preshipped mqsistop binary in a script that does other things.
mqsistart will certainly start the qmgr if it's down, as is documented.
Neither of these will do anything to change or ALTER any listener objects. (although, again, if your site has wrapped them in a script, then anything goes). So if the listener is set to manual control, the listener is set to manual control. |
|
Back to top |
|
 |
nishanth |
Posted: Thu Jan 27, 2011 9:47 am Post subject: |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 5
|
Sorry about that phrase Jeff...
thanks for your timely response...truly appreciate your help !!
Could you please give more insight on "your site has wrapped the preshipped mqsistop binary in a script that does other things"
Thats right...mqsistop/mqsistart doesnt alter the listener objects . what I am trying to figure out is how the queue manager went down when I stopped my broker..do we have any trusted connection concept ?
My questions might be silly Jeff but I really want to get to the bottom of the issue... . Its been a while since we restarted the broker in that machine and it did take some time to analyze that our queue manager was not accepting any client connections (since listener was down) ..this has impacted our business.... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 27, 2011 10:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nishanth wrote: |
Could you please give more insight on "your site has wrapped the preshipped mqsistop binary in a script that does other things" |
Without wishing to put words in the mouth of my most worthy associate, are you actually running the mqsistop binary supplied with the product, or a home grown script/application called "mqsitop" than does other things in addition to issuing the IBM mqsistop command? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nishanth |
Posted: Thu Jan 27, 2011 12:40 pm Post subject: |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 5
|
Got it....I am running the mqsistop binary supplied with the product.. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 27, 2011 12:43 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you include the -q option on mqsistop?
That instructs mqsistop to halt the queue manager as well as the Broker. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 27, 2011 12:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nishanth wrote: |
I am running the mqsistop binary supplied with the product.. |
Then the queue manager shouldn't stop unless you've specified the flag to stop it as well as the broker.
The listener clearly won't start when the queue manager starts as you have it set to manual. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|