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 » IBM MQ Installation/Configuration Support » Load Balancing with JMS

Post new topic  Reply to topic
 Load Balancing with JMS « View previous topic :: View next topic » 
Author Message
jrjoe
PostPosted: Tue Jul 20, 2004 9:36 am    Post subject: Load Balancing with JMS Reply with quote

Acolyte

Joined: 20 Jan 2003
Posts: 60

Need some help....

I have 2 servers (AIX) that are load balanced both are running WAS and each has a QMGR.
The WAS application will do a JMS request/reply using OpenLDAP to do the JNDI lookup for the QMgr and Queue.
What I was wondering is how can I insure that if the app is running on server 1 it uses Qmgr 1 and if the app is load balance to server2 it uses Qmgr 2.

Do I need to setup a Client Table ? If so how do I go about doing this?

Are there other options ?

Thanks in advance for any advice regarding this.
Joe
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri Jul 30, 2004 9:54 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well first problem is all the MQ Java doesnt support Client tables.

I dont quite understand your needs here

Are the WAS boxs seperate from the 2 qmgr boxes ???
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Jul 31, 2004 7:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you were using the WAS JNDI service, instead of OpenLDAP, then you wouldn't have to worry about this. You could configure the JNDI resources at the server level to be specific to each server, and the app would retrieve the right value in the right context.

Or have you configured the WAS JNDI service to store stuff in OpenLDAP?

You could always set a deployment property (that is, put the server name in a properties file for your application) and include that in the JNDI name of the resource you are looking up.

Or use a resource reference instead of a direct JNDI resource, and change that as part of the deployment process.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Load Balancing with JMS
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.