[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-virtual-server
Subject: Re: [lvs-users] keepalived: can it be used in cloud environment?
From: Siim_Põder <siim () p6drad-teel ! net>
Date: 2010-01-14 7:59:59
Message-ID: 4B4ECEFF.40405 () p6drad-teel ! net
[Download RAW message or body]
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@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic