Questions tagged [keepalived]
an open source daemon that implements the VRRP standard.
247
questions
0
votes
1
answer
45
views
Keepalived annoying log: interface added/deleted
I'm currently using Keepalived on hosts that also run Docker Engine. Every time I create or stop a container, Docker creates or deletes network interfaces (like veth*). Keepalived logs these events, ...
0
votes
0
answers
108
views
very strange error HA k8s cluster with haproxy as load balancer
I am trying to create k8s cluster with haproxy as external load balancer ( 2 haproxy nodes, 3 control planes , 3 workers) currently am still trying with 2 haproxy and 2 control planes
ERROR : ...
0
votes
0
answers
57
views
Multi-master situation with keepalived
I deployed keepalived on three machines, but VIPs are appearing on all three nodes, here is my keepalived configuration.
// 192.168.1.55
global_defs {
router_id LVS_DEVEL
}
vrrp_script ...
0
votes
0
answers
100
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 ...
0
votes
1
answer
136
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 ...
0
votes
0
answers
55
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 ...
0
votes
0
answers
302
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 ...
-1
votes
1
answer
130
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 ...
0
votes
0
answers
61
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-...
0
votes
0
answers
506
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'...
0
votes
0
answers
205
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 (...
0
votes
2
answers
252
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 ...
0
votes
0
answers
132
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 ...
0
votes
1
answer
626
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 ...
0
votes
1
answer
817
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 ...
0
votes
0
answers
820
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 ...
0
votes
1
answer
805
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
...
1
vote
1
answer
2k
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 --...
1
vote
0
answers
647
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 ...
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[...
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 ...
0
votes
1
answer
8k
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 ...
1
vote
1
answer
4k
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 ...
1
vote
1
answer
830
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 ...
1
vote
0
answers
384
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 ...
0
votes
1
answer
843
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 ...
0
votes
1
answer
5k
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 ...
0
votes
1
answer
933
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 ...
1
vote
0
answers
435
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.
...
0
votes
0
answers
557
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 ...
3
votes
1
answer
2k
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 ...
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 ...
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 ...
1
vote
0
answers
69
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 ...
1
vote
0
answers
1k
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.
...
1
vote
0
answers
545
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 {
...
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 ...
0
votes
1
answer
3k
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 ...
1
vote
0
answers
227
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.
...
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.
...
0
votes
1
answer
1k
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 ...
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 ...
0
votes
2
answers
2k
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 ( ...
0
votes
0
answers
325
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 ...
0
votes
0
answers
849
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 ...
0
votes
0
answers
834
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 ...
1
vote
0
answers
350
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 ...
2
votes
1
answer
365
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 ...
0
votes
0
answers
289
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 ...
1
vote
1
answer
157
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 ...