LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Graceful shutdown

To: thomas.kaiblinger@xxxxxxxxx,<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Graceful shutdown
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 19 Feb 2004 17:02:46 +0900
On Thu, Feb 19, 2004 at 08:57:00AM +0100, thomas.kaiblinger@xxxxxxxxx wrote:
> Hello everybody,
> 
> I am just implementing a proxy service with LVS. There I configured some 
> virtuell IP Addresses with real Services. Since I need to restart the real 
> services after some time, I would need an option to tell the ldirectord to 
> give 
> no new requests to one real server and to finish the requests that are on the 
> server to be restarted. 
> 
> Is there something to do exactly this?

Yes.

1. Modify the weights of the effected real servers to 0 in ldirectord.cf

2. send ldirectord a SIGHUP.

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