Author |
Message
|
james_m |
Posted: Tue Nov 04, 2014 11:02 pm Post subject: Multi Instance switchover |
|
|
 Apprentice
Joined: 28 May 2007 Posts: 31
|
We have 2 Queue Managers A and B - running in Multi-Instance mode. There was a scenario recently that Queue Manager A switched to its standby node but QM B still running on its active node.
I am thinking to configure both QM's in such a way that if any of them eg. A fails/switch to standby node, the other one ie. QM B should also switch. In other words, every time multi-instance switch occurs, it should occur to both.
The reason is both QM's are dependent on each other.
Any ideas will be good. |
|
Back to top |
|
 |
exerk |
Posted: Wed Nov 05, 2014 12:25 am Post subject: Re: Multi Instance switchover |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
james_m wrote: |
We have 2 Queue Managers A and B - running in Multi-Instance mode. There was a scenario recently that Queue Manager A switched to its standby node but QM B still running on its active node.
I am thinking to configure both QM's in such a way that if any of them eg. A fails/switch to standby node, the other one ie. QM B should also switch. In other words, every time multi-instance switch occurs, it should occur to both. |
Why? Please justify why you want a temporary outage on two queue managers instead of just one.
james_m wrote: |
The reason is both QM's are dependent on each other. |
Most queue managers are. If I was to follow your argument through to its logical conclusion I would ask why does not an organisation have all queue managers on one server and not distributed across a number of servers, so that loss of a server and its queue manager does not impact the other 'dependent' queue managers? _________________ 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 |
|
 |
james_m |
Posted: Wed Nov 05, 2014 12:35 am Post subject: |
|
|
 Apprentice
Joined: 28 May 2007 Posts: 31
|
Node 1 Node 2
QM A (Active) QM A (Stand-By)
QM B - Broker (Active) QM B - Broker (Stand-by)
whenever QM A switches to Node 2 and QM A is running on Node 2 as a part of multiinstance failover, we need QM B as well to switch and run on Node 2 |
|
Back to top |
|
 |
exerk |
Posted: Wed Nov 05, 2014 1:06 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
james_m wrote: |
...whenever QM A switches to Node 2 and QM A is running on Node 2 as a part of multiinstance failover, we need QM B as well to switch and run on Node 2 |
You've stated a need (possible requirement), but not a justification...
SCENARIO
In an organisation there are n queue managers feeding a Broker queue manager.
QUESTION
the Broker queue manager is dependent on all n queue managers - do you put them all on one server because of that 'dependency'? _________________ 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 |
|
 |
smdavies99 |
Posted: Wed Nov 05, 2014 1:10 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Normally the starting/stopping of an active/passive setup is handled by another piece of software. for example MSCS on windows.
We use this all the time. The MSCS Software also fails over the SAN Disks that contain the QMGR etc files. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
james_m |
Posted: Wed Nov 05, 2014 1:26 am Post subject: |
|
|
 Apprentice
Joined: 28 May 2007 Posts: 31
|
We have only one QM i. (QM A) that will accept the message and pass it to Broker (QM B - Broker B) for further processing.
Both QM's are on same Node at the moment |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 05, 2014 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
james_m wrote: |
We have only one QM i. (QM A) that will accept the message and pass it to Broker (QM B - Broker B) for further processing. |
This still doesn't explain why you need them to fail over together. Why does it matter where they are running so long as they are still able to pass messages to each other, which is the essence of multi-instance?
Explain clearly why your set up only works if both queue managers are on their active nodes or both queue managers are on their passive nodes. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|