Author |
Message
|
AnAtomist.NoElectrons |
Posted: Wed Mar 26, 2014 8:10 am Post subject: Object is in use (open exclusive) by Omegamon/Candle |
|
|
Newbie
Joined: 11 Mar 2014 Posts: 4
|
Our production QMgrs are monitored by Omegamon/Candle. I cannot stop them without affecting entire alerts function. Please suggest alternatives. |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 26, 2014 8:26 am Post subject: Re: Object is in use (open exclusive) by Omegamon/Candle |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
AnAtomist.NoElectrons wrote: |
Our production QMgrs are monitored by Omegamon/Candle. I cannot stop them without affecting entire alerts function. Please suggest alternatives. |
You could temporarily remove access to the affected queues (setmqaut) then use MO71 to select and delete the messages you wish gone, and re-enable authorities after. Situations like this are one good reason to use a QALIAS as a first-resolution object. _________________ 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 |
|
 |
suneel |
Posted: Thu Mar 27, 2014 7:14 am Post subject: |
|
|
Voyager
Joined: 06 Nov 2009 Posts: 89
|
What is the OS you are using?
If it is Linux or solaris you can use qload. |
|
Back to top |
|
 |
zpat |
Posted: Thu Mar 27, 2014 7:23 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You can use Qload on more than that - and also, with a client connection you can attach to any QM. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Mar 27, 2014 9:11 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
suneel wrote: |
What is the OS you are using?
If it is Linux or solaris you can use qload. |
You missed the part where GET is disabled, so no it can't. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 27, 2014 9:48 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
JosephGramig wrote: |
suneel wrote: |
What is the OS you are using?
If it is Linux or solaris you can use qload. |
You missed the part where GET is disabled, so no it can't. |
This is perhaps the best reason for applications to always MQOPEN QAlias (or QRemote) definition, rather than a QLocal. This allows us to get(disable) the alias while we do our evil deed on the get(enabled) TARGET of the alias. _________________ 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 |
|
 |
JosephGramig |
Posted: Thu Mar 27, 2014 10:52 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
bruce2359 wrote: |
JosephGramig wrote: |
suneel wrote: |
What is the OS you are using?
If it is Linux or solaris you can use qload. |
You missed the part where GET is disabled, so no it can't. |
This is perhaps the best reason for applications to always MQOPEN QAlias (or QRemote) definition, rather than a QLocal. This allows us to get(disable) the alias while we do our evil deed on the get(enabled) TARGET of the alias. |
 |
|
Back to top |
|
 |
AnAtomist.NoElectrons |
Posted: Fri Mar 28, 2014 11:20 am Post subject: Thank you for all suggestions. |
|
|
Newbie
Joined: 11 Mar 2014 Posts: 4
|
Hi all,
Thank you for all the great suggestions. I will try to convince my team to have QAliases for all Qs, to prevent future issues. I appreciate all your quick help.
Thanks. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Mar 31, 2014 1:25 pm Post subject: Re: Thank you for all suggestions. |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
AnAtomist.NoElectrons wrote: |
Hi all,
Thank you for all the great suggestions. I will try to convince my team to have QAliases for all Qs, to prevent future issues. I appreciate all your quick help.
Thanks. |
Or design the app to avoid the need to clear local queues, or request the app to develop their own capability to clear / process quques. _________________ Glenn |
|
Back to top |
|
 |
alexf400 |
Posted: Thu Apr 10, 2014 3:26 am Post subject: |
|
|
Newbie
Joined: 10 Apr 2014 Posts: 8
|
Try using the rfhutil tool. That can delete messages when processes are still attached to the queue. |
|
Back to top |
|
 |
zpat |
Posted: Thu Apr 10, 2014 3:37 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
So can MO71 or MQ explorer - just choose the MQGET option. But it can be painfully slow over a client connection with many messages. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
|