Author |
Message
|
rcp_mq |
Posted: Wed Aug 29, 2012 9:35 pm Post subject: Method to determine a FR in several queue managers |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
There's a conundrum i will definitely face soon...
"How can you determine Full repositories among 600 qmgrs on AIX. You do not have access to MQ Explorer"
Is there a plausible answer to this, other than traversing each of the queue managers' (or going to 20 queue managers and checking their CLUSSDR channels...and whichever queue manager isolates the maximum number of times is a FR...out of the box thought!)
Thanks. |
|
Back to top |
|
 |
exerk |
Posted: Thu Aug 30, 2012 12:13 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And what's wrong with using the DISPLAY CLUSQMGR command with the appropriate 'filter'? _________________ 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 |
|
 |
mqjeff |
Posted: Thu Aug 30, 2012 4:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It should be possible to answer this question by running DISPLAY CHANNEL on at most two queue managers.
If it's *not* possible with at most two queue managers, then the cluster is set up wrong. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 30, 2012 4:49 am Post subject: Re: Method to determine a FR in several queue managers |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
rcp_mq wrote: |
How can you determine Full repositories among 600 qmgrs on AIX. |
One of two qmgr attributes determine if it is an FR, namely:
ALTER QMGR REPOS(cluster name goes here)
ALTER QMGR REPOSNL(cluster name list goes here)
rcp_mq wrote: |
You do not have access to MQ Explorer. Is there a plausible answer to this, other than traversing each of the queue managers' (or going to 20 queue managers... |
I'd start by asking those responsible for managing your WMQ environment for their WMQ inventory documentation. Surely a 600 qmgr organization will have such documentation.
If not, then doing the inventory yourself will require that you visit each qmgr to determine if it's in a cluster or clusters, which cluster(s), and what role (FR or PR) it assumes in the cluster(s). _________________ 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 |
|
 |
exerk |
Posted: Thu Aug 30, 2012 4:53 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqjeff wrote: |
It should be possible to answer this question by running DISPLAY CHANNEL on at most two queue managers.
If it's *not* possible with at most two queue managers, then the cluster is set up wrong. |
still think DIS CLUSQMGR(*) WHERE(QMTYPE EQ REPOS) is easier... _________________ 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 |
|
 |
rcp_mq |
Posted: Thu Aug 30, 2012 5:00 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
That would still give me only one FR (!). Suppose there are 3 FR and there is no namelist. This is a hypothetical situation. |
|
Back to top |
|
 |
exerk |
Posted: Thu Aug 30, 2012 5:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
rcp_mq wrote: |
That would still give me only one FR (!). |
Really? Why do you think that?
rcp_mq wrote: |
Suppose there are 3 FR and there is no namelist. |
If you have three FRs then you have not observed the holy grail of clusters: " The number of Full Repositories shall be two, no more, no less. Two shall be the number you shall count...". And, what has a potential namelist got to do with it?
rcp_mq wrote: |
This is a hypothetical situation. |
Hypothetical or not, the above remains true. _________________ 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 |
|
 |
nathanw |
Posted: Thu Aug 30, 2012 5:14 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
exerk wrote: |
" The number of Full Repositories shall be two, no more, no less. Two shall be the number you shall count...". . |
mmmm Holy handgrenade of antioch coming into play on a mq cluster discussion that is abstract!!!! _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
rcp_mq |
Posted: Thu Aug 30, 2012 5:22 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
I can use DISPLAY CLUSQMGR within one queue manager. So, to find out the 2nd FR i will need to use it within another queue manager. |
|
Back to top |
|
 |
exerk |
Posted: Thu Aug 30, 2012 5:24 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
rcp_mq wrote: |
I can use DISPLAY CLUSQMGR within one queue manager. So, to find out the 2nd FR i will need to use it within another queue manager. |
Why not just try it in one and see what results? _________________ 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: Thu Aug 30, 2012 5:36 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
While you may define more than 2 FRs in a cluster, clustering software will only make use of 2.
So, you don't have access to the WMQ Explorer tool. In order to use the WMQ Explorer, the GUI admin tool, it must connect to each qmgr you intend to manage. You are left with some other performance tool, or using runmqsc; but each will require a connection. _________________ 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 |
|
 |
bruce2359 |
Posted: Thu Aug 30, 2012 5:38 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
rcp_mq wrote: |
I can use DISPLAY CLUSQMGR within one queue manager. So, to find out the 2nd FR i will need to use it within another queue manager. |
All qmgrs in a cluster need to connect to an FR, including the other FR. So, yes, if you connect to an FR, you can determine which is its FR. _________________ 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 |
|
 |
mqjeff |
Posted: Thu Aug 30, 2012 6:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I repeat.
I can do this with two DISPLAY CHANNEL commands, one on each of two queue managers.
Give me any queue manager in the cluster as the first one, and allow me to choose the second one.
If this does not provide the full list of all FRs in the cluster, then the cluster has more than two FRs and is broken. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 30, 2012 7:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
I repeat.
I can do this with two DISPLAY CHANNEL commands, one on each of two queue managers.
Give me any queue manager in the cluster as the first one, and allow me to choose the second one.
If this does not provide the full list of all FRs in the cluster, then the cluster has more than two FRs and is broken. |
The first queue manager tells you which queue manager is one of the FRs. That FR will tell you which queue manager is the other FR. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rcp_mq |
Posted: Thu Aug 30, 2012 7:23 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
I'll play around with your suggestions in a test environment. Thanks much. |
|
Back to top |
|
 |
|