Author |
Message
|
ivanachukapawn |
Posted: Fri May 21, 2010 4:11 am Post subject: AMQMDAIN - MQ5.3 |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
The documentation for AMQMDAIN (MQ Information Center - MQ5.3) does not make any mention of requirements for MQSeries services status at the time the AMQMDAIN command is run. When this command is run should the MQSeries service be running? not running? not matter?
The AMQMDAIN documentation says
Quote: |
You can also configure a queue manager service to start associated processes, such as listeners and trigger monitors |
but the AMQMDAIN keywords/parameters as displayed in the info center do no reveal any clue as to how an admin could request that listener and channel initiator be started when the QMGR is started. The keyword documentation shows how listener and channel initiator can be created only. |
|
Back to top |
|
 |
wschutz |
Posted: Fri May 21, 2010 4:53 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Is v5.3 still supported? _________________ -wayne |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Fri May 21, 2010 5:05 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
MQ5.3 went out of support long ago. But MQ5.3 documentation still exists and MQ5.3 implementations are still running in production. IBM of course will no longer officially support MQ5.3, but MQSeries.net MQ gurus have a reputation for helping on MQ problems regardless of version support status. |
|
Back to top |
|
 |
mvic |
Posted: Fri May 21, 2010 5:06 am Post subject: Re: AMQMDAIN - MQ5.3 |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ivanachukapawn wrote: |
When this command is run should the MQSeries service be running? not running? not matter? |
Is the answer in the later info centers? What command did you run - I assume you ran something and it didn't work. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 21, 2010 5:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
My distant memories of amqmdain and v5.3 auto-starting listeners was that it was done by flipping the same registry switch that the v5.3 Windows Services control panel thingy set. That is, you don't want to use amqmdain to talk to the qmgr, you want to use amqmdain to talk to the services or the listener service part.
But that's all I got. |
|
Back to top |
|
 |
wschutz |
Posted: Fri May 21, 2010 5:14 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
..and I think that once you created an INIT/Listener as a service, they started a boot time by default (but you can check via the Windows "Services" applet). Maybe there was a dependency on the root service starting too..... _________________ -wayne |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Fri May 21, 2010 7:25 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
I am coming to understand that the command "amqmdain crtlsr %newqmgrname% -t tcp -p 1414" is merely appending a listener startup service to the root service. What I don't know is if I should condition the environment prior to running this command by either starting the MQSeries service or stopping it. I ask the question because I am getting inconsistent results after script exit - i.e. sometimes the listener is running, other times it is not.[/quote] |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 21, 2010 7:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I think if the qmgr is not running at the time the listener tries to start, the listener may not start...
And you may not get any better suggestions than that without more information about what the event log says in cases where the listener isn't running after you run your script. |
|
Back to top |
|
 |
wschutz |
Posted: Fri May 21, 2010 7:57 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
mqjeff wrote: |
I think if the qmgr is not running at the time the listener tries to start, the listener may not start... |
But I can manually start a listener against a ENDED qmgr and it starts and keeps running. _________________ -wayne |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 21, 2010 9:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
wschutz wrote: |
mqjeff wrote: |
I think if the qmgr is not running at the time the listener tries to start, the listener may not start... |
But I can manually start a listener against a ENDED qmgr and it starts and keeps running. |
Yes.
I did say "may". I did not say "will". |
|
Back to top |
|
 |
wschutz |
Posted: Fri May 21, 2010 10:23 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
mqjeff wrote: |
wschutz wrote: |
mqjeff wrote: |
I think if the qmgr is not running at the time the listener tries to start, the listener may not start... |
But I can manually start a listener against a ENDED qmgr and it starts and keeps running. |
Yes.
I did say "may". I did not say "will". |
Me thinks the design point of the listener was to run without a queue manager so that it could return a 2059 to the initiator end of a channel versus getting some TCP return code. So, it SHOULD run without the queue manager being up. Peace. _________________ -wayne |
|
Back to top |
|
 |
|