ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Workload balancing using a single QMGR

Post new topic  Reply to topic
 Workload balancing using a single QMGR « View previous topic :: View next topic » 
Author Message
devita
PostPosted: Mon Aug 30, 2004 8:50 am    Post subject: Workload balancing using a single QMGR Reply with quote

Novice

Joined: 19 Jul 2001
Posts: 14

hello, we would like to replicate, for high availability scope, a crucial application that acts as a listener on a MQ queue. We wouldn't replicate the QMGR (it is sure and stable) but only the application and the relative input queue.
How can we spray the inbound traffic on the two different input queues? Have we to implement some custom algorithm in the external application that put messages in the queues?
Can we use some native MQ feature?

thanks in advance
best regards
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Aug 30, 2004 9:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you looked in the repository?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 30, 2004 11:40 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You think 2 queues on the same QM are going to give you High Availability?


_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 30, 2004 1:54 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If your question is about balancing out the volume from one queue over an application running on 2 different servers, you can use client connection and MDB's.

Though usually you would have the qmgr on the same machine as was because of the 2 phase commit, and other network interference....

Enjoy
Back to top
View user's profile Send private message Send e-mail
devita
PostPosted: Mon Aug 30, 2004 11:57 pm    Post subject: Workload balancing using a single QMGR Reply with quote

Novice

Joined: 19 Jul 2001
Posts: 14

The QMGR is MQ on z/OS and we don't use WebSphere on z/os, so we can't use MDB. The listener applications will be CICS java applications and we would replicate the CICS regions that host these listeners. Both the CICS regions are bound at the same QMGR.

thanks,
Ugo
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Aug 31, 2004 1:53 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You could still use an MDB like construct implementing the MessageListener interface. However for that you will need to use the JMS model and the JMS jars (should be delivered with WMQ). Don't need to run WAS on OS for that.

You can as well use base Java but it will restrict your portability.

I do not see much of a problem here as with 2 different regions on the same MF it should behave like with 2 different WAS on the same UNIX box.

However and if the different regions serve different purposes you might want to go as far as to use different qmgrs, one for each region.
Now every flavor in between exists as well: different queue, etc

Enjoy
Back to top
View user's profile Send private message Send e-mail
devita
PostPosted: Wed Sep 01, 2004 12:01 am    Post subject: Workload balancing using a single QMGR Reply with quote

Novice

Joined: 19 Jul 2001
Posts: 14

thanks for your response.
I have two issues:
1) Listener implementation: I have to implement my listener logic also in CICS regions that doesn't support JMS. In this case I'm thinking to use MDB on WAS and trigger CICS logic on CICS.
2) my major question regarding the spray capabilities on two queues in the same QMGR. If I wouldn't use a cluster approach (two Q on two QMGR in cluster) which other features could I use?

thank you
Ugo
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Workload balancing using a single QMGR
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.