|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
changing the MQ cluster name |
« View previous topic :: View next topic » |
Author |
Message
|
Keka |
Posted: Wed Mar 05, 2008 10:42 am Post subject: changing the MQ cluster name |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
folks out there, just curious, if I have a cluster setup with name clus1 and need to change the cluster name to clus2, what is the best approach for that.
I am thinking,since I am dealing with small number of queue managers, I can take each queue manager out of cluster, use the object save to get the object list, change the cluster name and then update the queue manger. Do the same on each queue manager and get them all up.
your thoughts?? _________________ Keka |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 05, 2008 11:17 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Follow the instructions in the manuals for removing the old cluster.
DO NOT TRY TO INVENT YOUR OWN STEPS.
Follow the instructions in the manuals for creating the new cluster. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 05, 2008 12:23 pm Post subject: Re: changing the MQ cluster name |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Keka wrote: |
your thoughts?? |
Clunky & likely to turn into a large vat of cream cheese in your hands.
Remove them from the old cluster and add them to the new one in sequence, according to the manuals. This whole business with saveqmgr is unnecessary. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 05, 2008 3:28 pm Post subject: Re: changing the MQ cluster name |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
Keka wrote: |
your thoughts?? |
Clunky & likely to turn into a large vat of cream cheese in your hands.
Remove them from the old cluster and add them to the new one in sequence, according to the manuals. This whole business with saveqmgr is unnecessary. |
Not quite true if we are talking about the same qmgrs.
What needs changing on a PR:
the cluster / clusternl name on all clustered objects (channels / queues)
What needs changing on an FR
see the above point (PR)
add the values for repos/reposnl
What will not work...
Having half the qmgrs look one way and half the other...
What can help:
See jeff's advice
Sequence the following way:
remove 2 partials from the old cluster and make them full for the new cluster...
Remove each qmgr from the old cluster and add it to the new one.
As you go along you should see the cluster shift until all qmgrs have been moved over to the new cluster.
And yes using MS03 to back up and replace the cluster / clusternl /repos / reposnl attributes will ease and speed up the move considerably...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Keka |
Posted: Thu Mar 06, 2008 5:59 am Post subject: |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
sorry for a late response. when I suggested the way I wanted to do, it was not far off from the manual steps.
The reason I wanted to the way I was suggesting was due to 2 reasons.
1. instead of removing the queues from one cluster, by setting the cluster to null and then adding to other cluster by setting the cluster attribute to the new cluster name, I could change the cluster name directly.
Since I am taking the queue manger out of cluster any ways, those queues will not be recognized and should not have a problem.
2. BY using the save qmgr, it is easy to update all the queues and channels and not have to look back to see if I updated all of them. I use scripts to create and modify these objects but after multiple versions of app in production, now I have multiple scripts for each release. Instead of going through each script and running them on the queue manager, it makes my life easy if I use the queue manager image( for the lack of better words) to update the cluster name
The reason I popped this up here is to see if anybody had done it in a simpler way ( not trying to be easy, just curious) and different way than the manual.
Thanks for all the comments _________________ Keka |
|
Back to top |
|
 |
belchman |
Posted: Fri Mar 07, 2008 9:26 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
I recommend following the steps in the manual to a tee.
I have had to delete an entire queue manager and rebuild it from scratch when I was new to MQ and thought I knew a better way to deal with clusters.
Your shortcut might work. But when it doesn't, you will be sorry.
Remove the cluster with the old name, then add it back with the new name. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
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
|
|
|
|