Author |
Message
|
tomRP |
Posted: Thu May 12, 2005 4:43 am Post subject: What to make queue manager would be default |
|
|
Newbie
Joined: 10 May 2005 Posts: 2
|
What to make queue manager would be default again?
thanks for any help
tom |
|
Back to top |
|
 |
clindsey |
Posted: Thu May 12, 2005 4:57 am Post subject: |
|
|
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 |
|
 |
kingsley |
Posted: Thu May 12, 2005 5:12 am Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Thu May 12, 2005 6:09 am Post subject: |
|
|
 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 |
|
 |
Michael Dag |
Posted: Sun Jun 25, 2006 2:34 am Post subject: |
|
|
 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 |
|
 |
JasonE |
Posted: Mon Jun 26, 2006 2:11 pm Post subject: |
|
|
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 |
|
 |
PeterPotkay |
Posted: Mon Jun 26, 2006 3:13 pm Post subject: |
|
|
 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 |
|
 |
|