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
0
votes
1 answer

Can I use virtual IP in EC2 VPC?

I'm trying to get keepalived working in Amazon's EC2 VPC. But I cannot. Is it possible to use virtual IP in EC2 VPC? Or how can I use keepalived in EC2 VPC?
Sato
  • 419
  • 1
  • 7
  • 17
0
votes
1 answer

Keepalived: Highest weight only scheduling

I have a keepalived setup with three servers behind an ip. One is setup as a sorry server and only serves the maintenance pages, the other two are actual app servers. We would like it setup so that traffic only routes to the one server until it goes…
R. S.
  • 1,624
  • 12
  • 19
0
votes
1 answer

Keepalived in ring architecture, or other better approach

I have three load balancer (LB1, LB2, LB3) and plan to use ring architecture for active-active setup, e.g. LB1 LB2 LB3 IP1 IP2 IP3 Idea as below: If LB1 failed, IP1 will be floated to IP2 If LB2 failed, IP2 will be floated to IP3 If…
Howard
  • 2,005
  • 11
  • 47
  • 70
0
votes
3 answers

keepalived not starting and complaining about not set virtual id

I installed on a ubuntu 12.10 server the keepalived package and configured it, but it complains later in the syslog, that a virtual id must be set Keep alive configuration # Define the script used to check if haproxy is still working vrrp_script…
mlaug
  • 202
  • 1
  • 4
  • 12
0
votes
2 answers

Is it not possible to use keepalived in EC2

The problem is two of my EC2 instances (ha proxy) need to bind a single virtual IP if I want to use keepalived, but they are not possible in EC2 as only a single instance can use a elastic IP at a given time, so it is not possible, right?
0
votes
1 answer

keepalived doesn't listen on virtual IP

I'm learning to use keepalived; for now within a single machine - just to make sure the forwarding works. I've started a mock webserver listening on 192.168.56.200:8080. It just replies with the hostname. $ curl…
jkff
  • 293
  • 5
  • 10
0
votes
1 answer

Is there a way to tell keepalived to make a health check immediately?

We have a high-availability setup in which lvs distributes requests between a set of backend servers ('realservers' in LVS-speak). LVS is managed by keepalived. Each realserver exposes a health check resource over HTTP (basically, if you say GET…
Tom Anderson
  • 387
  • 1
  • 11
0
votes
1 answer

Keepalived configuration - To set MASTER/BACKUP or EQUAL

Now this is something which has been on my mind since I started stetting up our load balancers. Would you use the MASTER/BACKUP configurations for keepalived if both your HAProxy servers were the same hardware specs? Or, would you use the EQUAL…
fenneh
  • 88
  • 9
0
votes
1 answer

How to configuration keepalived on Amazon EC2?

I rad some article. Keepalived over GRE tunnel for failover on VPS environment http://blog.killtheradio.net/how-tos/keepalived-haproxy-and-failover-on-the-cloud-or-any-vps-without-multicast/ but, I don't know how to configuration? and How to call…
oeegee
  • 1
  • 2
0
votes
0 answers

Keepalived - Master is set on both sides

Describe the bug I'm trying to create a Master Slave setup, but the Master is set in both sides. I'm seeing to many messages like this on keepalived.log Aug 5 21:00:03 CENVLIFEPROXB Keepalived_vrrp[3983]: (VI_1) Received advert from 10.200.6.22…
0
votes
0 answers

Keepalived - received an unexpected ip number count 0, expected 1!

Describe the bug I'm getting to many errors like this in keepalived.log Aug 5 20:53:37 CENVLIFEPROXB Keepalived_vrrp[3983]: (VI_1) received an unexpected ip number count 0, expected 1! Keepalived version 2.2.4 Output of keepalived -v Keepalived…
0
votes
1 answer

How to configure Keepalived Virtual IP?

I've been researching about Keepalived Virtual IP to make ProxySQL/MaxScale highly available and came across the concept of Virtual IP. All the articles that I've read just mentions a random Virtual IP directly but in no place I was able to find out…
0
votes
0 answers

how to config Keepalived for external user

I saw many documents about Keepalived that just told me how to set it accessible in the same network, and how to configure it to be accessed globally? Let's say I have bought two EC2 in AWS. They have different IPs and may not be in the same…
0
votes
1 answer

Can keepalived have one virtual IPv4 address shared between 2 nodes with IPv6 addresses?

I'm in an environment with a serious lack of IPv4 addresses, but a whole lot of IPv6 addresses. I have all sorts of nice services going on on IPv6, among them MySQL replication. Now, I just want the 2 servers to have a single IPv4-address that can…
Oleg
  • 343
  • 1
  • 6
  • 16
0
votes
1 answer

Keepalived going split brain when Firewalld is running

I'm using keepalived to provide availability between two Alma 8 Nginx servers (hosted on VMWare if that's of any relevance). When firewalld is enabled, despite a rich rule being set for VRRP, when I bring firewalld up both hosts start to respond on…