Author |
Message
|
Adreno |
Posted: Wed Feb 09, 2011 11:17 pm Post subject: Manually clear authorization Queue |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Hi,
we are currently struggeling with corrupt OAM setting on a brokers qmgr.
Is there any way to clear all OAM settings like:
1.) stopping manually amqzfuma
2.) Clearing AUTH Queue
3.) restart Qmgr
4.) Setting OAM settings for qmgr
Has anyone experiences with such issues? _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
santnmq |
Posted: Thu Feb 10, 2011 2:30 am Post subject: |
|
|
Centurion
Joined: 11 Jan 2011 Posts: 125
|
Have you tried using SETMQAUT command for this purpose? |
|
Back to top |
|
 |
fatherjack |
Posted: Thu Feb 10, 2011 3:01 am Post subject: Re: Manually clear authorization Queue |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
Adreno wrote: |
we are currently struggeling with corrupt OAM setting on a brokers qmgr. |
Corrupt? How does this manifest itself? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
Adreno |
Posted: Thu Feb 10, 2011 5:17 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 71
|
Hi,
struggeling in that way that we can grant access ia setmqaut and evaluate the setting with dspmqaut and dmpmqaut.
At least there had been made some group id changes to groups with OAM rights without revoking the OAM settings firstly. _________________ There are two kinds of people in this world: people who s***, and Chuck Norris... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 10, 2011 5:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
And you feel just flushing the storage area is the way to go?
Do you keep a sledgehammer at home in case some walnuts need cracking at short notice?
If the commands are working, I don't see the struggle. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 10, 2011 6:24 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
At least there had been made some group id changes to groups with OAM rights without revoking the OAM settings firstly. |
Can you provide a specific example of what you mean by corrupt.
It sounds like setmqaut is working as documented. Setmqaut adds authorizations when you use a + sign, and takes away when you use a - sign.
When I use setmqaut, I first(ly) take away all with -all; then grant with +'s.
What platform? What version of WMQ? _________________ 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 Feb 10, 2011 6:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you trying to do the same thing that can be accomplished with the MQSC "REFRESH SECURITY" command? |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Feb 15, 2011 11:33 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
amqoamd -s -m <qmgr>|grep -v mqm > qmgrauth.sh
will produce the commands needed to generate the current authorizations. Then you can tweak that to reset the authorizations to what you want. |
|
Back to top |
|
 |
harish_td |
Posted: Wed Feb 16, 2011 1:59 am Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
|
Back to top |
|
 |
|