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 » Clustering » adding qmgr to cluster

Post new topic  Reply to topic
 adding qmgr to cluster « View previous topic :: View next topic » 
Author Message
kumarmq123
PostPosted: Sat Jul 10, 2010 3:47 am    Post subject: adding qmgr to cluster Reply with quote

Newbie

Joined: 10 Jul 2010
Posts: 1

How to add a qmgr to cluster.....i have gone through the cluster PDF .........but is there any Shell script to automate the process could you help me out in providing shell script to add qmgr to cluster....


Thanks in Advance
Back to top
View user's profile Send private message
exerk
PostPosted: Sat Jul 10, 2010 6:09 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

1. Write an input file with all the relevant objects in it.
2. Pipe in the input file using a shell script, or by piping it into the command console. i.e. runmqsc.

If you want to write a shell script that takes input, e.g. QMNAME, CLUSRCVR(CONNAME), CLUSSDR(CONNAME), there are plenty of hits on Google of how to take user input into a script, parse it, validate it etc.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jul 10, 2010 6:14 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The WMQ Queue Manager Clusters manual lists step-by-step instructions on adding a qmgr to a cluster. It is perhaps one of the most detailed 'how-to' WMQ manuals.

Did you follow the instructions?

Did you test? What were the results?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Jul 10, 2010 6:21 am    Post subject: Re: adding qmgr to cluster Reply with quote

Grand High Poobah

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

kumarmq123 wrote:
is there any Shell script to automate the process could you help me out in providing shell script to add qmgr to cluster....


You could write one. Any script provided would need to be so tailored to your environment it's easier to write your own.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jul 10, 2010 6:50 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The script commands to define/alter objects are well-documented in the WMQ Script Command (MQSC) Reference manual.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Jul 10, 2010 6:52 am    Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
The script commands to define/alter objects are well-documented in the WMQ Script Command (MQSC) Reference manual.


As you correctly said further up this thread.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Jul 12, 2010 12:16 am    Post subject: Re: adding qmgr to cluster Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

kumarmq123 wrote:
...but is there any Shell script to automate the process...

HMM... as being said by the senior posters., BUT how often do you add/remove the qmgrs in/from the existing cluster. If its Too Often in your system/architecture then Scripts are good (write your own script using MQSC Commands.).

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » adding qmgr to cluster
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.