No need to write a custom program...all you need is an uptime monitor that can fire an external executable, like What's Up, and a program that will modify a registry key when the service you are monitoring goes down...like this one from the Resource Kit. http://www.mkssoftware.com/docs/man1/registry.1.asp
-- jon mailto:[EMAIL PROTECTED] Tuesday, June 24, 2003, 4:23:07 PM, you wrote: a> wow - thank you all so much for the useful info. I do like the idea of the a> external app. I wonder if an app like that could be used for load a> balancing - but of course my VB and C++ skills suck. a> Cheers a> Richard a> ----- Original Message ----- a> From: "Jim McAtee" <[EMAIL PROTECTED]> a> To: "CF-Talk" <[EMAIL PROTECTED]> a> Sent: Tuesday, June 24, 2003 1:13 PM a> Subject: Re: Database Availability >> Assuming you're using an ODBC datasource... How about an external a> application >> this is constantly checking the availability of the databases in question, a> and >> modifies the ODBC DSN to point at a working one? >> >> >> ----- Original Message ----- >> From: "admin" <[EMAIL PROTECTED]> >> To: "CF-Talk" <[EMAIL PROTECTED]> >> Sent: Tuesday, June 24, 2003 1:33 PM >> Subject: Database Availability >> >> >> > I hope that this isn't a stipid question but I'm sure it must have been a> asked >> before. >> > >> > I have a two identical databases on different sql boxes. One primary and a> one >> back up. I would like to be able to do something like this in the >> application.cfm >> > >> > <cfif primary_available> >> > <cfset use_database="primary"> >> > <cfelseif Secondary_available> >> > <cfset use_database="secondary> >> > <cfelse> >> > .... no database available >> > </cfif> >> > >> > Any thought on how I can easily check to see which box is available. >> > >> > Cheers >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

