|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Replication of complete Queue Manager & objects |
« View previous topic :: View next topic » |
Author |
Message
|
xgnitesh |
Posted: Mon Oct 24, 2005 9:24 pm Post subject: Replication of complete Queue Manager & objects |
|
|
Novice
Joined: 06 Sep 2005 Posts: 19
|
Hi All
I have a MQ server with a queue manager having 100's of queues and a few channels. I am creating an exact replica of the system on another MQ server (machine) which can work as a development / backup system seperate from production system.
I would like to know:
Is there a way where I can generate a creation script on exisiting MQ server and run that script on new server so as to create all the objects (queues and channels) automatically. OR any other way...?
I somehow wish that this feature was there in MQ Server as I have been doing similar kind of stuff in MS SQL sever where I dont have to manually create tables if I want to create a replica of the database server.
Thanks for any help.
best regards
Nitesh  |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Oct 24, 2005 10:20 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
have a look at the saveqmgr supportpac ms03.
remember this dublicates only the object definitions, so if you use the doublicated queuemanager your channels with your partners will be out of sync. _________________ Regards, Butcher |
|
Back to top |
|
 |
xgnitesh |
Posted: Tue Oct 25, 2005 2:15 am Post subject: |
|
|
Novice
Joined: 06 Sep 2005 Posts: 19
|
Thanks Butcher,
This should serve my purpose.
regards
Nitesh  |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 25, 2005 2:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
One final note, if you have setup security definitions, those need to be saved with "amqoamd -s" .... and don't forget your qm.ini file.  _________________ -wayne |
|
Back to top |
|
 |
hopsala |
Posted: Tue Oct 25, 2005 4:22 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Mr Butcher wrote: |
remember this dublicates only the object definitions, so if you use the doublicated queuemanager your channels with your partners will be out of sync. |
However, using -R option will clear that up for you...
xgnitesh wrote: |
I am creating an exact replica of the system on another MQ server (machine) which can work as a development / backup system seperate from production system. |
If you're still around (as I hope you are) note a few very important things:
- You should use a different qm name, which means you have to change all channel names; This should be easy enough, just replace strings in the file saveqmgr created for you, but it's vital that you do so - otherwise you'll have all sorts of collisions. (this applies if you use it for dev purposes)
- You said you want it for backup - this is not a good way to do it, see Force RCVR to accept sequence number?
- Bottom line, you will have great troubles having it both ways - you have to decide, development or backup (if you insist on this icky backup design); backup dictates the exact same name and object names, but also means that if you start it channels will collide with that of the prod qm, so you cannot have both up at the same time - which rules out using it as dev...
Your question is a common one, and you could have easily found the answer yourself by using the search button - please do so this next time  |
|
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
|
|
|
|