Posted: Tue Jul 20, 2004 9:36 am Post subject: Load Balancing with JMS
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
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.
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