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 » General Discussion » Delete Cluster Queue

Post new topic  Reply to topic
 Delete Cluster Queue « View previous topic :: View next topic » 
Author Message
Robertm
PostPosted: Wed Dec 31, 2003 5:32 am    Post subject: Delete Cluster Queue Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

Hi,

How to delete a queue in a cluster where there are two queues with the same name.

Regards,
Robert
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Dec 31, 2003 5:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Go to the Qmgr hosting the queue you want to delete and then delete.
It will be removed from the cluster automatically and only one will remain.

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Robertm
PostPosted: Wed Dec 31, 2003 5:53 am    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

I tried the same on MQ Series 5.2 on windows 2000 using command RUNMQSC command DELETE QLOCAL(q-name), but i am getting message saying AMQ8147: MQSeries object TEST5 not found.


TEST5 is my queue manager name

thanks,
Robert
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Dec 31, 2003 6:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

on the machine where TEST5 Qmgr resides:

runmqsc TEST5

then in runmqsc window type: DELETE QLOCAL(thequeuetodelete)

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Robertm
PostPosted: Wed Dec 31, 2003 6:14 am    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

Thanks for Reply Michael,

Sorry my Queue Name is TEST5,

i have issued following commands,

runmqsc <queue manager name>

then DELETE QLOCAL(TEST5) i have issued the error message i am getting is AMQ8147: MQSeries object TEST5 not found.

this is a queue in a cluster queue manager, there are two queues named TEST5.

i want to delete this queues issuing command.

thanks,
robert
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Dec 31, 2003 6:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

you need to go to the queuemanager that is HOSTING the actual Queue.

on your Queuemanager that did not find TEST5 do:

DIS QCLUSTER(TEST5) ALL

this will show you where the TEST5 queues actually reside (CLUSQMGR)
find the machine that hosts that queuemanager and delete the TEST5 queue there.

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Robertm
PostPosted: Fri Jan 02, 2004 1:15 am    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

Thanks once again Michael for your reply.

The problem i faced while deleting a queue in a cluster queue manager on windows 2k platform using a runmqsc command DELETE QLOCAL, the queues created in same cluster through MQ explorer are not getting deleted, but queues created in the cluster using command DEFINE QLOCAL i am able to delete the queues through runmqsc command.
Is it a bug in MQ 5.2 product?? or i am doing any mistake.

pl. give your suggestion.

thanks
robertm
Back to top
View user's profile Send private message
Robertm
PostPosted: Mon Jan 05, 2004 9:19 pm    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

Is ther any way to delete a cluster queue by using date of creation of queue or using UID.


thanks,
robert
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue Jan 06, 2004 11:26 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Robert,
If you issue DIS QCLUSTER(TEST5) from runmqsc, you should see the name of the queue manager that is hosting each instance of the queue. Remember, while there may be more than one instance of TEST5 in your cluster, only ONE instance can exist on each queue manager. The fact that you are seeing two instances means that there are two different queue managers hosting each instance. To delete each instance, you have to run runmqsc on that specific machine. You cannot delete a clustered queue from any node (queue manager) in the cluster except for the node where it is defined. And all this is pretty much a rehash of what Michael is saying.
Hope that explains it...
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Delete Cluster Queue
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.