Author |
Message
|
varunv |
Posted: Thu Jun 18, 2009 10:33 pm Post subject: SUSPEND QMGR |
|
|
Novice
Joined: 04 Feb 2009 Posts: 16
|
After suspending qmgr can we put messages on that qmgr.I tried to put messages on suspend qmgr it is accepting and i Get Messages also.Is it right ? |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 18, 2009 10:59 pm Post subject: Re: SUSPEND QMGR |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
varunv wrote: |
After suspending qmgr can we put messages on that qmgr.I tried to put messages on suspend qmgr it is accepting and i Get Messages also.Is it right ? |
Suspend the queue manager from the cluster, just takes it out of the cluster but it exists on the machine where you have defined it. If its in running state after and when you have suspended it then it would act as its in distributed architecture. And if you put message on that suspended queue manager form remote queue manager or from cluster queue manager then channels between them have to be in running state, then it would accept the messages in that queue.
I would suggest you to go through the cluster manual. It would make you clear about the concepts/thought of 'cluster'. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 18, 2009 11:08 pm Post subject: Re: SUSPEND QMGR |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
varunv wrote: |
...After suspending qmgr can we put messages on that qmgr.... |
suspend queue manager does not mean that the queue manager is disabled. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 18, 2009 11:30 pm Post subject: Re: SUSPEND QMGR |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shashivarungupta wrote: |
I would suggest you to go through the cluster manual. It would make you clear about the concepts/thought of 'cluster'. |
Especially given your posting history. We're not a training resource. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 18, 2009 11:30 pm Post subject: Re: SUSPEND QMGR |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
varunv wrote: |
After suspending qmgr can we put messages on that qmgr.I tried to put messages on suspend qmgr it is accepting and i Get Messages also.Is it right ? |
Quite possibly.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
varunv |
Posted: Thu Jun 18, 2009 11:33 pm Post subject: SUSPEND QMGR |
|
|
Novice
Joined: 04 Feb 2009 Posts: 16
|
Mean that we are Informing to other people do not put messages on this,the QMGR is under Maintanance right ? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 18, 2009 11:55 pm Post subject: Re: SUSPEND QMGR |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
varunv wrote: |
Mean that we are Informing to other people do not put messages on this,the QMGR is under Maintanance right ? |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu Jun 18, 2009 11:56 pm Post subject: Re: SUSPEND QMGR |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
varunv wrote: |
Mean that we are Informing to other people do not put messages on this,the QMGR is under Maintanance right ? |
Not at all, as you've been told...... It just means its suspended from the cluster but messages can still be put to it (ie the MQPut command will not fail with MQRC "QM_UNDER_MAINTENANCE".
If you want to apply maintenance why dont you stop the QM? |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jun 19, 2009 2:10 am Post subject: Re: SUSPEND QMGR |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
'Stop' the queue manager with in the cluster, i think its not advisable when it comes to maintenance.
'Suspend QM' tells the workload management routines to avoid sending messages to it. And its an Advice to other queue managers in the cluster to avoid sending messages to the suspended qm. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Fri Jun 19, 2009 3:04 am Post subject: Re: SUSPEND QMGR |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
shashivarungupta wrote: |
'Stop' the queue manager with in the cluster, i think its not advisable when it comes to maintenance. |
Why? |
|
Back to top |
|
 |
exerk |
Posted: Fri Jun 19, 2009 3:36 am Post subject: Re: SUSPEND QMGR |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
shashivarungupta wrote: |
...'Suspend QM' tells the workload management routines to avoid sending messages to it. And its an Advice to other queue managers in the cluster to avoid sending messages to the suspended qm... |
Bear in mind though that if a suspended queue manager hosts an instance of a queue, and that instance is the only available* instance left in the cluster, messages will be sent to the suspended queue manager.
* no other instances can be put to _________________ 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 |
|
 |
Vitor |
Posted: Fri Jun 19, 2009 3:42 am Post subject: Re: SUSPEND QMGR |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
shashivarungupta wrote: |
...'Suspend QM' tells the workload management routines to avoid sending messages to it. And its an Advice to other queue managers in the cluster to avoid sending messages to the suspended qm... |
Bear in mind though that if a suspended queue manager hosts an instance of a queue, and that instance is the only available* instance left in the cluster, messages will be sent to the suspended queue manager.
* no other instances can be put to |
Which I suspect is why the previous poster correctly referred to it as an "advice".
But you're both right. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Jun 19, 2009 3:44 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Think the scenario when the queue manager is being stopped with in the cluster and what all can't be done, what all would happen to its channels connecting other queue managers (if there are any other), what all would happen to the repository consistency. etc. etc.
I am trying to give signals that might cause problems in the future and can be avoided.
Quote: |
if a suspended queue manager hosts an instance of a queue, and that instance is the only available* instance left in the cluster, messages will be sent to the suspended queue manager. |
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
exerk |
Posted: Fri Jun 19, 2009 3:53 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
shashivarungupta wrote: |
...Think the scenario when the queue manager is being stopped with in the cluster and what all can't be done, what all would happen to its channels connecting other queue managers (if there are any other), what all would happen to the repository consistency. etc. etc.
I am trying to give signals that might cause problems in the future and could be avoided... |
I'd be interested in how you apply fix packs, as you do not wish to in any way interrupt a queue manager during its work...
...channels would reconnect, and repository 'consistency' would recover - automatic recovery is a design feature of WMQ. _________________ 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 |
|
 |
shashivarungupta |
Posted: Fri Jun 19, 2009 4:23 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
exerk wrote: |
shashivarungupta wrote: |
...Think the scenario when the queue manager is being stopped with in the cluster and what all can't be done, what all would happen to its channels connecting other queue managers (if there are any other), what all would happen to the repository consistency. etc. etc.
I am trying to give signals that might cause problems in the future and could be avoided... |
I'd be interested in how you apply fix packs, as you do not wish to in any way interrupt a queue manager during its work...
...channels would reconnect, and repository 'consistency' would recover - automatic recovery is a design feature of WMQ. |
I would mar my previous post and would call an administrator to shut down queue managers because some one is looking for the MQ fix pack(s) implementation.
[as applying mq fix pack would affect all the mq queue managers, then got to go your way instead one of them.] [its Friday hits me ] _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|