Author |
Message
|
Mitra |
Posted: Wed Aug 03, 2011 6:05 am Post subject: How to remove shared queue from the cluster |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
Hello,
I need to delete some of the shared queues. Before deleting the shared queues, i need to remove the queue from the cluster. I know how to do that on Unix. But this is the first time doing it on mainframes. I dont want to do any mistake. Please help me.
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 03, 2011 6:25 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
You alter the queue object, and change the shared attribute to indicate that it no longer shared. Refer to the InfoCenter or MQSC manual.
You remove an object from the cluster on WMQ for z/OS in exactly the same way as you would do it on UNIX. Refer to the InfoCenter or MQSC manual. _________________ 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 |
|
 |
Mitra |
Posted: Wed Aug 03, 2011 6:29 am Post subject: |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
bruce2359 wrote: |
You alter the queue object, and change the shared attribute to indicate that it no longer shared. Refer to the InfoCenter or MQSC manual.
You remove an object from the cluster on WMQ for z/OS in exactly the same way as you would do it on UNIX. Refer to the InfoCenter or MQSC manual. |
On UNIX, we will just alter the queue by giving blank or none in the cluster field. But here "CF Structure Name" is this the thing i need to change to none. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 03, 2011 6:57 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Your original post said you were going to delete the shared queue objects, yes?
If so, take the queue out of the cluster, then delete the queue definition. _________________ 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 |
|
 |
Vitor |
Posted: Wed Aug 03, 2011 7:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
If so, take the queue out of the cluster, then delete the queue definition. |
The OP doesn't mean "cluster" - he's talking shared queues on a mainframe. a QSG _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 03, 2011 7:04 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Vitor wrote: |
bruce2359 wrote: |
If so, take the queue out of the cluster, then delete the queue definition. |
The OP doesn't mean "cluster" - he's talking shared queues on a mainframe. a QSG |
I read the OP as the queue was both in a cluster and a QSG.
Silly me. _________________ 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 |
|
 |
Mitra |
Posted: Wed Aug 03, 2011 7:04 am Post subject: |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
bruce2359 wrote: |
Your original post said you were going to delete the shared queue objects, yes?
If so, take the queue out of the cluster, then delete the queue definition. |
That's correct. But what my question is that how can i take out the shared queue from the cluster. |
|
Back to top |
|
 |
Mitra |
Posted: Wed Aug 03, 2011 7:07 am Post subject: |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
bruce2359 wrote: |
Vitor wrote: |
bruce2359 wrote: |
If so, take the queue out of the cluster, then delete the queue definition. |
The OP doesn't mean "cluster" - he's talking shared queues on a mainframe. a QSG |
I read the OP as the queue was both in a cluster and a QSG.
Silly me. |
The queue is the shared queue. I have an alias queue that points to this shared queue. I need to remove them from cluster and then delete them. Please tell me the process.
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 03, 2011 7:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Mitra wrote: |
The queue is the shared queue. I have an alias queue that points to this shared queue. I need to remove them from cluster and then delete them. Please tell me the process.
Thanks. |
The process to alter the clustered status of an MQ object does not change if that MQ object is a zOS shared queue.
You might, however, need to alter *all* of the shared queue instances. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 03, 2011 9:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
mqjeff wrote: |
The process to alter the clustered status of an MQ object does not change if that MQ object is a zOS shared queue.
|
Jeff. Are you saying that you cannot (effectively) alter the CLUSTER/CLUSNL attributes of an object that is part of a QSG? I don't have a system to test this out, but I recall doing this exact thing on v6 qmgrs - taking a queue definition out of a cluster, while leaving the queue def in the QSG.
WMQ clusters and QSGs are different, but can be used together.
This from the WMQ Queue Manager Clusters manual:
Quote: |
A cluster queue can be a queue that is shared by members of a
queue-sharing group in WebSphere MQ for z/OS. |
_________________ 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 |
|
 |
