Author |
Message
|
kumarmq123 |
Posted: Sat Jul 10, 2010 3:47 am Post subject: adding qmgr to cluster |
|
|
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 |
|
 |
exerk |
Posted: Sat Jul 10, 2010 6:09 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Sat Jul 10, 2010 6:14 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Sat Jul 10, 2010 6:21 am Post subject: Re: adding qmgr to cluster |
|
|
 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 |
|
 |
bruce2359 |
Posted: Sat Jul 10, 2010 6:50 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Sat Jul 10, 2010 6:52 am Post subject: |
|
|
 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 |
|
 |
shashivarungupta |
Posted: Mon Jul 12, 2010 12:16 am Post subject: Re: adding qmgr to cluster |
|
|
 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 |
|
 |
|