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 Discussion » What to make queue manager would be default

Post new topic  Reply to topic
 What to make queue manager would be default « View previous topic :: View next topic » 
Author Message
tomRP
PostPosted: Thu May 12, 2005 4:43 am    Post subject: What to make queue manager would be default Reply with quote

Newbie

Joined: 10 May 2005
Posts: 2

What to make queue manager would be default again?

thanks for any help

tom
Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Thu May 12, 2005 4:57 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

On unix, edit /var/mqm/mqs.ini and change or add this stanza:
Code:

DefaultQueueManager:
   Name=xxxxx


On Windows, open WebSphere MQ Services and right click on the queue manager and select properties. Check the default qmgr box.

Charlie
Back to top
View user's profile Send private message
kingsley
PostPosted: Thu May 12, 2005 5:12 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

For Windows, Open the Registry

HKLM->SOFTWARE->IBM->MQSeries->CurrentVersion->Configuration->DefaultQueueManager->Name

Update Name and restart the MQSeries Service

You will have the Default QueueManager Service Set.


Looks like littlebit clunky but it's better to know internals.
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Thu May 12, 2005 6:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'd avoid using the registry since the product gives you an actual interface to do it. There is no telling what may or may not change in future releases.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Michael Dag
PostPosted: Sun Jun 25, 2006 2:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

clindsey wrote:
On Windows, open WebSphere MQ Services and right click on the queue manager and select properties. Check the default qmgr box.

This is for V5.3 or less, on V6 it's:
Eclipse - WebSphere MQ Explorer
Select the top label "WebSphere MQ" (just above "Queue Managers"),
right click and go to "properties", in the "General" tab you can specify the name of the default Queue Manager...

Thought I'd share this as I have been looking for this setting in V6 for too long
Also I liked the check box option much more, now you have to type in the name as there is no dropdown listbox
bower5932 wrote:
I'd avoid using the registry since the product gives you an actual interface to do it. There is no telling what may or may not change in future releases.

On V6 editing the registry still works
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JasonE
PostPosted: Mon Jun 26, 2006 2:11 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Quote:
On V6 editing the registry still works


Actually the problem at 5.3 is that the qmgr maintains an in memory image of the configuration in the registry and on certain circumstances will write it back, blatting anything you may have changed in the meantime... If you want to change registry keys, ensure the amqmsrvn.exe process isnt running before you do it!

V6 doesnt write the changes back, but still has an in memory copy for some things
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jun 26, 2006 3:13 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

the most fun was in Microsoft Cluster Services - MSCS. If you change a setting while the QM is offline, all changes are wiped out when you bring the QM online! Apparently MSCS takes a snapshot of the QM settings as its coming offline, either planned or not, and assumes that is the last known correct setting, and will use those settings when the QM comes back online.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » What to make queue manager would be default
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.