Author |
Message
|
er_pankajgupta84 |
Posted: Wed Mar 21, 2012 11:47 am Post subject: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
We have around 200 bar files deployed in WMB 6.1 (fixpack 3) environment.
We need to migrate to wmb v7. Need some suggestions on moving the code from wmb 6.1 to wmb 7.
1. Do we need to re-built all the bar files from the code?
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output?
3. Can I run wmb 6.1 bar file in wmb 7? I can do this POC once I get the wmb 7 environment. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 21, 2012 12:12 pm Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
er_pankajgupta84 wrote: |
1. Do we need to re-built all the bar files from the code? |
Read this. It explicitly answers this question.
er_pankajgupta84 wrote: |
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output? |
No. Why would you want to?
er_pankajgupta84 wrote: |
3. Can I run wmb 6.1 bar file in wmb 7? I can do this POC once I get the wmb 7 environment. |
The link I supplied above explicitly answers this as well. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 21, 2012 12:14 pm Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
er_pankajgupta84 wrote: |
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output? |
No. Why would you want to? |
Well, in theory, mqsiapplybaroverrides would do this. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 21, 2012 12:20 pm Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
er_pankajgupta84 wrote: |
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output? |
No. Why would you want to? |
Well, in theory, mqsiapplybaroverrides would do this. |
Ok. But not something you'd want to do as a bulk task on migration.
Unless one of the overrides describes the environment and points to the broker installation, which is a design as mad as a bag of squirrels. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
er_pankajgupta84 |
Posted: Wed Mar 21, 2012 12:45 pm Post subject: |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
Thanks Vitor, jeff.
1. You can deploy BAR files that you have created in an earlier version of the WebSphere Message Broker Toolkit from the WebSphere Message Broker Toolkit Version 7.0 to a broker at Version 7.0, without change.
2. You cannot deploy resources that you have created in the WebSphere Message Broker Toolkit Version 7.0 to brokers that are at Version 6.1 or Version 6.0.
I was aware of the second statement but doubt the first one. But now it is clear.
Thanks, |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 21, 2012 12:56 pm Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
mqjeff wrote: |
Vitor wrote: |
er_pankajgupta84 wrote: |
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output? |
No. Why would you want to? |
Well, in theory, mqsiapplybaroverrides would do this. |
Ok. But not something you'd want to do as a bulk task on migration. |
Well, in theory, every deployment should include mqsiapplybaroverrides... |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Mar 21, 2012 1:32 pm Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
Well, in theory, every deployment should include mqsiapplybaroverrides... |
SHOULD? Really?....
Perhaps the words
Might
Could
Would be better.
IMHO, desiging your environment in such a way as to avoid the use of bar file overrides is just perfect. In almost 10 years of working with broker, I've only had to use them once. _________________ 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 |
|
 |
Esa |
Posted: Thu Mar 22, 2012 2:25 am Post subject: Re: Moving code (barfiles) from wmb 6.1 to wmb 7 |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
mqjeff wrote: |
Vitor wrote: |
er_pankajgupta84 wrote: |
2. Is there a way/tool to which we can give a barfile (wmb 6.1) as input and get wmb 7 bar file as output? |
No. Why would you want to? |
Well, in theory, mqsiapplybaroverrides would do this. |
AFAIK mqsiapplybaroverride does not recompile the flows. If there are differences between 6.1 and 7 barfiles, aren't they supposed to be in the way the flows are compiled, not in the structure of the zip file? |
|
Back to top |
|
 |
er_pankajgupta84 |
Posted: Thu Apr 05, 2012 1:26 pm Post subject: |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
I heard some of the functions has been modified/removed from esql in WMB v7.
If that is the case..I was wondering how a barfile compiled with WMB v6.1 can be deployed and run in WMB v7.
Also in WMB v7 we have 64 bits EG... so do we need to recompile WMB 6.1 bar files in wmb v7 to take use of that 64 bits behaviour.
I have done a test where I deployed the wmb 6.1 compiled bar file in wmb v7 and was able to test it.
But not sure whether it worked for my flow or should work for all flows. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Apr 05, 2012 2:11 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
broker 7 should support bar files from 6.1, as per the documentation.
This doesn't mean you can compile 6.1 flows under 6.1 toolkit to make use of 7.0 functions. You need to migrate the flows to the 7.0 toolkit and then compile them there to make use of 7.0 function. |
|
Back to top |
|
 |
er_pankajgupta84 |
Posted: Thu Apr 05, 2012 2:39 pm Post subject: |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
Jeff wrote -
Quote: |
broker 7 should support bar files from 6.1, as per the documentation.
This doesn't mean you can compile 6.1 flows under 6.1 toolkit to make use of 7.0 functions. You need to migrate the flows to the 7.0 toolkit and then compile them there to make use of 7.0 function. |
But here we are discussing only the code written and running using WMB v6.1 only.
So if a code (no matter what code it is) is written in WMB 6.1 and is currently running in WMB v6.1 then can we use the same bar and deploy on WMB v7 and face no issues.
Documentation says YES. I tested for couple of flows, it worked.
I am seeking if there is any deviation. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 05, 2012 7:29 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Of course as in all cases there are exceptions...
Imagine you have deployed the send mail support pack in 6.1 but need/want to use the send mail node in V7....
You 'd have to change the flow and recompile it...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
er_pankajgupta84 |
Posted: Fri Apr 06, 2012 4:57 am Post subject: |
|
|
 Master
Joined: 14 Nov 2008 Posts: 203 Location: charlotte,NC, USA
|
@fjb_saper - I agree.
I was concerned about the built in nodes - MQ, Java, esql, filter, validation, http, soap, file,label etc.
Support packs, user defined nodes, pub sub might need some tweeks before they can be ported from 6.1 to 7. |
|
Back to top |
|
 |
|