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.

239 questions
2
votes
0 answers

Keepalived forwarding UDP traffic to one node via NAT

I am having issues with load balancing UDP Syslog to my Graylog cluster nodes. At first everything seemed to work normal but it seems that traffic is flowing for 99% to one of the two nodes. I have two Ubuntu servers (18.04) running Keepalived…
Robert
  • 121
  • 6
2
votes
1 answer

IPVS (keepalived) doesn't balance UDP connections

I have two load balancer with Debian 8 and three Graylog server with Debian 9. Every server in my network sends logs via rsyslog to a virtual server configured on the LB. The connection is UDP. The problem is that the packets are not balanced. (all…
mirobertod
  • 131
  • 1
  • 3
2
votes
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
  • 23
  • 1
  • 5
2
votes
2 answers

Why am i encoutering a split brain issue in keepalived?

When I start my BACKUP keepalived instance it also assumes the MASTER State as you can see below: Mar 28 02:38:05 localhost Keepalived_vrrp[23527]: VRRP_Instance(VI_01) Entering BACKUP STATE Mar 28 02:38:05 localhost Keepalived_vrrp[23527]: VRRP…
kaizenCoder
  • 343
  • 2
  • 8
  • 22
2
votes
1 answer

High availability load balancing for cold standby with automatic service startup

I'm trying to set up a high availability cluster in AWS for an application that I'm running. The application is on an EC2 instance which sits in front of an Oracle RDS. If I use traditional load balancing and have two instances running at the same…
2
votes
1 answer

keepalived - How do you define multilpe VRRP instances on same interface?

I am in a situation where I need to set 2 VRRP instances on same interface. I need to achieve this because rsyslogd and elasticsearch needs to use interface eth0 for network communication. This post seemed to be a similar one did not mention about…
Yu Watanabe
  • 616
  • 2
  • 8
  • 18
2
votes
0 answers

Keepalived with EC2 Elastic IP

I've tried once to use Keepalived with EC2 Elastic IP failover but default Keepalived configuration was unstable as IP address begin to flapping due to switchover delays and doesn't come back to MASTER in case of any network or API related…
2
votes
1 answer

LVS DNS load balancing on machine with only 1 NIC

First of all let me clarify that I am just a software developer not an admin, thus I have some knowledge (let's say a basic understanding of the concepts) regarding networking configuration as well as these types of setup, but I'm no ace, so please…
Morfic
  • 121
  • 5
2
votes
2 answers

KeepAlived on different subnets

I am trying to setup keepalived on ESXi based setup where 2 physical box have ESXi installed and each one having a node which works as load-balancer using HAProxy. Now in order to achieve high availability I want to use KeepAlived so both HAProxy…
deej
  • 148
  • 1
  • 8
2
votes
1 answer

Linux Virtual Server: NAT return path

I'm trying to set up a LVS load balancer in front of my Kubernetes: Calico is used as container network, so every pod has its own network interface in it's host. External IPs, routes and routing rules are manager using keepalived. Every subnet…
Wienczny
  • 1,123
  • 10
  • 13
2
votes
1 answer

How to share local IP within a cluster if server is bound to one IP?

I have a cluster with 3 nodes running in VMs on test setup. Now I want to take it to production and rented 3 dedicated root servers at Hetzner Online connected by a switch. As I found out, they do not offer anymore shared IP and instead bind a…
merlin
  • 2,093
  • 11
  • 39
  • 78
2
votes
0 answers

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with https://blog.logentries.com/2014/12/keepalived-and-haproxy-in-aws-an-exploratory-guide/ Trying to get keepalived…
chucky_z
  • 51
  • 4
2
votes
3 answers

Unable to start keepalived

I am trying to create load balancer using Virtual IP. I referred this link Load Balancer using Virtual IP. After configuring by mistake I started the backup server's keepalived service first and then I started master server's keepalived. The problem…
2
votes
1 answer

How would you set up multiple SSL terminating Haproxy instances, which are themselves load balanced?

I've been doing a great deal of research and experimentation on this, and I'm really running into a wall: I'm trying to set up HAProxy as the reverse proxy for a high-availability environment. All traffic going into and out of this environment is…
Decker
  • 123
  • 5
2
votes
2 answers

Keepalived: NAT VIP for internal network unused?

I'm building a proof-of-concept loadbalancer with CentOS 7 and keepalived. I took Red Hat's load balancer administration guide as a reference and implemented a NAT'ed loadbalancer with 2 nodes which carries traffic between a public and a private…
André Fernandes
  • 969
  • 1
  • 10
  • 25