> Hi, in my current set up I am in a cluster environment and I have few CF 
> instances. Is there a way in this cluster environment to target particular 
> instance?

I'm not exactly sure what you mean. Do you want to execute a specific
request on a specific cluster member?

To support sticky sessions, you can force a request to use a specific
instance by appending a JSESSIONID to the URL where the first 4
characters of the JSESSIONID are the same as value for server.id in
the /SERVER-INF/connector.properties file.

Alternatively, you can provide HTTP access to the individual cluster
members separate from access to the cluster itself. Typically, I use
the JRun web server for this. I'll have that enabled for every cluster
member, and use IIS or Apache for the cluster itself. I think it's
possible to configure individual cluster members to use IIS or Apache,
then configure the cluster itself to use the same web server, but it's
not nearly as easy to do this in my opinion.

If, on the other hand, you simply want to identify which cluster
member is running the current request, you can include some code for
that:

http://stackoverflow.com/questions/830782/in-coldfusion-is-there-a-way-to-determine-what-server-the-code-is-running-on

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335108
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to