Questions tagged [keepalived]

an open source daemon that implements the VRRP standard.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

How to verify backend servers are reachable as part of keepalived health check?

I'm currently configuring a high availability setup using Keepalived to manage failover between Nginx servers. As part of this setup, I need to implement a health check script to verify that Nginx is ...
Tmanok's user avatar
  • 197
0 votes
1 answer
57 views

HAproxy with Keepalived not behaving as expected

I have two servers in a public subnet with both public and private IPs. I want to configure HAproxy with keepalived and make server1 act as the master and server2 as backup. If server1 goes down, I ...
Mervin Hemaraju's user avatar
0 votes
0 answers
20 views

Keepalived pidof error

I have configured keepalived on 2 Ubuntu 22.04 machines and it all seems to be working. But in the status (systemctl status keepalived.service) I see some lines which concern me. Feb 28 09:36:28 host ...
Ronald's user avatar
  • 1
0 votes
0 answers
84 views

Keepalived VIP with WireGuard VPN

When WireGuard and KeepAlived are configured, VIP Switches between VPNs. There is a connection at address 10.0.0.X between the VPS, But when I try to contact via VIP I get an error. ChatGPT Advises ...
Cube Five's user avatar
-1 votes
1 answer
59 views

Accessibility Issue with HAProxy Load Balancer, VIP, and Keepalived Setup

I'm using 2 HAProxy servers with a Virtual IP (VIP) and Keepalived. While I can access the active HAProxy1 server, I face accessibility problems when HAProxy2 is active. How can I resolve the access ...
yasemin büsra sergen's user avatar
0 votes
0 answers
40 views

HA Cluster initialization issues

During the initialization of the very first control-plane-nodes (3 control-plane-nodes + 3 worker-nodes) I'm getting these errors : root@k8s-eu-1-control-plane-node-1:~# sudo kubeadm init --control-...
Raphael10's user avatar
  • 157
0 votes
0 answers
281 views

timed out waiting for the condition during Kubernetes Cluster Initialization with --control-plane-endpoint

Following the indications found here: https://github.com/kubernetes/kubeadm/blob/main/docs/ha-considerations.md#keepalived-and-haproxy I'm trying to initiate the very first control-plane-node , but I'...
Raphael10's user avatar
  • 157
0 votes
0 answers
113 views

Achieve Keepalived VRRP in public cloud using Strongswan IPSec

