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 - [email protected]
Send requests to [email protected]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to