LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LDIRECTORD: Add external checktype

To: Roberto Nibali <ratz@xxxxxxxxxxxx>
Subject: Re: LDIRECTORD: Add external checktype
Cc: Roberto Nibali <rnibali@xxxxxxxxx>
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Thu, 26 Apr 2007 18:02:10 +0900
On Tue, Apr 24, 2007 at 08:47:37AM -0700, Roberto Nibali wrote:

[snip]

> Do we need a warning here, that all the calling of external scripts can
> be dangerous security-wise and hazardous runtime-wise? I've just been
> burnt a couple of times when I provided such functionality to former
> customers, who then at free will started creating script monstrosities.

I think we can leave it now. The execution times of tests is a general
problem. So if anything it should be generally be documented somehow.

[snip]

> I seem to be confused a bit at times: so in this checktype the return
> value of the function is 1 for non-failed health check and activated
> service and 0 otherwise? How about introducing enums {SERVICE_UP,
> SERVICE_DOWN} for legibility?

Good idea, I will make it so.

[snip]

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


<Prev in Thread] Current Thread [Next in Thread>