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 » Export and Import execution groups

Post new topic  Reply to topic
 Export and Import execution groups « View previous topic :: View next topic » 
Author Message
dotaneli
PostPosted: Thu Feb 05, 2009 6:51 am    Post subject: Export and Import execution groups Reply with quote

Voyager

Joined: 19 Oct 2005
Posts: 99
Location: Israel

Hi all. A client of mine wants to copy his WBI Env. to a new machine.

The new machine is all set up, including a running broker.
It is not the exact instance, as we created a new one.

Now - we wish to export all of the flows from the currently production broker to the newly created one.

Any way of doing that?
If not - does exporting and importing the DB helps?

10x alot!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 05, 2009 6:55 am    Post subject: Re: Export and Import execution groups Reply with quote

Grand High Poobah

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

dotaneli wrote:
Any way of doing that?


Take the bar files deployed to the old broker and deploy them to the new broker.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Feb 05, 2009 1:30 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

How do we do that if we do not have the bar files.
Is there a way to backup the bar file from the Broker or Broker db......
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 05, 2009 2:09 pm    Post subject: Reply with quote

Grand High Poobah

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

broker_new wrote:
How do we do that if we do not have the bar files.


What, you've not kept them as part of the audit & source control??

Then recreate them from the Config Mgr.

broker_new wrote:

Is there a way to backup the bar file from the Broker or Broker db......


I don't believe you can extract the bar files from the broker.

I'll leave it to better minds than mine to discuss what you'll need to kudge if you just unload the old db into the new db, which has a different uuid and so forth.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Feb 05, 2009 6:22 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I do have it,as Life is a series of problems trying to find out is there a way to recover those.
Probably not but read somewhere in the forum that its a requirement for newer version..
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 06, 2009 3:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
Then recreate them from the Config Mgr.


What?

There are documented method for backing up and restoring a Broker.

There is no method other than deployment to add message broker development artifacts to the runtime.

If you do not keep BAR files in under change management, then you should at least have kept the source that gets built into BAR files under change management. So build a new bar file and deploy that.

If you do not have source files for running flows, then there is nothing you can do to recover it.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 06, 2009 4:26 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
There are documented method for backing up and restoring a Broker.


My point was I didn't know if that allowed the back up to be restored to a different, built from new, broker rather than the broker the backup was taken from.

I've always built a new broker and redeployed the bar files. Seemed easier & cleaner.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 06, 2009 4:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
There are documented method for backing up and restoring a Broker.


My point was I didn't know if that allowed the back up to be restored to a different, built from new, broker rather than the broker the backup was taken from.


You can back up a broker and restore it to another machine using the documented methods. Part of that restoration is creating a "new" broker.

Vitor wrote:
I've always built a new broker and redeployed the bar files. Seemed easier & cleaner.

Back to top
View user's profile Send private message
sridhsri
PostPosted: Fri Feb 06, 2009 7:09 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

Could you export the data from the old Broker db into a new a new Broker with new Broker db and restart that broker ?

I think it should start all the EGs and msg flows.
Back to top
View user's profile Send private message
dotaneli
PostPosted: Mon Feb 09, 2009 7:46 am    Post subject: Reply with quote

Voyager

Joined: 19 Oct 2005
Posts: 99
Location: Israel

Hey everyone and thanks alot for your help.
First - know that it is not ME who doesnt keep his sources, it is my client..

Second -
We did some tests. We were able to restore a broker on the same machine. Meaning: create, deploy, delete, recreate, merge old db into new db, and start the broker, including the message flows (that been done with copying the c:\documents and settings\All Users\Applicaition Data\MQSI" dir, and the registry values relevant for the broker ("HKLM\SOFTWARE\IBM\WebSpereMQIntegrator\2\BrokerName").
That also includes the UUID of the broker so the new broker can be set as with the ID of the old one.

When we tried to do that in a new machine (using the same user and password, becuase the db scheme is built accroding to the user's name), it didn't work.

The broker IS running, but mqsilist shows now E.G.'s...
We noticed that under c:\documents and settings\All Users\Applicaition Data\MQSI\components\Broker\<EG folders>, all the E.G.'s are instantly deleted once i try to start the broker. I cannot figure out why..

anyone? help...?

P.S. - Really? Config Mgr always saves deployed bars??????????????
How do i get them??
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 09, 2009 7:55 am    Post subject: Reply with quote

Grand High Poobah

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

dotaneli wrote:
First - know that it is not ME who doesnt keep his sources, it is my client..


As he sows, so shall he reap.

dotaneli wrote:
P.S. - Really? Config Mgr always saves deployed bars??????????????


Does it? News to me!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 09, 2009 8:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
dotaneli wrote:
P.S. - Really? Config Mgr always saves deployed bars??????????????


Does it? News to me!


No.

It does *not*.

That's why I said
mqjeff wrote:
Vitor wrote:
Then recreate them from the Config Mgr.

What?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 09, 2009 8:16 am    Post subject: Reply with quote

Grand High Poobah

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

For the record, when I said "recreate them from the Config Mgr", I meant build new bar files and deploy those.

This of course assumes the source code is available. A possibly unwarrented assumption on my part.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Export and Import execution groups
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.