LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] include config

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] include config
From: Thomas Pedoussaut <thomas@xxxxxxxxxxxxxx>
Date: Wed, 16 Apr 2008 15:36:50 +0100
Bgs wrote:
>   Greetings,
>
>   How big of a feature request would it be to have 'include' in the main 
> config? We have an ever increasing number of VIPs and it would be muach 
> easier to manage them if I could move the virtual_server sections into 
> separate files.
>
>
>   This would only need a 'simple' sequential parse-as-you-go approach 
> and a one level is enough.
>   
I ran my own system with a makefile to agregate multiple conf files into 
one big keepalived.conf
[tpt@s1 ~]$ wc -l /etc/keepalived/keepalived.conf
362 /etc/keepalived/keepalived.conf

It's useful when you want to easily add services but the config is 
different between MASTER and BACKUP instances. There is the static 
portions, that are related to the machine, and the variables that are 
linked to a service, but identical between your directors.

-- 
Thomas


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