mqjeff |
Posted: Wed Aug 03, 2011 9:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bruce2359 wrote: |
mqjeff wrote: |
The process to alter the clustered status of an MQ object does not change if that MQ object is a zOS shared queue.
|
Jeff. Are you saying that you cannot (effectively) alter the CLUSTER/CLUSNL attributes of an object that is part of a QSG? I don't have a system to test this out, but I recall doing this exact thing on v6 qmgrs - taking a queue definition out of a cluster, while leaving the queue def in the QSG. |
No.
That's not what I'm saying at all.
?
I'm saying that you do the exact same thing to add or remove a queue from an MQ Cluster, regardless of whether or not it is a shared queue in a QSG.
And that if you have added all instances of a shared queue in a QSG to the cluster, then you need to remove all instances from the cluster as well. |
|
Back to top |
|
 |
Mitra |
Posted: Wed Aug 03, 2011 11:19 am Post subject: |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
mqjeff wrote: |
bruce2359 wrote: |
mqjeff wrote: |
The process to alter the clustered status of an MQ object does not change if that MQ object is a zOS shared queue.
|
Jeff. Are you saying that you cannot (effectively) alter the CLUSTER/CLUSNL attributes of an object that is part of a QSG? I don't have a system to test this out, but I recall doing this exact thing on v6 qmgrs - taking a queue definition out of a cluster, while leaving the queue def in the QSG. |
No.
That's not what I'm saying at all.
?
I'm saying that you do the exact same thing to add or remove a queue from an MQ Cluster, regardless of whether or not it is a shared queue in a QSG.
And that if you have added all instances of a shared queue in a QSG to the cluster, then you need to remove all instances from the cluster as well. |
I havent got the answer yet. Can you please tell me what i need to do. First of all i need to know that how to remove a Shared queue from the Queue Share Group. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 03, 2011 11:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Mitra wrote: |
I havent got the answer yet. |
Yes you have
Mitra wrote: |
Can you please tell me what i need to do. |
Very much what you've outlined above
Mitra wrote: |
First of all i need to know that how to remove a Shared queue from the Queue Share Group. |
Same way you add it to a QSG, but in reverse. Again you've indicated as much above.
Queue administration doesn't vary between z/OS & distributed. There are just some concepts (like QSG and storage class) that are specific to z/OS. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 03, 2011 12:21 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Do you have any experience with WMQ on any platform?
If not, have your management enroll you in a WMQ System Administration course. WM30 is a 4-day, hands-on, lecture/lab course that will give you the fundamentals of WMQ admin on z/OS qmgrs.
The WMQ Script Command Reference (MQSC) manual describes how to define, alter and delete, objects. A few of the attributes of objects are unique to z/OS WMQ, and are well documented.
To take an object definition out of a cluster, alter the object definition to set the cluster attribute to blanks, like this: CLUSTER(' ')
To take an object definition out of a QSG, alter the object definition to name the QDISP(SHARED) attribute, like this: QDISP(QMGR).
To delete the object definition from the qmgr(s) that owns the object, use the DELETE command, naming the queue to be deleted. _________________ 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 |
|
 |
Mitra |
Posted: Thu Aug 04, 2011 6:13 am Post subject: |
|
|
Voyager
Joined: 21 Mar 2011 Posts: 78
|
bruce2359 wrote: |
Do you have any experience with WMQ on any platform?
If not, have your management enroll you in a WMQ System Administration course. WM30 is a 4-day, hands-on, lecture/lab course that will give you the fundamentals of WMQ admin on z/OS qmgrs.
The WMQ Script Command Reference (MQSC) manual describes how to define, alter and delete, objects. A few of the attributes of objects are unique to z/OS WMQ, and are well documented.
To take an object definition out of a cluster, alter the object definition to set the cluster attribute to blanks, like this: CLUSTER(' ')
To take an object definition out of a QSG, alter the object definition to name the QDISP(SHARED) attribute, like this: QDISP(QMGR).
To delete the object definition from the qmgr(s) that owns the object, use the DELETE command, naming the queue to be deleted. |
Thanks for the info. But i tried to change QDISP(SHARED) to QDISP(QMGR) from ISPF panel and from Appwatch. Its not allowing me to do so. The option looks disabled to me. |
|
Back to top |
|
 |
|