LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] keepalived: multiple declarations

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] keepalived: multiple declarations
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: Sat, 28 Jul 2007 13:16:53 -0400
If I have 20 real servers is there a way to simplify declaring these in
keepalived.conf.  In other words how can I get the same block of
information to apply to multiple real servers:

Currently:

        real_server 192.168.1.200 80 {
         ...
        }
        real_server 192.168.1.201 80 {
         ... same stuff
        }

Is there some way to do something like:

        real_server 192.168.1.200 80,
        real_server 192.168.1.201 80,
        real_server 192.168.1.202 80,
        real_server 192.168.1.203 80,
        real_server 192.168.1.204 80,
        real_server 192.168.1.205 80,
        real_server 192.168.1.206 80,
        real_server 192.168.1.207 80 {
          ... same stuff
        }





<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] keepalived: multiple declarations, Gerry Reno <=