I am trying to setup VRRP failover for PostgreSQL using Keepalived Active-Passive mode in one of the public clouds. The known limitation of this cloud is it does not work with VRRP out of the box (...
Ilya Cherevkov's user avatar
0 votes
2 answers
122 views

KeepAlived and HAProxy VIP Appears Twice

Linux Distribution: CentOS 9 Stream Version of HA Proxy: HAProxy version 2.4.22-f8e3218 Version of KeepAlived: Keepalived v2.2.8 (04/04,2023 I'm protecting 2x HAProxy load-balancers using keepalived ...
Chelle-Belle's user avatar
0 votes
0 answers
95 views

On the keepalived Master, how would I configure a notification when the Backup fails

I want to run keepalived to manage an Active-Active pair of Linux servers. How do I set up a notification that can run when the keepalived Backup fails, which will allow the Master to take over the ...
mere3ortal's user avatar
0 votes
0 answers
70 views

keepalived - "broadcast storm" - failover - backup server freeze

I run a keepalived failover configuration. If a failover happens the backup server gets unresponsive (console & network) all the VIPs gets unresponsive too. When the master comes back the ...
Dave.'s user avatar
  • 1
0 votes
1 answer
301 views

Keepalived how to define VIPs that persist across reboots, on both master and backup nodes?

I'm trying to find a way to persits the keepalived virtual ips across the cluster, on master and backup nodes. By default, keepalived only activates the virtual ip, on the node that is playing the ...
Yonoss's user avatar
  • 137
0 votes
0 answers
76 views

Keepalived load balancing not working on Fedora 38 - 2 nodes(VMs) setup

I am trying to set up keepalived load balancing on a system setup composed of 2 fedora 38 VMs. I've already setup a VIP on these 2 machines, which works as expected. Now I am trying to set up load ...
Yonoss's user avatar
  • 137
0 votes
1 answer
430 views

How to configure Keepalived to act as L4 load balancer via direct routing method

Trying to achieve L4 load balancing via Keepalived in front of HAProxy that will act as L7 load balancer. Both Keepalived and HAProxy are on separate machines. I managed to get everything in the below ...
Mo Ali's user avatar
  • 101
0 votes
0 answers
572 views

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 ...
André Bolinhas's user avatar
0 votes
1 answer
627 views

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 ...
zerozg's user avatar
  • 1
1 vote
1 answer
1k views

keepalived with --log-file doesnt work

I have keepalived 2.0.19 running in Ubuntu 20.04. Trying to add the --log-file= option to DAEMON_ARGS in /etc/default/keepalived results in this. keepalived[454603]: -g requires configure option --...
Alexander Kolodziej's user avatar
1 vote
0 answers
462 views

Keepalived operation when interface has not yet acquired an IP address

I have an application that requires 2 servers to coordinate their service using keepalived running VRRP on a particular network where each has an interface. I want the VRRP traffic to be unicast and ...
Ajit's user avatar
  • 11
0 votes
0 answers
2k views

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[...
André Bolinhas's user avatar
0 votes
0 answers
1k views

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 ...
André Bolinhas's user avatar
0 votes
1 answer
5k views

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 ...
Nandni's user avatar
  • 1
1 vote
1 answer
3k views

KeepAlived service running but does not executes the check haproxy script

I have configured a failover load balancer, so that it acts as a backup whenever my primary goes down. So I have setup Keepalived that switches the floating virtual IP address to the other machine ...
Himanshuman's user avatar
1 vote
1 answer
697 views

IP forwarding with IPTables for lvs nat mode

I am learning about the L3 loadbalancers and now working on the keepalived NAT mode.The packet flow should be Client ------> L3(lvs DNAT)------> real servers and the return flow should be exact ...
chellathurai's user avatar
1 vote
0 answers
322 views

keepalived virtual and real server in different subnets

My goal is to forward the SMTP traffic from one unused server to another using keepalived. The problem is, that the other SMTP server is in different subnet. I have configured keepalive in the ...
spaceman117X's user avatar
0 votes
1 answer
711 views

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 ...
Oleg's user avatar
  • 413
0 votes
1 answer
4k views

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 ...
motorleague's user avatar
0 votes
1 answer
766 views

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 ...
Muhammad Munir's user avatar
1 vote
0 answers
368 views

On Debian system, keepalived is consuming full cpu usage on both kibana nodes

I have master/slave kibana machines on Debian 10. From few days, cpu usage of keepalived daemon on both nodes are reaching to 100%. After keepalived restart it goes to normal, and this loops forever. ...
Roushan Jha's user avatar
0 votes
0 answers
529 views

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 ...
ktc's user avatar
  • 101
3 votes
1 answer
1k views

Trying to use keepalived for failover and forwarding but getting "Keepalived_healthcheckers[1706]: TCP socket bind failed. Rescheduling."

The goal is to get two different CentOS 7 VMs with keepalived installed to perform failover with VIP 192.168.1.11 and also forward the http (to become https shortly after this works) traffic to a ...
user64's user avatar
  • 31
2 votes
1 answer
3k views

Something like VRRP/keepalived without MAC address impact? (RHEL 8) [closed]

I am looking to set up a cluster (of two systems) with a VIP, just what keepalived would do. In a different context, I already have keepalived working well. However, our network team told me not to ...
Kevin Keane's user avatar
0 votes
1 answer
2k views

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 ...
Mario Nette's user avatar
1 vote
0 answers
62 views

Is there a way to keep a service up at both MASTER and SLAVE with Keepalived?

I'm using a Red Hat 6.6 and my keepalived version is v1.2.7. I have configured two servers with keepalived and the failover is working as expected, nothing much about that. But I do have a service ...
Mtr's user avatar
  • 11
1 vote
0 answers
958 views

How to shutdown keepalived without releasing the VIP

Usually it is a good thing that when keepalived shuts down, it releases the virtual IP address (VIP) via VRRP and removes the address from the local interface so that other instances can take it over. ...
aef's user avatar
  • 1,755
1 vote
0 answers
472 views

Keepalived increasing slave/master promotion interval/timeout (advert_int) not working

I am trying to increase the default interval (advert_int) which triggers a slave to master promotion which seems to be 1 second by setting it on keepalived.conf to 3 seconds: vrrp_instance VI_1 { ...
enidvx's user avatar
  • 11
0 votes
1 answer
2k views

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 ...
Miguel Duque's user avatar
0 votes
1 answer
2k views

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 ...
ryudo's user avatar
  • 1
1 vote
0 answers
202 views

LVS not working

vip:10.110.23.239 real-server:10.110.23.141 lvs:10.110.23.134 I have deployed a spring-boot application on real-server(10.110.23.141) with port 18787, it can be accessed successfully on any server. ...
Janmean LEE's user avatar
2 votes
0 answers
1k views

Wireguard don't work with VRRP

I try to use Wireguard on a firewall with VRRP (based on Keepalived). The firewall blocks all the communications except to the VRRP address on port 51820 and the valid established connections. ...
Dom's user avatar
  • 6,793
0 votes
1 answer
851 views

Need Restart OS Level After change virtual ip on keepalived

I am using keepalived for make HA current maxscale and using virtual IP on keepalived. If I change virtual IP on keepalived I must restart OS on VM or restart keepalived service only? I am still ...
febry's user avatar
  • 73
1 vote
0 answers
2k views

Keepalived VIP not getting updated MAC after failover

I've got keepalived set up on 2 RHEL7.8 VMs to provide HA for a shared VIP. The VIP works and properly switches to each server when expected. I experience two issues related to the MAC not getting ...
el_sea's user avatar
  • 11
0 votes
2 answers
1k views

Can I have identical config on all Keepalived nodes?

While trying to configure an experimental Kubernetes cluster (in a few VMs on my laptop) as "high available" I found the advise to do this using the combination of keepalived and haproxy ( ...
Niels Basjes's user avatar
  • 2,196
0 votes
0 answers
263 views

IPVS transmitting packets to incorrect backends

We are using ipvs for L4 loadbalancing which transmits packets to L7 backends on ipip tunnel mode. There are three ipvs systems configured with source hashing for persistence. Sometimes, ipvs is ...
Vignesh SP's user avatar
0 votes
0 answers
792 views

how to health check haproxy backend with different IP?

I am running 2 haproxy servers that keep state of each other with keepalived to be fault tolerant. These haproxies have many frontends and backends, in order to avoid port exhaustion when forwarding ...
MarceloPrego's user avatar
0 votes
0 answers
765 views

Haproxy service won’t start when keepalived service is running

I am trying to configure haproxy with keepalived but if I start keepalived service first, haproxy fails to start. When keepalived service is stopped, haproxy starts without any problems. I get the ...
VS_777's user avatar
  • 1
1 vote
0 answers
319 views

How to configure keepalived, so that choosing master is not static?

I have already managed to configure a setup where I have a master and a backup machine, so when the master fails the backup goes back up. And when the master starts again, it takes the master position ...
Malazzar's user avatar
2 votes
1 answer
334 views

Proxy-Arp setup with Keepalived

I currently am trying to create a setup with N servers where 1 server is the master for a Virtual IP, and the (N-1) servers act as backups, presumably controlled by keepalived. However, one issue I ...
stoneman_41's user avatar
0 votes
0 answers
259 views

2 Node -- KeepaliveD -- network break

I have a two node ( VMs ) setup running keepaliveD. The problem is that due to only ability of managing the VMs from command line, I can't demonstrate how the network break between both node-A and ...
Nasir Mahmood 's user avatar
1 vote
1 answer
135 views

dual ISP firewall cluster in linux

For the past couple of weeks i have been trying to figure out how to make firewall cluster, each having different ISP. I have found few guides on how to do it with one ISP using technologies like ...
user573959's user avatar
1 vote
0 answers
144 views

Using floating IP for load-balanding OpenShift/OKD control plane

On-prem OpenShift installation requires load-balancer over the control plane, and does so already for installation. Now this cluster will be local, with the control plane only accessible inside ...
Jan Hudec's user avatar
  • 275

1
2 3 4 5