|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Dynamic MQSERVER Variable ? |
« View previous topic :: View next topic » |
Author |
Message
|
DJGoodrich |
Posted: Tue Dec 21, 2004 1:20 pm Post subject: Dynamic MQSERVER Variable ? |
|
|
Apprentice
Joined: 12 Dec 2001 Posts: 30 Location: SW Florida
|
The client application environment, and proposed design, looks to make use of defining the MQSERVER environment variable in some sort of dynamic manner, if possible.
The users will log in via Citrix, to any one of a number of Windows 2003 servers, with Citrix load-balancing the incoming requests across the available servers in the defined zones. The subsequent WMQ client application needs to connect to a gateway queue manager via a SVRCONN channel.
We are looking to define a unique SVRCONN channel for each user location. The reason being, there are presently 50+ locations, each with their own users and ultimately their own DB instance.
Given the Citrix environment, UserA from Location1 may be attached to Server1, and UserB may be attached to Server2. UserC from Location2 can go to Server1, and so on, and so on. Each time a user logs in, the Citrix farm manager, will decide to which server it will be assigned. The assignment will most likely change each time a user logs in, so a single MQSERVER variable setting at the server environment level will not work in this case.
The WMQ client code is being developed in VB, due to the requirement of haveing a single adater into WMQ from both PowerBuilder and VB applications.
Thoughts? Suggestions?
Thanx in Advance,
dean |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 21, 2004 1:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
DJGoodrich wrote: |
The users will log in via Citrix, to any one of a number of Windows 2003 servers, with Citrix load-balancing the incoming requests across the available servers in the defined zones. The subsequent WMQ client application needs to connect to a gateway queue manager via a SVRCONN channel. |
Is there an environment variable that gets set as to which CITRIX server you are connected ? (As in being set by some host connection script)
It would need to point to the host you are actually connected to,
not to the farm gateway...
Now if there is a kind of rule as to derive channel and host from that environment you can run a script that sets MQSeries variable using the information provided by the environment.....
Enjoy  |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Dec 21, 2004 1:35 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Have you look into enabling CHAD (Channel Automatic Definition)? It's not very secure but it may solve your problem.
Either that or you could create an AMQCHLCL.TAB file for each user but that would be rather work intensive.
I'm not real familiar with Citrix but I thought I would toss those ideas out there. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 21, 2004 1:47 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Do I understand it correctly, that you want the MQSERVER to be constant, but different, for each user,regardless of which Citrix server they are connected to?
That is, User1 always connects to QMA over Channel X.Y.Z and User2 always connects to QMB over Channel A.B.C?
Then set MQServer in the User Environment Variables section, either with a login script or in Citrix. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Tue Dec 21, 2004 1:56 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|