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 » IBM MQ Installation/Configuration Support » automatic queue manager startup - created by script

Post new topic  Reply to topic
 automatic queue manager startup - created by script « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Tue Oct 30, 2007 9:27 am    Post subject: automatic queue manager startup - created by script Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

When creating a queue manager using GUI, (Windows 2003 server)

thete is a checkbox to select

(*) automatic startup
or
(*) manual startup

When we create the QM using scripts, the startup is left in MANUAL,
and I see it can not be changed using MQSC.

How can I set it to AUTOMATIC ? ( using a Script )

Guess it has to be thru the Registry ...
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Tue Oct 30, 2007 9:32 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

On Windows the right way to set this is via the MQExplorer GUI. I'm sure under the covers it probably sets some reg key. You could probably just find that key and change it, but should you do it that way? Probably not.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 30, 2007 10:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

amqmdain is the way to go here... (why does that sound familiar?)

amqmdain auto <qmgrname>
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sebastia
PostPosted: Tue Oct 30, 2007 11:28 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Peter - GUI is not the way if you want to generate scripts automagically ...

Jeff - I used

\\HKLM\Software\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\<nom>\InstanceData /v Startup /r REG_SZ /d 1

but your is better of course.

By the way -
"amqmdain" is here to stay or was it only a temporal solution (I heard) ...
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Tue Oct 30, 2007 12:03 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

sebastia wrote:

By the way -
"amqmdain" is here to stay or was it only a temporal solution (I heard) ...


Here to stay AFAIK.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 30, 2007 12:35 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ammdain is the only supported way to update the registry on Windows for things that are not updatable in the MQ Explorer.

So, yeah, it's here to stay. It's been around since, what... 5.2?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sebastia
PostPosted: Tue Oct 30, 2007 10:11 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thank you both. S.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » automatic queue manager startup - created by script
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.