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 » Queue Manager rename

Post new topic  Reply to topic
 Queue Manager rename « View previous topic :: View next topic » 
Author Message
LavMQ1980
PostPosted: Tue Nov 08, 2022 2:15 am    Post subject: Queue Manager rename Reply with quote

Apprentice

Joined: 08 Mar 2022
Posts: 30

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
View user's profile Send private message
gbaddeley
PostPosted: Tue Nov 08, 2022 3:45 pm    Post subject: Re: Queue Manager name Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2494
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
View user's profile Send private message
LavMQ1980
PostPosted: Wed Nov 09, 2022 12:09 am    Post subject: Reply with quote

Apprentice

Joined: 08 Mar 2022
Posts: 30

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
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 09, 2022 6:47 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
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
View user's profile Send private message
gbaddeley
PostPosted: Wed Nov 09, 2022 2:10 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2494
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
View user's profile Send private message
cicsprog
PostPosted: Thu Dec 01, 2022 8:22 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 314

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
View user's profile Send private message
gbaddeley
PostPosted: Thu Dec 01, 2022 4:50 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2494
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
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 IBM MQ Support » Queue Manager rename
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.