Questions tagged [keepalived]
an open source daemon that implements the VRRP standard.
241
questions
0
votes
2
answers
40
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
16
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
0
answers
26
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 ...
0
votes
1
answer
41
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
0
answers
34
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 ...
0
votes
1
answer
148
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
298
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
0
answers
29
views
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 ...
0
votes
0
answers
136
views
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 ...
0
votes
1
answer
358
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
...
0
votes
0
answers
133
views
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 ...
1
vote
1
answer
976
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
280
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
1k
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
719
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
4k
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
2k
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
536
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
252
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
556
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
2k
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
626
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
299
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
441
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
0
answers
937
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
2k
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
1k
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
50
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
721
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
404
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
1k
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
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 ...
1
vote
0
answers
165
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
982
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
654
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
1k
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
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 ( ...
0
votes
0
answers
200
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
727
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
686
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
286
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
270
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
227
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
126
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 ...
1
vote
0
answers
133
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 ...
0
votes
2
answers
735
views
active/active load balancer in linux? [closed]
we have 2 haproxy servers in an active passive (keepalived) setup forwarding to a couple apache backends. The load has increased and I'm searching for an active active load balancer solution. Is there ...
0
votes
1
answer
2k
views
Get status of the master VRRP router Keepalived
I have two Linux routers (RHEL 7) participating in a redundant VRRP configuration provided by the keepalived package version 2.0.20. These two routers used to be running RHEL 6 and keepalived version ...
0
votes
1
answer
260
views
Keepalived: Invalid master transition
We have a two machine keepalived setup where both machines are configured in the same way.
vrrp_instance RP_VI_1 {
interface eth3
state BACKUP
...
0
votes
0
answers
50
views
Does something remember network state at Linux reboot?
I have two systems using keepalived with scripts which run at all state transitions (backup, fault, master). At bootup these scripts document the network configuration (ip addr, ip ro) when they are ...
1
vote
0
answers
114
views
Keepalived configuration for a budget cluster of 2 web server nodes on Linode
I am on a low budget - so I am running just 2 identical Linodes (Ubuntu 18.x). I don't plan to use Nodebalancer, since I need only one server to be up at a time.
I have been able to successfully ...