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
0
votes
0 answers

keepalived - received advertisement timeout

I'm trying to setup keepalived between two servers, this servers are in diferent DMZ's. I already open all necessary ports and the servers are communicating correctly beetween each other, but when i tried to start keepalived I get this meesage in…
0
votes
0 answers

keepalived Delayed start of track_script

I'm trying to add HA capabilities to our gateway to reach the IPv6 Internet by tunneling over existing IPv4 connection. I've been tweaking keepalived configuration for some time now and reached a point I haven't been able to pass. Found here someone…
elysch
  • 161
  • 1
  • 2
0
votes
0 answers

Keepalived load balancing traffic blocking on the OVN network

I have deployed OpenStack Yoga with OVN. Its a multi node HA setup. On OpenStack, I am testing Keepalived. Two Rocky Linux 8.7 instances were created, and Keepalived and Apache were installed for testing. VIP: 192.168.2.53 The issue is that the node…
0
votes
1 answer

Keepalived split brain issue

I have issue with keepalived on Oracle Linux 8. The VIP is assigned to both nodes and both nodes are in MASTER mode. My keepalived configuration is: Node 1 cat /etc/keepalived/keepalived.conf global_defs { vrrp_priority -20 checker_priority -19 …
zerozg
  • 1
0
votes
0 answers

persistence_timeout break the LB logic in Keepalived

In a DR mode load balancer configuration with ipvsadm + keepalived, persistence_timeout n value making unexpected issues. I have two real servers configured (web - port 80) for testing purpose. When I enable persistence_timeout with 2 or 7200,…
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…
Nandni
  • 1
  • 1
  • 1
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
  • 373
  • 1
  • 7
  • 17
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…
0
votes
1 answer

Keepalived: Transitioning to backup node not happening when check script on master server finds service is down for an applicaiton

I am trying to configure keepalived in such a way that if any application or service running on master node fails, keepalived should consider it as fault and backup node should act as master and take over the floating IP from master node. I have…
0
votes
0 answers

Keepalived won't forward traffic to BACKUP node after Kubernetes cluster setup

System Structure: 10.10.1.86: Kubernetes master node 10.10.1.87: Kubernetes worker 1 node; keepalived MASTER node 10.10.1.88: Kubernetes worker 2 node; keepalived BACKUP node 10.10.1.90: VIP, would load balance to .87 & .88; implemented by…
Kenting
  • 1
  • 1
0
votes
1 answer

keepalived delay before bringing ip up

Is it possible to configure a delay before bringing the virtual IP up in keepalived? Background: I have multiple Master/Master MySQL Setups. Only one Master is used at time. Keepalived is used for VIP that is used for mysql traffic. When the VIP is…
0
votes
1 answer

high availability with keepalived and nginx on ubuntu

I have two identical linux servers serving the same content through nginx. I want to have high availability through failover with keepalived, that is, server number 1 always serves the content of nginx whenever possible, if it crashes, server 2…
0
votes
1 answer

keepalived - "notifiy_master"/ "notify_backup" does not start/stop application

I want to start/stop a freeradius depending on the master (start) or the backup (stop) state of the keepalived instance. The freeradius is listening for accounting messages on the shared virtual ip. I tried to reach this with notify_master and…
ryudo
  • 1
  • 1
1 2 3
15
16