Ucarp: Interface wird nicht gestartet
Hallo zusammen,
ich habe 2 Loadbalancer mit HAProxy aufgesetzt, die ich mit UCARP ausfallsicher machen möchte.
Nun habe ich ucarp nach dieser Anleitung: http://www.debian-administration.org/articles/678 konfiguriert.
Leider startet das ucarp Interface auf keinem der beiden Hosts. Wenn ich versuche das Interface manuell zu starten (ifup eth0:ucarp), erhalte ich folgende Fehlermeldung:
obwohl ich in der /etc/network/interfaces folgende Konfiguration stehen habe:
weiß jemand einen Rat? Danke für die Hilfe und Grüße!
Berthold
ich habe 2 Loadbalancer mit HAProxy aufgesetzt, die ich mit UCARP ausfallsicher machen möchte.
Nun habe ich ucarp nach dieser Anleitung: http://www.debian-administration.org/articles/678 konfiguriert.
Leider startet das ucarp Interface auf keinem der beiden Hosts. Wenn ich versuche das Interface manuell zu starten (ifup eth0:ucarp), erhalte ich folgende Fehlermeldung:
root@***:~# ifup eth0:ucarp
Missing required variable: address
Missing required configuration variables for interface eth0:ucarp/inet.
Failed to bring up eth0:ucarp.
obwohl ich in der /etc/network/interfaces folgende Konfiguration stehen habe:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.10.20.15
mask 255.255.255.0
gateway 10.10.20.2
# UCARP Setup
# vid : The ID of the virtual server [1-255]
ucarp-vid 3
# vip : The virtual address
ucarp-vip 10.10.20.25
# password : A password used to encrypt Carp communications
ucarp-password secret
# advskew : Advertisement skew [1-255]
ucarp-advskew 1
# advbase : Interval in seconds that advertisements will occur
ucarp-advbase 1
# master : determine if this server is the master
ucarp-master yes
# The carp network interface, on top of eth1
iface eth0:ucarp inet static
address 10.10.20.25
netmask 255.255.255.0
weiß jemand einen Rat? Danke für die Hilfe und Grüße!
Berthold
Please also mark the comments that contributed to the solution of the article
Content-ID: 222409
Url: https://administrator.de/forum/ucarp-interface-wird-nicht-gestartet-222409.html
Printed on: January 19, 2025 at 00:01 o'clock
1 Comment