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 » Dynamic MQSERVER Variable ?

Post new topic  Reply to topic
 Dynamic MQSERVER Variable ? « View previous topic :: View next topic » 
Author Message
DJGoodrich
PostPosted: Tue Dec 21, 2004 1:20 pm    Post subject: Dynamic MQSERVER Variable ? Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
fjb_saper
PostPosted: Tue Dec 21, 2004 1:32 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20700
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
View user's profile Send private message Send e-mail
csmith28
PostPosted: Tue Dec 21, 2004 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 21, 2004 1:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Tue Dec 21, 2004 1:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

or use MQCONNX
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Dynamic MQSERVER Variable ?
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.