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
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
  • 1
  • 5
  • 15
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
  • 4
  • 12
  • 35
1
vote
0 answers

HAProxy 1.7 Config Check

I hope you can help. I currently have haproxy 1.7.9 compiled with Tproxy on centos 7. This is used to load balance 6 proxy servers for internet access on the back end. It is setup as a one arm nat with a 10gb vmnet3 nic. The 6 proxy servers are…
Rebus
  • 86
  • 8
1
vote
1 answer

Cannot reach keepalived VIP from other machines in the same network

I am working in bare metal environment trying to setup HA loadbalancing using keepalived. When I try to ping the VIP which I given in keepalived config file from other machines in the same network its not reachable, but when I stop keepalived in one…
1
vote
0 answers

MySQL HA+LB: Keepalived+HAProxy vs Keepalived alone

Scenario For my application, I'd like to have highly available MySQL/MariaDB setup. I find the Galera Cluster to be interesting in this case because of automatic data redundancy and immediate availability. My goals are this: Hide cluster complexity…
1
vote
1 answer

Active / Passive HA Proxy : Floating IP not "floating"

I am setting up HA Proxy in Active/Passive mode. haproxy-a : 172.29.240.172 haproxy-b : 172.29.240.173 Floating IP (VIP) : 172.29.240.188 Before any config : [root@haproxy-a/b ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3…
Jason Stanley
  • 185
  • 1
  • 1
  • 11
1
vote
1 answer

HAProxy don't balancing requests between nodes of Galera cluster

I stuck with the problem with balancing requests from app server to Galera cluster nodes. The strukture of HA is node1 10.62.10.35 (HAProxy + Keepalived) Master node1 10.62.10.36 (HAProxy + Keepalived) Backup node1 10.62.10.37 (HAProxy + Keepalived)…
1
vote
1 answer

Keepalived can't bind to vip and no error report

I need your help.My keepalived can't bind to vip,and i couldn't find any error.This is my log in /var/log/message.By the way,I use Centos6.5 [vagrant@director1 ~]$ sudo tail /var/log/messages May 26 09:35:53 director1 Keepalived_vrrp[14272]:…
willcream
  • 13
  • 4
1
vote
0 answers

Does keepalived work with team driver?

I am trying to configure keepalived on RHEL's team driver. http://rhelblog.redhat.com/2014/06/23/team-driver/ My keepalived instance is recognizing MASTER and BACKUP but virtual ip is not created on team interface. Below is keepalived…
Yu Watanabe
  • 616
  • 2
  • 8
  • 18
1
vote
0 answers

Keepalived sends both unicast and multicast VRRP advertisements

I have three clusters of keepalived servers, two instances in each cluster, each cluster with a unique VIP and Router Id. Two of them are working fine using unicast VRRP advertisements, but one of them...isn't. So, we'll say for the sake of this…
1
vote
1 answer

keepalived: adjusting timeout for VRRP advert packets

I have a master server and a backup server that share a floating IP use keepalived for failover. I haven't explicitly defined any health checks, so I assume that the backup server grabs the floating IP and transitions to master status whenever it…
prolibertas
  • 113
  • 1
  • 1
  • 4
1
vote
2 answers

What does mean EQUAL state of keepalived config?

I faced with new for me, unknown value of "state" variable - "EQUAL". Be more specific: vrrp_script chk_master { script "/var//scripts/cmaster.sh" timeout 25 interval 30 weight -120 } vrrp_instance VI { interface eth0 …
user391348
1
vote
1 answer

keepalived BACKUP transitions to MASTER for no apparent reason

For testing purposes, I have brought up 2 Debian jessie VMs (using vagrant and virtualbox) and had them both running a mini web server and configures with keepalived. The problem is that the BACKUP server transitions a few seconds after service…
Tom Klino
  • 621
  • 1
  • 8
  • 15
1
vote
1 answer

keepalived does not bind VIP

I'm trying to get keepalived working between 2 debian jessie VMs. I've defined the master machine to bind the VIP address to 172.128.28.6 as such: global_defs { lvs_id tom_lvs } vrrp_instace tom_lvs { state MASTER interface…
Tom Klino
  • 621
  • 1
  • 8
  • 15
1
vote
1 answer

Unable to connect to mysql DB through my HA Proxy Servers [Keepalived is used for Virtual IP-VIP]

I have my HAProxy running on VIP:192.168.61.32, also I've checked netstat -tulnp|grep 3306 tcp 0 0 192.168.61.32:3306 0.0.0.0:* LISTEN 7895/haproxy But when I run mysql -h 192.168.61.32 -u root -p: ERROR 2013 (HY000): Lost…
karthik v
  • 191
  • 2
  • 9