Re: Hopping messages across clusters
Randy, If you want to do this programmatically, all I could suggest is that you try a channel exit. I wrote one a while back that checked that the remote QM was available before sending the message, and diverting the message to another QM if it wasnt. This worked fine on NT, but when I tried it on Linux, on checking the transmission queue depth I always got 0!!, whereas on NT 0 as expected. It is still on the back burner awaiting re-ignition...This approach does require channel defs etc...so may not be what you want. regards Peter Crowder, Randall [EMAIL PROTECTED] LCITY.COM To: MQSERIES Sent by: MQSeries List [EMAIL PROTECTED] cc: Subject: Hopping messages across clusters 24-Feb-2003 20:56 Please respond to MQSeries List [EMAIL PROTECTED] Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Hopping messages across clusters
Peter, Thanks... That's an interesting suggestion. Likewise, thanks to all who have helped. I'm coming to the conclusion that there is no out of the box way to do it without creating some object definitions or coding something like an exit (or queue reader/writer on QM3). Thanks again, Randy -Original Message- From: Peter Cradwick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:35 AM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Randy, If you want to do this programmatically, all I could suggest is that you try a channel exit. I wrote one a while back that checked that the remote QM was available before sending the message, and diverting the message to another QM if it wasnt. This worked fine on NT, but when I tried it on Linux, on checking the transmission queue depth I always got 0!!, whereas on NT 0 as expected. It is still on the back burner awaiting re-ignition...This approach does require channel defs etc...so may not be what you want. regards Peter Crowder, Randall [EMAIL PROTECTED] LCITY.COM To: MQSERIES Sent by: MQSeries List [EMAIL PROTECTED] cc: Subject: Hopping messages across clusters 24-Feb-2003 20:56 Please respond to MQSeries List [EMAIL PROTECTED] Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Hopping messages across clusters
Neil, issue MQPUT(1) on QM8 or QM9 with the OD.QMgrName=MQ3 and OD.ObjectName=QC.LOCAL Unfortunately, this results in the message going to the dead letter queue on QM3. Good point about the replies. Thanks, Randy -Original Message- From: Neil Casey [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 7:43 PM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Hi, I think you should be able to issue MQPUT(1) on QM8 or QM9 with the OD.QMgrName=MQ3 and OD.ObjectName=QC.LOCAL. My recollection is that when the message reaches MQ3, it will be resolved by the cluster workload exit again, and will route on to QM1 or QM2. You will have problems with the reply messages however, because QM8 and QM9 are not visible in the first cluster. This needs to be resolved via cluster visible aliases and/or conventional channels for the return message path. There are lots of possible options for that topology. BTW, conventional channels for replies seem to be recommended by the performance gurus anyway, as they reduce messaging overheads, with generally no loss of function (because replies cannot usually be load balanced). Regards, Neil Casey. |-+-- | | Crowder, Randall | | | [EMAIL PROTECTED]| | | ALCITY.COM| | | Sent by: MQSeries List | | | [EMAIL PROTECTED]| | | T | | | | | | | | | 25/02/2003 08:32 | | | Please respond to | | | MQSeries List | | | | |-+-- --- ---| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: Hopping messages across clusters | --- ---| Bridgette, I want to use the cluster features for load balancing. Likewise, what I'm wondering is if there is a way to do it without creating any other object definitions. Creating queue remotes is still creating other object definitions. Thanks, Randy -Original Message- From: Beardsley, Bridgette [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Randy, Why not use a remote queue definition on QM9 that points to QC.LOCAL? -Bridgette Beardsley -Original Message- From: Crowder, Randall [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Hopping messages across clusters Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Hopping messages across clusters
Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Hopping messages across clusters
Randy, Why not use a remote queue definition on QM9 that points to QC.LOCAL? -Bridgette Beardsley -Original Message- From: Crowder, Randall [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Hopping messages across clusters Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Hopping messages across clusters
Bridgette, I want to use the cluster features for load balancing. Likewise, what I'm wondering is if there is a way to do it without creating any other object definitions. Creating queue remotes is still creating other object definitions. Thanks, Randy -Original Message- From: Beardsley, Bridgette [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Randy, Why not use a remote queue definition on QM9 that points to QC.LOCAL? -Bridgette Beardsley -Original Message- From: Crowder, Randall [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Hopping messages across clusters Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Hopping messages across clusters
Hi, I think you should be able to issue MQPUT(1) on QM8 or QM9 with the OD.QMgrName=MQ3 and OD.ObjectName=QC.LOCAL. My recollection is that when the message reaches MQ3, it will be resolved by the cluster workload exit again, and will route on to QM1 or QM2. You will have problems with the reply messages however, because QM8 and QM9 are not visible in the first cluster. This needs to be resolved via cluster visible aliases and/or conventional channels for the return message path. There are lots of possible options for that topology. BTW, conventional channels for replies seem to be recommended by the performance gurus anyway, as they reduce messaging overheads, with generally no loss of function (because replies cannot usually be load balanced). Regards, Neil Casey. |-+-- | | Crowder, Randall | | | [EMAIL PROTECTED]| | | ALCITY.COM| | | Sent by: MQSeries List | | | [EMAIL PROTECTED]| | | T | | | | | | | | | 25/02/2003 08:32 | | | Please respond to | | | MQSeries List | | | | |-+-- --| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: Hopping messages across clusters | --| Bridgette, I want to use the cluster features for load balancing. Likewise, what I'm wondering is if there is a way to do it without creating any other object definitions. Creating queue remotes is still creating other object definitions. Thanks, Randy -Original Message- From: Beardsley, Bridgette [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Randy, Why not use a remote queue definition on QM9 that points to QC.LOCAL? -Bridgette Beardsley -Original Message- From: Crowder, Randall [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Hopping messages across clusters Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
AW: Hopping messages across clusters
Randall, QM9 does not know about QC.LOCAL on QM1/QM2 because of the different cluster, so you can not put to QC.LOCAL. Using a remotequeue on QM9 (RNAME QC.LOCAL RQMGR QM1 for example) does not work because QM9 does not know about QM1 (different cluster) There is no way for QM9 to put to QC.LOCAL without additional definitions that are provided in cluster B (queues, qmgr alias, ) or defined in QM9 directly to make QM9 know the queue or the target queuemanager. Either make QM9 a member of cluster A, or use QM3 as a gateway to Cluster A. Regards, Stefan -Ursprüngliche Nachricht- Von: Crowder, Randall [mailto:[EMAIL PROTECTED] Gesendet: Montag, 24. Februar 2003 22:32 An: [EMAIL PROTECTED] Betreff: Re: Hopping messages across clusters Bridgette, I want to use the cluster features for load balancing. Likewise, what I'm wondering is if there is a way to do it without creating any other object definitions. Creating queue remotes is still creating other object definitions. Thanks, Randy -Original Message- From: Beardsley, Bridgette [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Hopping messages across clusters Randy, Why not use a remote queue definition on QM9 that points to QC.LOCAL? -Bridgette Beardsley -Original Message- From: Crowder, Randall [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Hopping messages across clusters Intercommunication Gurus!!! I have the following setup - two overlapping clusters A and B. --- Cluster A | QM1 | QC.LOCAL - Local to QM1, shared in Cluster A | QM2 | QC.LOCAL - Local to QM2, shared in Cluster A |-| | | QM3 | | QC.LOCAL.ALIAS - Alias on QM3, shared in Cluster B |-|- | QM8 | | QM9 | |-- Cluster B In this example. QM3 is the only queue manager that is a part of both clusters. What I'm trying to figure out is how a program connected to QM9 can put messages to QC.LOCAL on QM1/QM2. So far, the only thing I've been able to get working is to create an alias for QC.LOCAL on QM3 and make the alias a part of Cluster B. Is there another way? I'd like to be able to do it programmatically - where I wouldn't have to create the alias definition on QM3... Thanks for any assistance. Randy C. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive