• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

failover secondary

Hallo zusammen,

ich habe einen dhcp failover primary und secondary server eingerichtet. Der Secondary Server springt allerdings nicht automatisch ein sobald der primary Server ausfällt. Er merkt zwar das sein partner weg ist:

peer dhcp-failover: disconnected

Verteilt aber keine IPs:

DHCPREQUEST for 172.16.1.159 from 00:00:39:83:4f:a2 via eth0: not responding (recover wait)

Hier die Failover Section des Primary:


Code:
# Failover / Primary
failover peer "dhcp-failover" {
        primary;

        address 172.16.1.62;
        peer address 172.16.1.52;

        port 519;                     # listen on this TCP port
        peer port 519;                # connect to peer on this port

        max-response-delay 30;        # how many seconds to wait for answer from peer
        max-unacked-updates 10;       # how often to try to contact the failover peer
        load balance max seconds 3;   # a cutoff after which load balancing is disabled

        # options for primary server only:
        split 128;                    # load balancing threshold (should be 128)
        mclt 3600;                    # Maximum Client Lead Time
}

und hier die des Secondary:


Code:
failover peer "dhcp-failover" {
        secondary;

        address 172.16.1.52;
        peer address 172.16.1.62;

        port 519;                     # listen on this TCP port
        peer port 519;                # connect to peer on this port

        max-response-delay 30;        # how many seconds to wait for answer from peer
        max-unacked-updates 10;       # how often to try to contact the failover peer
        load balance max seconds 3;   # a cutoff after which load balancing is disabled

}

MfG
Marcus
 
Oben