Questions tagged [keepalived]

an open source daemon that implements the VRRP standard.

The keepalived project is an open source implementation of the VRRP protocol as well as a configuration interface to the Linux ipvs framework. VRRP is based on Cisco's proprietary Hot Standby Router Protocol (HSRP) concepts. When these two portions of the application are used in concert, a pair of linux servers can be a stable, low-cost alternative to commercial load balancers.

Cisco has claimed that VRRP is protected under HSRP patents, so using keepalived is legally questionable.

233 questions
2
votes
0 answers

Wireguard don't work with VRRP

I try to use Wireguard on a firewall with VRRP (based on Keepalived). The firewall blocks all the communications except to the VRRP address on port 51820 and the valid established connections. Wireguard works well if I don't use VRRP. When I try to…
Dom
  • 6,628
  • 1
  • 19
  • 24
2
votes
1 answer

Proxy-Arp setup with Keepalived

I currently am trying to create a setup with N servers where 1 server is the master for a Virtual IP, and the (N-1) servers act as backups, presumably controlled by keepalived. However, one issue I see with keepalived is that its intention is to…
stoneman_41
  • 121
  • 1
1
vote
0 answers

Keepalived configuration for a budget cluster of 2 web server nodes on Linode

I am on a low budget - so I am running just 2 identical Linodes (Ubuntu 18.x). I don't plan to use Nodebalancer, since I need only one server to be up at a time. I have been able to successfully configure gluster and galera. Now it is time for…
1
vote
0 answers

HAPROXY wont start even with net.ipv4.ip_nonlocal_bind = 1

OK. This is a very old problem but with a relatively new OS. I'm running CentOS 6.10 on one server with KeepAliveD and HAPROXY and the same on two other CentOS 7.x servers. I've created an HA cluster between them. All servers have these…
1
vote
1 answer

Keepalived doesn't gain quorum when tracked process comes up

I'm using keepalived v2.0.19 on CentOS7 with a single vrrp instance tracking haproxy process presence. Unfortunately the vrrp instance never leaves the FAULT state after a restart of haproxy process Here is my config vrrp_track_process chk_service…
Fabien A.
  • 11
  • 2
1
vote
1 answer

monitoring keepalived with snmp

I am trying to monitor keepalived with snmp. Here are the relevant part of the config: /etc/snmp/snmp.conf # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can…
Max
  • 143
  • 6
1
vote
0 answers

Is it possible to establish two simultaneous keepalived VIPs to allow HAProxy load balanced HA via DNS round robin?

I'm currently investigating the use of HAProxy as a Load Balancer. I've found that the recommended configuration for HA of the HAProxy itself (not the backends) involves using keepalived to establish a VIP that both systems respond to. This means…
1
vote
0 answers

syslog udp load balancing and failover with keepalived

I have a simple two host graylog cluster for which i need to load balance udp syslog traffic, I'm using keepalived, floating ip and load balancing work perfectly, but it still directs traffic to all nodes even to those on which healthcheck failed, i…
maniel
  • 11
  • 1
1
vote
1 answer

Keepalived using direct routing on ipv6

I'm considering adding a keepalived load balancer to our infrastructure but I have some requirements which seem to be outside the normal configuration. All our servers have public IP addresses, both IPv4 and IPv6. Some servers only have IPv4…
user997904
  • 161
  • 3
1
vote
0 answers

Keepalived_vrrp issue

Configuration debian version 9.7 architecture ppc64 Issue I am running keepalived and i am encountering an issue with IPVS, here are the logs : Feb 16 17:02:35 srv Keepalived_vrrp[10109]: IPVS: No such file or directory Feb 16 17:02:35 srv…
Alrick
  • 143
  • 6
1
vote
0 answers

Conditional Takeover with Keepalived

Have a bit of an odd situation. I need to set up a singular VIP with keepalived that will bounce among machines as they fail/come down, etc. I have four total servers, each running a database application. The reason I need this setup is because the…
James
  • 111
  • 1
1
vote
1 answer

HA Squid with Keepalived

We're trying to setup two HA services: Explicit forwarding proxy using Squid (port 8080) SMTP relay to Office365 using Postfix For both setups we have 2 VM's with a default Debian 7 install, and I've configured keepalived with a vip on all…
1
vote
1 answer

How To enable KeepAlived

I have compiled and configured keepalived on my raspberry but it won't start. When I try systemctl enable keepalived I got error ------------------------------------------------------- root@haproxy:/etc/systemd/system# /etc/init.d/keepalived…
mrhmt
  • 13
  • 1
  • 5
1
vote
0 answers

Can you use peacemaker with keepalived as communication layer?

I'm new to HA topic and I'm trying to get some bigger picture here. I have 2 hosts that run few services - mostly nginx and NFS for other servers. My primary goal was to make nginx redundant. As I knew VRRP from networking equipment I decided to use…
Lapsio
  • 363
  • 3
  • 14
1
vote
0 answers

Spurious traffic hitting Keepalived

We use Keepalived (running on RHEL 7) to manage shared IP addresses on our 3 HAProxy servers. Each server has 2 interfaces, one with a public IP and one with a private IP. We are migrating from a pair of Kemp LoadMaster LM-3000 appliances. We…
yakatz
  • 1,213
  • 3
  • 12
  • 33