Include config Files
Joseph Mack NA3T
jmack at wm7d.net
Thu Aug 10 14:10:31 BST 2006
On Wed, 9 Aug 2006, Simon Pearce wrote:
> The keepalived.conf is becoming extremly large so i was
> wondering is there a way of including addional config
> files for the virtual servers.
I don't think so, and the silence on the list, seems to
confirm that. Alexandre tends to work on keepalived in
spurts, with no much happening (at least as far as users can
see) for long periods in between. You might want to contact
Alexandre on the keepalived list or directly and see what he
says. I can't imagine it would be too hard to add an include
feature to the conf file, and it would be faster if you did
it yourself and sent in the patches than wait for Alexandre.
> Another question i was thinking about is there a way of
> grouping virtual server configs so that i could have more
> than one ip per virtual server config. Something like this
> i hope this makes sense.
Let's see if I understand what you want. You want clients to
ssh to an IP in 213.160.0.0/16 be forwarded to a realserver
at 192.168.1.2? If so, this is usually done with fwmarks.
See if keepalived supports fwmarks.
Joe
> virtual_server 213.160.x.x 22 {
> virtual_server 213.160.x.x 22
> delay_loop 30
> lb_algo rr
> lb_kind NAT
> protocol TCP
> ha_suspend
>
> real_server 192.168.1.2 22 {
> weight 1
> TCP_CHECK {
> connect_timeout 3
> connect_port 22
> }
>
>
> Regards Simon
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
Search lvs-users Archives
More information about the lvs-users
mailing list