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/

Reply via email to