|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queue Manager rename |
« View previous topic :: View next topic » |
Author |
Message
|
LavMQ1980 |
Posted: Tue Nov 08, 2022 2:15 am Post subject: Queue Manager rename |
|
|
Apprentice
Joined: 08 Mar 2022 Posts: 33
|
Hello,
I know it's been asked several times, but it was over a decade ago ...
Is it still not possible to rename a queue manager?
Thank you. |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Nov 08, 2022 3:45 pm Post subject: Re: Queue Manager name |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
LavMQ1980 wrote: |
Hello,
I know it's been asked several times, but it was over a decade ago ...
Is it still not possible to rename a queue manager?
Thank you. |
It is not possible to simply rename a queue manager or any of the objects that it manages. Qmgrs and objects should conform to standards that get it right the first time, and the names should be permanent for their useful life time
The usual technique is to save the qmgr config (dmpmqcfg) and other info like SSL keystore, .ini file customisations, exits, crtmqm command line parameters, dedicated disk file system and directory names, permissions etc.
Edit the config and then use it to create a new queue manager. Bear in mind that qmgr names are known to MQ clusters, MQ HA setups, other qmgrs and clients that use channels to connect to it, applications. So it may not be as easy or practical as it sounds. _________________ Glenn |
|
Back to top |
|
 |
LavMQ1980 |
Posted: Wed Nov 09, 2022 12:09 am Post subject: |
|
|
Apprentice
Joined: 08 Mar 2022 Posts: 33
|
Thank you for confirmation.
May be there is a script that collects all QM info in one place? Everything that is not collected by dmpmqcfg, like ini files and so on?
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 09, 2022 6:47 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
In addition to qmgr configuration, messages residing in any/all queues must be copied/moved to the new qmgr.
Nope, there is no single utility to back up everything MQ. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Nov 09, 2022 2:10 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
LavMQ1980 wrote: |
Thank you for confirmation.
May be there is a script that collects all QM info in one place? Everything that is not collected by dmpmqcfg, like ini files and so on?
Thanks. |
Not provided by IBM, but you can roll your own to meet your own requirements. It could also be useful for DR purposes.
I have worked with hundreds of queue managers, and have never had a valid case to rename any of them. Do you have a requirement in mind? _________________ Glenn |
|
Back to top |
|
 |
cicsprog |
Posted: Thu Dec 01, 2022 8:22 am Post subject: |
|
|
Partisan
Joined: 27 Jan 2002 Posts: 347
|
As suggested above.
1) Backup the MQM you want to rename to DEFINE cards. Massage those cards to new name of MQM.
2) Create the new MQM. DO NOT START THE LISTENER(S) until you really need to.
3) If you have cluster, connect the new MQM to the cluster. Take into consideration if it needs to be a partial or full repos.
4) You can use a tool like MO71 to make mass change to other MQMs to change objects that have the old MQMs name. You could also backup those MQMs and edit out the objects that reference the MQM and have those ready on change night. If the IP/DNS/PORT need to be the same or different. If it can be different, that will make things easier.
4) Schedule outage and quiese messaging
5) Decommission the old MQM to no longer be part of the cluster(s).
6) After the other MQM's that reference the old MQM to the new MQM. Make sure you take into consideration DNS/IP/port changes to point at the new MQM
7) Check for any SEQUENCE number errors.
8 ) extract stranded messages in the OLD MQM and move those to the new MQM.
9) change any AO to accomodate the new MQM
10 decommission OLD MQM
I probably forgot something but the crew here can chime in if I have. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Dec 01, 2022 4:50 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
cicsprog wrote: |
As suggested above.
1) Backup the MQM you want to rename to DEFINE cards. Massage those cards to new name of MQM.
... |
Cards? You are showing your age. 80 column dataset I presume....
Usually an ALTER QMGR is required. Possibly ALTER on SYSTEM objects. SET commands for chlauth, authrec etc. _________________ Glenn |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|