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 » WebSphere Message Broker (ACE) Support » cloning a message borker

Post new topic  Reply to topic
 cloning a message borker « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Tue Jan 14, 2014 10:27 am    Post subject: cloning a message borker Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am running WMB V7004 on Linux and I have a need to create a broker on a new machine with identical configuration.
PC1 running with QM1 and MB1 (exisitng)
PC2 running with QM2 and MB2 (new)

I read the mqsibackuproker and the mqsirestorebroker commands. But they only work if the Broker name is the same. I cannot have the same name for the new broker.

I tried to open up the zip file created by mqsibackuproker to see if I can change the broker name , zip it back and use it with the mqsirestorebroker, but I receive messages asking for password during the unzip. I understand that this is probably an unsupported way evening if I can change the zipped file.

What is the recommended way or if any one has found a way to do this instead of having the create and redeploy everything from scratch for the new broker.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 14, 2014 10:34 am    Post subject: Re: cloning a message borker Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

KIT_INC wrote:
What is the recommended way or if any one has found a way to do this instead of having the create and redeploy everything from scratch for the new broker.


Simply retrieve the scripts that you employed to create QM1 & MB1 from your source control system, edit the names as needed (a global find and replace works well) and rerun them.

Of course, if you're got a general script and the names are parameters, you don't even need to change it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Tue Jan 14, 2014 10:57 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Everything was created before my time. I wish that there is such central repository. There are build books for every application deployed (somewhere in the shop) which probably contains DSN or config services required. The only thing that is easy to find is the bar files which are in source control. others are difficult. That's why I was hoping that backup and restore will help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 14, 2014 11:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

KIT_INC wrote:
That's why I was hoping that backup and restore will help.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 14, 2014 11:34 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You have an excellent opportunity to develop those very handy and frankly essential scripts that will build your broker from first principles.

Don't forget that you can use the various mqsi* utilties to get your existing configuration details that will help you out.

Then put them in BOTH your source control system AND in your toolbox.
Take your time and document them well and they will be very useful in the future.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » WebSphere Message Broker (ACE) Support » cloning a message borker
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.