Author |
Message
|
ramires |
Posted: Fri Feb 06, 2009 4:08 am Post subject: amqmdain delay |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Hello,
in a windows box with 6.0.2.5, when I use amqmdain to start/stop a qmgr it takes more or less 2 minutes before something happens in the windows event viewer. With strmqm or endmqm its immediate. I know these are not the correct way, but what can be delaying the amqmdain? Some authority checking?
Thanks
joao |
|
Back to top |
|
 |
sumit |
Posted: Fri Feb 06, 2009 5:49 am Post subject: Re: amqmdain delay |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
ramires wrote: |
when I use amqmdain to start/stop a qmgr it takes more or less 2 minutes before something happens in the windows event viewer. |
I tried that on my local machine with Windows server and MQ 6.0.2.4. It responded quickly.
ramires wrote: |
I know these are not the correct way |
Very true, one should not be using it. I hope you tried that just for testing.
ramires wrote: |
but what can be delaying the amqmdain? Some authority checking? |
amqmdain actually work on mq root process. I think depends on server load, the time varies. _________________ Regards
Sumit |
|
Back to top |
|
 |
ramires |
Posted: Fri Feb 06, 2009 9:44 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Thanks,
yes srtmqm / endmqm are for test purposes.
I just want to understand what is delaying it.
Regards
joao |
|
Back to top |
|
 |
ramires |
Posted: Fri Feb 06, 2009 11:01 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
I did some testing. In the box were amqmdain takes long start, I have 32 qmgrs ... don-t ask
Deleting 20 of them, they were really used for test, seems to improve amqmdain performance.
javascript:emoticon(' ')
Regards |
|
Back to top |
|
 |
Vitor |
Posted: Sat Feb 07, 2009 3:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ramires wrote: |
I did some testing. In the box were amqmdain takes long start, I have 32 qmgrs ... don-t ask |
32 queue managers? On a Windows box? All running?
That's a record.
ramires wrote: |
Deleting 20 of them, they were really used for test, seems to improve amqmdain performance. |
I bet!
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Sat Feb 07, 2009 3:26 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
One thing I've noticed with Windows is that more queue managers can be started with strmqm than with amqmdain. I've had occasions when I couldn't start more than 9 queue managers using MQExplorer, but could start all 20 using strmqm and then start MQExplorer and have them all appear and working correctly - it is a test box by the way! _________________ 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 |
|
 |
ramires |
Posted: Sat Feb 07, 2009 3:23 pm Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Vitor wrote: |
32 queue managers? On a Windows box? All running?
That's a record.
|
no... they don't run at the same time
Regards
joao |
|
Back to top |
|
 |
sumit |
Posted: Sun Feb 08, 2009 11:58 pm Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
exerk wrote: |
One thing I've noticed with Windows is that more queue managers can be started with strmqm than with amqmdain. |
Can someone point the scenarios wherein we should use amqmdain ? I checked the mannuals and links but was not able to find a satisfactory reply. _________________ Regards
Sumit |
|
Back to top |
|
 |
exerk |
Posted: Mon Feb 09, 2009 1:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
sumit wrote: |
Can someone point the scenarios wherein we should use amqmdain ? I checked the mannuals and links but was not able to find a satisfactory reply. |
You should always use it. I only ever use strmqm in my sand-pit environment. _________________ 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 |
|
 |
Vitor |
Posted: Mon Feb 09, 2009 1:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sumit wrote: |
Can someone point the scenarios wherein we should use amqmdain ? |
IMHO it's a bad habit to get into. It's only available on Windows so any experience you gain it not portable. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|