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 » Broker bar file deployment onto multiple brokers

Post new topic  Reply to topic
 Broker bar file deployment onto multiple brokers « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Sun Mar 13, 2011 12:47 pm    Post subject: Broker bar file deployment onto multiple brokers Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi,
We are using MQ v7.0.1.4 & MB v7.0.0.2 on Linux.

We have 2 servers each are configured with a Broker, say Server1 with Broker1 & Server2 with Broker2. There is a load balancer to distribute load between both brokers(servers), Broker1 & broker2 to handle traffic on both machines(i.e., broker).

We are going to deploy the same bar onto both brokers as we need to handle the load balance across both servers by deploying same broker code(bar file) onto both brokers.

Question:
Is there a way to deploy the same bar onto both broker machines automatically at a time, may be in a single script?.

We just want to avoid if the admin forgets to deploy the code onto one of the machine which causes one borker able to process and not the other one.

Any suggestion is helpful.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Mar 13, 2011 3:10 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqsideploy.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Sun Mar 13, 2011 4:54 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

mqjeff wrote:
mqsideploy.


Thanks.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Mar 13, 2011 10:13 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.

My suggestion is to wrap up the deploys inside a shell script and MAKE all deploys use that script.
If any admin uses mqsideploy directly (except to delete an object) they should be sent to the naughty step.

The advantage of using a script is that you can then put into it all sort of nice auditing, logging and even backup operations.
If you are relly smart then you could even take the broker where deploys are being made out of the load balancer while the deploy is going on.

The opportunities to radically streamline and improve your deploy process in this way are huge.
_________________
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
lancelotlinc
PostPosted: Mon Mar 14, 2011 4:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Thats the whole point about CruiseControl or Hudson. That is their raison de' etre.

http://en.wiktionary.org/wiki/raison_d%27%C3%AAtre?rdfrom=Raison_d%27%C3%AAtre

Quote:
The claimed reason for the existence of something or someone; the sole or ultimate purpose of something or someone.


http://en.wikipedia.org/wiki/CruiseControl
http://en.wikipedia.org/wiki/Continuous_integration


Quote:
Automation of the build should include automating the integration, which often includes deployment into a production-like environment.

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Mar 14, 2011 5:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Right. Once you have a reliable and tested script that deploys your production environment, you can integrate that into your change control processes and automate the execution of the script.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Tue Mar 15, 2011 8:01 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Thanks guys for your valuable inputs.
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 » Broker bar file deployment onto multiple brokers
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.