Author |
Message
|
hwv |
Posted: Mon Aug 24, 2009 4:18 am Post subject: z/Os to AIX QM-Cluster High Availability |
|
|
Novice
Joined: 03 Jun 2005 Posts: 19
|
To accomplish a High Availability solution for a specific application whe built the following scenario:
A web server puts a request via a server connection channel and layer 7 switch to a AIX queuemanager cluster and waits for a reply from application X:
The layer 7 connects to the left machine unless it's down - then it will connect to the right machine. So MQXCG1 is the standard gateway Qm and MQXG2 is its fallback.
Application X is running on both machines. It's using clustered queues. This is working quite well.
Now we want to build another scenario for another application:
The requesting application is an IMS transaction running on z/Os. The replying application is on AIX and distributed on two machines. Unfortunately there exists no client on z/Os. So I have to use a Qm to Qm connection with sender and receiver channels instead of server connection channels. But as far as I know, these kinds of channels can't be switched by a layer 7 switch.
Does anybody know if there is a solution for connecting a z/Os Queuemanager or Queue Sharing Group to a AIX Queuemanager Cluster and achieving High Availability?
Hope s.o. can help
Heinz-Willi Vonhoegen |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Aug 24, 2009 4:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
The replying application is on AIX and distributed on two machines |
If you use a MQ Cluster here too, why do you need an additional instance for "switching" ? the MQ Cluster will deliver to one or both destinations, whatever is available (depends on your configuration and cluster workload balancing).
Another possibilitiy could be an AIX Hardware Cluster ... HACMP or however it is called? but i am not familiar with that..... _________________ Regards, Butcher |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 24, 2009 4:36 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You could put in an HACMP AIX-based queue manager, and use that as the gateway to the cluster, including your SVRCONN connection rather than using a switch. And if I'm interpreting your diagram correctly, you don't have HA, you have load balancing - I'm assuming the queue managers shown are 'local' to each server, lose a server you lose half your cluster. _________________ 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 |
|
 |
PeterPotkay |
Posted: Mon Aug 24, 2009 4:54 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Just add the z/OS QM into the MQ cluster that contains the AIX QMs. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 24, 2009 5:20 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
PeterPotkay wrote: |
Just add the z/OS QM into the MQ cluster that contains the AIX QMs. |
Is of course the other obvious answer  _________________ 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 |
|
 |
hwv |
Posted: Mon Aug 24, 2009 5:44 am Post subject: |
|
|
Novice
Joined: 03 Jun 2005 Posts: 19
|
Thank you for your suggestions.
PeterPotkay wrote: |
Just add the z/OS QM into the MQ cluster that contains the AIX QMs. |
Sounds good. I think, we give it a try.
hwv |
|
Back to top |
|
 |
zpat |
Posted: Mon Aug 24, 2009 5:49 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I don't see why you can't switch QM channels, they are really much the same as client channels in technology terms. |
|
Back to top |
|
 |
hwv |
Posted: Mon Aug 24, 2009 6:04 am Post subject: |
|
|
Novice
Joined: 03 Jun 2005 Posts: 19
|
zpat wrote: |
I don't see why you can't switch QM channels, they are really much the same as client channels in technology terms. |
With QM to QM Sender/Receiver Channels I have to define a Remote Queue Definition. In there I have to define explicitly the Remote Qmgr Name. But I don't know which of both possible receiver queumanagers is up.
hwv |
|
Back to top |
|
 |
zpat |
Posted: Mon Aug 24, 2009 7:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Unless the same queue manager name was running on both?
When you connect as a client, don't you specify a QM name? |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 24, 2009 7:11 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
When you connect as a client, don't you specify a QM name? |
Wildcards, or blank, can be used... _________________ 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 |
|
 |
bruce2359 |
Posted: Mon Aug 24, 2009 7:18 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Does anybody know if there is a solution for connecting a z/Os Queuemanager or Queue Sharing Group to a AIX Queuemanager Cluster and achieving High Availability |
?
For clarity:
Queue Sharing Groups (QSGs) are a z/OS implementation. Only authorized z/OS qmgrs can be part of a QSG. Only authorized z/OS qmgrs can access Shared Queues in the CF.
z/OS qmgrs can be part of a cluster with qmgrs on Win/UNIX. Win/UNIX qmgrs can not be part of a QSG. _________________ 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 |
|
 |
hwv |
Posted: Mon Aug 24, 2009 7:41 am Post subject: |
|
|
Novice
Joined: 03 Jun 2005 Posts: 19
|
bruce2359 wrote: |
Only authorized z/OS qmgrs can access Shared Queues in the CF. |
I haven't yet built or tested it. But if I don't misunderstand the documentation it says that one can put a message on a clustered Queue which also can be a shared queue of a z/Os queue sharing group (it's like a remote queue for the non z/Os cluster qm). But, as you said, the queue is not shared in the cluster, so you can't get a message from it when you are connecting to a queuemanager which is in the cluster, but not in the queue sharing group.
hwv |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Aug 24, 2009 8:39 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Yes: a message can be put to a shared queue. A shared queue is a special kind of local queue in that its definition and messages are propogated to the CF by the z/OS qmgr where the message arrived or was created. So, a Win app can put a message to a clustered queue that is a shared queue.
Yes, but: ALL GETS ARE LOCAL to the qmgr where the ap is running, WMQ does not support remote gets. _________________ 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: Mon Aug 24, 2009 9:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Yes, but: ALL GETS ARE LOCAL to the qmgr where the ap is running, WMQ does not support remote gets. |
But what queues are local varies a bit if you're on z/OS and using queue sharing. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 24, 2009 10:00 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
...But what queues are local varies a bit if you're on z/OS and using queue sharing. |
Varies, or becomes abstract? _________________ 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 |
|
 |
|