ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Starting a qmgr but not the channels

Post new topic  Reply to topic
 Starting a qmgr but not the channels « View previous topic :: View next topic » 
Author Message
ipmqadm
PostPosted: Mon Jul 04, 2011 9:21 am    Post subject: Starting a qmgr but not the channels Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 04, 2011 9:29 am    Post subject: Re: Starting a qmgr but not the channels Reply with quote

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
View user's profile Send private message
ipmqadm
PostPosted: Mon Jul 04, 2011 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Toronto_MQ
PostPosted: Mon Jul 04, 2011 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 04, 2011 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message
ipmqadm
PostPosted: Mon Jul 04, 2011 9:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 04, 2011 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Mon Jul 04, 2011 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Starting a qmgr but not the channels
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.