Author |
Message
|
venkat kurra |
Posted: Thu Feb 13, 2003 4:08 am Post subject: How to deletete messages from system cluster queues |
|
|
 Master
Joined: 18 Oct 2001 Posts: 245 Location: Bloomington , IL
|
Hi,
Any idea about delete messages from SYSTEM.CLUSTER.COMMAND.QUEUE and SYSTEM.CLUSTER.REPOSITORY.QUEUE.We need to clear these queues to solve some cluster problems. We unable to clear on these queues because queues are all ways open.
Thanks _________________ Thanks,
Venkat Kurra
IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Feb 13, 2003 5:47 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Either do a get from these queues or stop your clussdr channels that would remove all openers(hopefully, unless you have something else beyond these as openers). And then you could do a destructive get to remove the msgs off the queue.
Cheers.
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
TonyD |
Posted: Thu Feb 13, 2003 2:07 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
You will need to stop 'amqrrmfa' also. |
|
Back to top |
|
 |
bduncan |
Posted: Thu Feb 13, 2003 2:25 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
The quick and dirty approach is as Kumar suggested. You can modify the amqsget program (setting the buffer size bigger than the biggest message on the queue), and then in runmqsc alter the queues, setting GET(ENABLED). Now you can run the modified amqsget program which will remove all messages from these queues. Be sure to set GET(DISABLED) when you are done. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
venkat kurra |
Posted: Fri Feb 14, 2003 12:01 pm Post subject: |
|
|
 Master
Joined: 18 Oct 2001 Posts: 245 Location: Bloomington , IL
|
We stopped cluster sdr and receivers to this queue manager and get(disabled) by using MQexplorer. In place of amqsget program we used explorer to clear these queues. Doe's it make sence? because queues are still open.
Tony, We have two queue managers(both are in the cluster) on the same server and can see two amqrrmfa services . How can we get right one to stop. _________________ Thanks,
Venkat Kurra
IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin |
|
Back to top |
|
 |
mqonnet |
Posted: Fri Feb 14, 2003 2:20 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Find out what apps, if any kept these queues open, if thats what you meant by "open". But why do you care if you were able to retrieve all the messages using explorer. Make sure you are doing a destructive get rather than a browse using the explorer.
When you say the queue is still open, what do you mean by that. Does it mean, explorer has kept it open to retrive the message or someone else.
Lastly, what is the issue now. Since your post implies that you were able to clear the queues.
Cheers.
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
|