|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mqsicreatebar in multiple broker servers |
« View previous topic :: View next topic » |
Author |
Message
|
fionn |
Posted: Tue Jul 01, 2014 4:42 am Post subject: mqsicreatebar in multiple broker servers |
|
|
Newbie
Joined: 01 Jul 2014 Posts: 2
|
env - MB 8.0.0.1 on RHEL, ANT, Hudson
Using ANT build scripts in Hudson to build & deploy the bars.
We have four environments, DEV, QA, STG, PROD. DEV & QA have single broker servers whereas STG & PROD have two broker servers. Installed toolkit in dev & qa to build the bar using mqsicreatebar. For STG & PROD, we get to install toolkit in two servers and build two seperate bars, which is not ideal solution as there will be two bars which might/might not be the same ones until we do mqsireadbar. Another option is to install toolkit in one server, build the bar and STFP the bar to another server and deploy it, with this solution we are sure that same bar is deployed on both servers. But is this solution recommended? We can go with this option, but just checking if there is a best possible way to fix this issue.
Tried mqsipackagebar to avoid installing toolkit, but to compile the sources mqsicreatebar is needed where toolkit comes into picture. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 01, 2014 6:25 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Build the bar file in dev/qa and use mqsiapplybaroverride to change the values that need changing. Then use mqsideploy to deploy remotely.
If using IBM_JAVA_OPTIONS to pass the SSL info you can even use SSL for that...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
fionn |
Posted: Wed Jul 02, 2014 4:37 am Post subject: |
|
|
Newbie
Joined: 01 Jul 2014 Posts: 2
|
This might work, but my scripts run with env name as argument; like
ant run dev
ant run qa
Depending on the env name, scripts create bar files with the below pattern
BarSample_DEV_DDMMYYYY
So to create bar files in dev/qa for stg/prod and change the bar file names as per the env name and deploying it to respective environments seems to be bit hassle. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 02, 2014 5:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fionn wrote: |
This might work, but my scripts run with env name as argument; like
ant run dev
ant run qa
Depending on the env name, scripts create bar files with the below pattern
BarSample_DEV_DDMMYYYY
So to create bar files in dev/qa for stg/prod and change the bar file names as per the env name and deploying it to respective environments seems to be bit hassle. |
Is this more, or less, hassle than applying maintenance to four build servers instead of two. |
|
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
|
|
|
|