Author |
Message
|
ipmqadm |
Posted: Mon Jul 04, 2011 9:21 am Post subject: Starting a qmgr but not the channels |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
On AIX, how can I start the Qmgr but make sure that the channels do not come up in a 'run' state. Basically, I want the qmgr to start, but not the channels. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 04, 2011 9:29 am Post subject: Re: Starting a qmgr but not the channels |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ipmqadm wrote: |
On AIX, how can I start the Qmgr but make sure that the channels do not come up in a 'run' state. Basically, I want the qmgr to start, but not the channels. |
Why on Earth not?
Do you want the channels not to start on queue manager start, or not start automatically at all?
If you manually stop the channels, they won't start. Messages on the transmission queue will be your problem. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ipmqadm |
Posted: Mon Jul 04, 2011 9:33 am Post subject: |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
I figured someone would ask me that question.
I also have never heard of starting a qmgr and not starting the associated channels.
But, actually, I need the qmgr started with the channels stopped or otherwise disabled so that any traffic coming to the started qmgr is held on the sending xmit queues. This is all part of a POC project and the managers are wanting to proceed in steps. Step 1 is to start the qmgr without the channels started.
And again this is on an AIX box. |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Mon Jul 04, 2011 9:44 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
How about a strmqm -ns ? It's overkill for what you need but will accomplish what you're after.
Quote: |
-ns
Prevents any of the following processes from starting automatically when the queue manager starts:
The channel initiator
The command server
Listeners
Services
|
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 04, 2011 9:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ipmqadm wrote: |
But, actually, I need the qmgr started with the channels stopped or otherwise disabled so that any traffic coming to the started qmgr is held on the sending xmit queues. This is all part of a POC project and the managers are wanting to proceed in steps. Step 1 is to start the qmgr without the channels started.
And again this is on an AIX box. |
Ah - an idea from management. Explains everything.
The -ns flag idea will work but also stop clients connecting to the box. I'll stick with manually stopping the channels. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ipmqadm |
Posted: Mon Jul 04, 2011 9:59 am Post subject: |
|
|
Acolyte
Joined: 18 Apr 2007 Posts: 68
|
Thanks everyone.
I also saw the -ns option during my researching and it appears to be the only option that I can find outside of the standard channel stop commands. But I hadn't taken into account the affect it would have on the clients, so thanks for that tidbit of info too. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 04, 2011 10:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ipmqadm wrote: |
But I hadn't taken into account the affect it would have on the clients, so thanks for that tidbit of info too. |
No listener, no client.
Obviously you can start that manually. So start the listener or stop the channels; whatever works best for you.
"Proceed in steps" indeed! What exactly does that prove eh? Oh well. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Mon Jul 04, 2011 10:44 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
ipmqadm wrote: |
any traffic coming to the started qmgr is held on the sending xmit queues |
Any precautions Or another POC activity to avoid such scenario, is/are in plan ? _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|