Author |
Message
|
zpat |
Posted: Wed Apr 28, 2010 3:42 am Post subject: setmqaut duplicate records |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Looking at one of my queue managers, it has duplicated some of the authority records, e.g. this is one of them (as shown by amqoamd -s)
Quote: |
setmqaut -m XXX -n SYSTEM.AUTO.SVRCONN -t channel -g mqm +chg +dlt +dsp +ctrl +ctrlx
setmqaut -m XXX -n SYSTEM.AUTO.SVRCONN -t channel -g mqm +chg +dlt +dsp +ctrl +ctrlx |
I assume this does not do any harm, but I would like to tidy it up - however if I issue:
setmqaut -m XXX -n SYSTEM.AUTO.SVRCONN -t channel -g mqm -remove
Will it remove one of the records, or both of them?
Before you say "try it and see", this is a production queue manager.
Is is safe to delete the duplicate MQ message that represent this ACL on the SYSTEM.AUTH.DATA.QUEUE? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 28, 2010 12:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Can you duplicate in a test environment and try it there?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Apr 28, 2010 3:41 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
|
Back to top |
|
 |
zpat |
Posted: Thu Apr 29, 2010 12:15 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
That first link gives me an error.
The issue is not amqoamd, if I examine the messages in the SYSTEM.AUTH.DATA.QUEUE with a queue browser, I can see the duplicates, amqoamd is correctly showing me the ACL contents.
Not sure how I can replicate the problem, maybe copying all the messages in the SYSTEM.AUTH.DATA.QUEUE to another host - presumably it would have to have the same QM name? |
|
Back to top |
|
 |
sumit |
Posted: Thu Apr 29, 2010 1:20 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
|
Back to top |
|
 |
JosephGramig |
Posted: Mon May 03, 2010 5:10 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
You should be able to delete every OAM entry (or try) that references the group mqm.
The product is coded to give that group full access to all objects with out regard to what is in the OAM. Of course, I'm only talking about distributed platforms. |
|
Back to top |
|
 |
zpat |
Posted: Fri May 07, 2010 4:21 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Thanks, seems odd that the queue manager generates such entries automatically when queues are created. |
|
Back to top |
|
 |
|