LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] keepalived: can it be used in cloud environment?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] keepalived: can it be used in cloud environment?
From: Siim Põder <siim@xxxxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 09:59:59 +0200
Hi

Gerry Reno wrote:
> Now the servers.d/ files could be generated/removed according to current 
> active instances and then if the keepalived daemon/server needed 
> restarting it would always have the current state for the real servers.

Right now you could just generate the whole keepalived.conf. You can
use a macro language or a script that will parse the "import path"
keywords and generate keepalived.conf from keepalived.tpl (or such).

for example, organize things such that the configuration is generated by:
m4 keepalived.tpl > keepalived.conf

then you can use this in keepalived.tpl:
include(`servers.d/service_name.conf')

But you are correct, the configuration language for keepalived could
be quite a bit better :)

Siim

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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