LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Heartbeat + LVS: need to reload config

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Heartbeat + LVS: need to reload config
From: "Tomas Hoger" <tomas.hoger@xxxxxxxxx>
Date: Tue, 26 Jun 2007 09:33:43 +0200
On 6/25/07, Chad Morland <cmorland@xxxxxxxxx> wrote:
> The problem is that ldirectord is not started by the usual init scripts, it
> is started by heartbeat. The instructions I followed to setup LVS +
> heartbeat had me specifically disable the /etc/init.d/ldirectord script from
> running due to heartbeat.

Reason for disabling /etc/init.d script is that you usually do not
want ldirectord to be started during system boot.  However, init.d
script only calls /usr/sbin/ldirectord.  And
/etc/ha.d/resource.d/ldirectord is symlink to /usr/sbin/ldirectord.

> # ps -ef |grep ldirectord
> root     15015     1  0 07:26 ?        00:00:13 /usr/bin/perl
> /etc/ha.d/resource.d/ldirectord ldirectord.cf start
>
> Passing the reload option to that script seems to have no effect.

Try with ldirectord ldirectord.cf reload.  It seems to make
difference, even if ldirectord.cf is default configuration file name.

After few quick tests it seems that reload may have some issues.  Some
changes performed in config file were not correctly propagated to ipvs
configuration...

th.


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