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
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
  • 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
  • 606
  • 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
1 answer

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
  • 601
  • 1
  • 7
  • 14
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
  • 601
  • 1
  • 7
  • 14
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
1
vote
1 answer

"nfsd peername failed" but NFSv4 service functions

My current setup: 2 NFS servers sharing the same directory with identical content, 1 keepalived server as SLB (or rather for failover in this scenario), and 1 NFSv4 client mounting through VIP. All systems run CentOS 6 (2.6.32-573.26.1.el6.x86_64).…
yongtw123
  • 121
  • 1
  • 3
1
vote
2 answers

keepalived registers failure but won't failover

I'm running 2 keepalived servers that share a common IP (Server1 and Server2). Server1 is the master, and whenever haproxy dies, Server2 should take over. If Server1 comes back up, Server2 should release the vIP and let Server1 take over again. I've…
MadsRC
  • 13
  • 1
  • 3