ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » How to deletete messages from system cluster queues

Post new topic  Reply to topic
 How to deletete messages from system cluster queues « View previous topic :: View next topic » 
Author Message
venkat kurra
PostPosted: Thu Feb 13, 2003 4:08 am    Post subject: How to deletete messages from system cluster queues Reply with quote

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
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Thu Feb 13, 2003 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
TonyD
PostPosted: Thu Feb 13, 2003 2:07 pm    Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

You will need to stop 'amqrrmfa' also.
Back to top
View user's profile Send private message Send e-mail
bduncan
PostPosted: Thu Feb 13, 2003 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
venkat kurra
PostPosted: Fri Feb 14, 2003 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Fri Feb 14, 2003 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » How to deletete messages from system cluster queues
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.