LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] [PATCH] [LDIECTORD] Remove stale entries on reload

To: Sebastian Vieira <sebvieira@xxxxxxxxx>
Subject: [lvs-users] [PATCH] [LDIECTORD] Remove stale entries on reload
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 5 Jul 2007 13:38:07 +0900
Call ld_start() on reload to flush out stale entires.

With thanks to Sebastian Vieira

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in     2007-07-05 12:56:45.000000000 
+0900
+++ heartbeat/ldirectord/ldirectord.in  2007-07-05 12:56:45.000000000 +0900
@@ -915,6 +915,7 @@ sub reread_config
                &ld_cmd_children("start", %START);
 
                &ld_setup();
+               &ld_start();
        };
        if ($@) {
                @VIRTUAL = @OLDVIRTUAL;


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