Questions tagged [keepalived]

an open source daemon that implements the VRRP standard.

Filter by
Sorted by
Tagged with
1 vote
1 answer
96 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 ...
user avatar
1 vote
1 answer
64 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 ...
user avatar
1 vote
0 answers
34 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 ...
user avatar
0 votes
1 answer
75 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 ...
user avatar
  • 333
0 votes
1 answer
164 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 ...
user avatar
0 votes
0 answers
120 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 ...
user avatar
1 vote
0 answers
68 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. ...
user avatar
0 votes
0 answers
38 views

keepalived(or another solutions) between 2 interfaces one server

community. Could you help me with the next question? I'll have a server Linux with 2 NIC in the same network ens33 192.168.23.2 ens34 192.168.23.3 and plugin in different switches: I want to use ...
user avatar
0 votes
0 answers
182 views

Keepalived and HAProxy on 3 VMs

I have a setup with 3 nodes each has keepalived and HAProxy installed. Keepalived is installed on the VM but HAProxy is running as part of a docker swarm. HAProxy is running on host network mode. ...
user avatar
  • 101
0 votes
0 answers
53 views

KeepAlived UDP Load Balancer with DTLS

I have a cluster of servers that rely on UDP for client communications. Among the few LBs that support UDP there is KeepAlived which however operates at layer 4: I have a minimum of experience with LB ...
user avatar
0 votes
0 answers
128 views

15 minute timeout in HA k8s cluster when node stops

I set up a k8s cluster more or less following this guide. So I have three master and control-plane nodes. I use haproxy as load balancer with following config: #/etc/haproxy/haproxy.cfg #--------------...
user avatar
  • 1
0 votes
0 answers
32 views

Possible reasons about why Keepalived virtual IP was removed

I have two servers 192.168.1.11 and 192.168.1.12 working with keepalived. The virtual IP is 192.168.1.13. It was working well for a month. Then I was notified that virtual IP was not available. I ...
user avatar
0 votes
0 answers
226 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 ...
user avatar
0 votes
0 answers
37 views

keepalived failover time inconsistency over http

I have keepalived running on 2 (centos7) vms and am able to see that the failover is working successfully in simplest form by issuing ping -t 192.168.1.11 and pulling vm1 from the network after which ...
user avatar
  • 31
3 votes
0 answers
379 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 ...
user avatar
  • 31
0 votes
0 answers
59 views

Adding Virtual IP to ens224 after using ens192 as interface using keepalived

I have two instances that can interact using internal IPs (ens192), for ex: <server_1_internal> <server_2_internal> When I use ens192 as the interface, keepalived works as expected by ...
user avatar
2 votes
1 answer
830 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 ...
user avatar
0 votes
1 answer
547 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 ...
user avatar
1 vote
0 answers
22 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 ...
user avatar
  • 11
1 vote
0 answers
237 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. ...
user avatar
  • 1,695
1 vote
0 answers
158 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 { ...
user avatar
  • 11
0 votes
1 answer
680 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 ...
user avatar
0 votes
1 answer
765 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 ...
user avatar
  • 1
1 vote
0 answers
69 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. ...
user avatar
2 votes
0 answers
505 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. ...
user avatar
  • 6,603
0 votes
1 answer
293 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 ...
user avatar
  • 73
1 vote
0 answers
709 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 ...
user avatar
  • 11
0 votes
2 answers
329 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 ( ...
user avatar
  • 2,186
0 votes
0 answers
63 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 ...
user avatar
0 votes
0 answers
365 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 ...
user avatar
0 votes
0 answers
442 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 ...
user avatar
  • 1
1 vote
0 answers
117 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 ...
user avatar
2 votes
1 answer
169 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 ...
user avatar
0 votes
0 answers
69 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 ...
user avatar
1 vote
1 answer
77 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 ...
user avatar
1 vote
0 answers
83 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 ...
user avatar
  • 255
0 votes
2 answers
400 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
125 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 ...
user avatar
  • 75
0 votes
0 answers
41 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 ...
user avatar
1 vote
0 answers
57 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 ...
user avatar
1 vote
0 answers
477 views

HAPROXY wont start even with net.ipv4.ip_nonlocal_bind = 1

OK. This is a very old problem but with a relatively new OS. I'm running CentOS 6.10 on one server with KeepAliveD and HAPROXY and the same on two other CentOS 7.x servers. I've created an HA ...
user avatar
0 votes
1 answer
559 views

Keepalived in a Tinc VPN mesh, can't ping the VIP after an election

Description Configuration I have 3 nodes, connected together using Tinc VPN, where I'd like to install HAproxy and have a VIP so that HAproxy is itself in a High Availability mode. Here are the ...
user avatar
  • 181
0 votes
0 answers
1k views

Windows implementation of keepalivd?

Me and my team have been trying to find a solution to the following setup: Two physical/vm machines with their own memory and network devices. One will act as master the other slave. A virtual IP ...
user avatar
1 vote
1 answer
868 views

Keepalived doesn't gain quorum when tracked process comes up

I'm using keepalived v2.0.19 on CentOS7 with a single vrrp instance tracking haproxy process presence. Unfortunately the vrrp instance never leaves the FAULT state after a restart of haproxy process ...
user avatar
2 votes
2 answers
9k views

HAProxy as TCP load balancer (SSL passthrough) not working?

i am having some trouble setting up HAProxy as a TCP load balancer (layer 4) and i would like to have your advice about it. i've been following many guides on the web and i came up with this ...
user avatar
  • 474
0 votes
1 answer
491 views

monitoring keeplived virtual IP with snmp

I am trying to monitor keepalived VIP with snmp. I got keepalived running on two servers. We had the situation that suddenly the VIP was on both servers which was a big problem, since these servers ...
user avatar
  • 143
1 vote
1 answer
2k views

monitoring keepalived with snmp

I am trying to monitor keepalived with snmp. Here are the relevant part of the config: /etc/snmp/snmp.conf # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is ...
user avatar
  • 143
0 votes
0 answers
174 views

linux gateway using keepalived

pic Dear, I'm using 2 linux as my gateway of a subnet. Here I want to using keepalived service, But ip routing looked strange. From the router it couldn't find a route to the subnet. Tracerout looked ...
user avatar
  • 1
1 vote
0 answers
676 views

Is it possible to establish two simultaneous keepalived VIPs to allow HAProxy load balanced HA via DNS round robin?

I'm currently investigating the use of HAProxy as a Load Balancer. I've found that the recommended configuration for HA of the HAProxy itself (not the backends) involves using keepalived to establish ...
user avatar

1
2 3 4 5