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 » Retreive BAR file data for reconfiguration

Post new topic  Reply to topic Goto page 1, 2  Next
 Retreive BAR file data for reconfiguration « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Thu Jul 02, 2009 5:31 am    Post subject: Retreive BAR file data for reconfiguration Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

A developer deployed a bar file and left for his long vacation. The bar file is still in his own work spoace which no one has access to. There is a need to reconfigure the bar file before his return. I know that we should prevent this from happening. But it already did.
Is there any way to do this knowing that the BAR data is in the broker DB ? We are running WMB V60. If we cannot do it in 60, can it be doen in V61.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 02, 2009 5:56 am    Post subject: Re: Retreive BAR file data for reconfiguration Reply with quote

Grand High Poobah

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

KIT_INC wrote:
Is there any way to do this knowing that the BAR data is in the broker DB ? We are running WMB V60. If we cannot do it in 60, can it be doen in V61.


The Toolkit will show deploy date/time & BAR file path for a given broker.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Jul 02, 2009 6:12 am    Post subject: Re: Retreive BAR file data for reconfiguration Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Vitor wrote:

The Toolkit will show deploy date/time & BAR file path for a given broker.


Which by the sounds of it will just point to the path on the guys workspace that noone can access (unless im missing your point?)....

Quote:

The bar file is still in his own work spoace which no one has access to


Your best bet might be to do a password reset on his account / find the local admin password (if you have one) on his machine. Or, easier still, just check the code out of your code repository and rebuild it using the automated build processes that you have.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 02, 2009 6:20 am    Post subject: Re: Retreive BAR file data for reconfiguration Reply with quote

Grand High Poobah

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

KIT_INC wrote:
Is there any way to do this knowing that the BAR data is in the broker DB ?


If the path shown in the Toolkit is the one of the vacationing developer, then the poster will know that the BAR file is the one deployed to the broker.

Unless I'm misreading it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 02, 2009 6:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can't recover BAR files from deployed configurations. They're gone.

There's no reason a workspace is unavailable to other people, unless you have absolutely no common desktop administrators and the only one who knows any passwords on the developer's machine is the developer and nothing is stored on network shares.

If the later is the case, maybe you should focus on filling in the hole, rather than looking for a shovel.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Jul 02, 2009 6:23 am    Post subject: Re: Retreive BAR file data for reconfiguration Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Vitor wrote:

Unless I'm misreading it.


I took it to mean that they knew the bar they wanted to redeploy was on the guys machine but they couldnt access it cus they didnt know his password.

I can see where you are coming from though.... clarification required I think
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 02, 2009 6:26 am    Post subject: Re: Retreive BAR file data for reconfiguration Reply with quote

Grand High Poobah

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

WMBDEV1 wrote:
I took it to mean that they knew the bar they wanted to redeploy was on the guys machine but they couldnt access it cus they didnt know his password.


Even if that's not where they're going, it's likely to be where they end up. Depending on how long this developer's on vacation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 02, 2009 6:30 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
the only one who knows any passwords on the developer's machine is the developer and nothing is stored on network shares.


Or the developer uses a laptop which he's taken on holiday with him, which not only has the deployed BAR file but the edited source files in the workspace. Rather than checked back into source control.

mqjeff wrote:
If the later is the case, maybe you should focus on filling in the hole, rather than looking for a shovel.


It was trout time when he got back.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Thu Jul 02, 2009 7:23 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Thanks for the replies. Yes, we can and will ask our PC admin group to reset his work station. There are also valid situation mentioned here like what if the developer took his laptop with him. The reason I post the entry was trying to find out if there is anyway to recreate anything from the broker DB if unfortunately we let the worse situation happen.
Looks like the answer is 'there is no way'
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 02, 2009 7:40 am    Post subject: Reply with quote

Grand High Poobah

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

KIT_INC wrote:
Looks like the answer is 'there is no way'


There's certainly no way to extract the configured deployment from the broker DB (because it could be comprised of a number of BAR files).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nvenkatesh
PostPosted: Fri Jul 03, 2009 4:55 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jan 2007
Posts: 45

Hi,

If it is the case that you have to just modify an User Defined Property(UDP) of the flow(you said "reconfigure the bar file" but you didnt explain clearly what to modify), It can be done with the help of CMP API (MessageFlowProxy.setUserDefinedProperty()) without redeploying the bar file. You just have to restart the flow.

And this feature is available only from broker version 6.1.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00643_.htm

Thanks,
Venkatesh
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 03, 2009 6:13 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.

nvenkatesh wrote:
Hi,

If it is the case that you have to just modify an User Defined Property(UDP) of the flow(you said "reconfigure the bar file" but you didnt explain clearly what to modify), It can be done with the help of CMP API (MessageFlowProxy.setUserDefinedProperty()) without redeploying the bar file. You just have to restart the flow.

A few words of caution about this.

Remember that this makes your deployed system different from the flows that were deployed. If this is a production (or even your test) system then personally I'd say No to doing this. Here is the reason why.
Unless you script the CMP API calls, Document it (And deposit it into something like SVN) you will essentially have an unmaintainable system.
What would happen if the Hardware went badly wrong or you had a fire in your Data Centre and had to move to a new system? Would you remember to apply the same set of changes again? Problably not until things started to go wrong.
We are just human after all and can make silly mistakes.
_________________
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
nvenkatesh
PostPosted: Fri Jul 03, 2009 7:02 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jan 2007
Posts: 45

I do agree with you but the broker development team should include your cautions in the infocenter about UDP v6.1 where the developers most of the time refer.

The page promotes this feature as,

The advantage of UDPs is that their values can be changed by operational staff at deployment and run time. You do not need to change your application programs. For example, if you use the UDPs to hold data about your computer center, you can configure a message flow for a particular computer, task, or environment at deployment time, without having to change the code at the message node level.

I dont know about the meaning of the word "operational staff" here.. Please explain.

I dont disagree with you here but I am telling you that your reasonable and valid points are missing in the help system.

Thanks,
Venkatesh
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 03, 2009 11:29 pm    Post subject: Reply with quote

Jedi Council

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

nvenkatesh wrote:


I dont disagree with you here but I am telling you that your reasonable and valid points are missing in the help system.

Thanks,
Venkatesh



Perhaps you should raise a PMR to get these 'wonderful words' included in the help system?

_________________
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
zpat
PostPosted: Fri Jul 03, 2009 11:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

BAR files themselves (and not just the source elements) should be added to the source control system before production deployment. This also keeps previous versions to aid in backing out changes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retreive BAR file data for reconfiguration
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.