I know at TQ, the clustering config used to attach a s1,s2 etc
variable in the url scope automatically.. not sure on how that will
translate but the concept applies.

If you feed off the one file source, then in each instance you have
you could define a mapping that points to a file

yourdomain/whoami/index.cfm

then yoursetup would be

s1
/whoami = /s1/index.cfm

s2
/whoami = /s2/index.cfm

its dodge but if the below doesn't work that could..

bah i'm out of my depth on this one.


On 4/20/05, Jason Sheedy <[EMAIL PROTECTED]> wrote:
> Hi Duncan,
> you could use the following code to tell which server you're on.
> 
> <cfobject action="create" type="java" class="jrunx.kernel.JRun" name="jr">
> <cfset servername = jr.getServerName()>
> 
> --
> Jason Sheedy
> www.jmpj.net
> 
> 
> On 4/20/05, Duncan <[EMAIL PROTECTED]> wrote:
> > Say you have 2 instances in a cluster, one of them goes kaput for
> > whatever reason, and the other starts to take all the traffic. Great,
> > site still up and everyone is happy.
> > How on earth do we tell when an instance goes down? How do we tell
> > which one to restart? Is there a way to tell which instance of a
> > server in a cluster you are currently looking at when using an app?
> > TIA!
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to