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
1
vote
0 answers

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 that I want to maintain up even if the keepalived…
Mtr
  • 11
  • 1
1
vote
0 answers

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. When the last instance of keepalived shuts down,…
aef
  • 1,745
  • 4
  • 25
  • 43
1
vote
0 answers

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 { state MASTER #How often to send out VRRP…
enidvx
  • 11
  • 2
1
vote
0 answers

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. However I can not connect my application by…
1
vote
0 answers

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 updated. Most often Server2 will become Master and…
el_sea
  • 11
  • 3
1
vote
0 answers

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 and the backup takes the backup once again. My…
1
vote
1 answer

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 keepalived and conntrackd. For example this one. Is…
1
vote
0 answers

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 intranet, so setting up additional proxy would: Add an…
Jan Hudec
  • 275
  • 3
  • 13
0
votes
1 answer

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 nodes details: Node 1 has IP Address 10.0.0.222/32 on…
ZedTuX
  • 201
  • 3
  • 8
0
votes
0 answers

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 will point to the Master only and in the event that…
Karl Morrison
  • 1,621
  • 4
  • 29
  • 43
0
votes
1 answer

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 are virtual gateways. My aim is to monitor…
Max
  • 143
  • 1
  • 6
0
votes
0 answers

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 like below: traceroute to 192.168.1.100 1…
bing0
  • 1
  • 2
0
votes
1 answer

Virtual Loadbalancer based on Virtual IP

I need to setup K8S in HA Mode on hosted Baremetal. If have a vSwitch Network where I can easily assign internal IPs. Is there a Virtual Linuxbased loadbalancer (Active/Passiv) software that allows me to run in L2 network? Where the Passive LB Node…
0
votes
2 answers

Keepalived two master have virtual IP simultaneously

It's really strange on my BACKUP device always turn to MASTER several secs. I've already search both master have virtual IP simultaneously cases,and all of there solution I've tried, but still not work. There's two way probably to solve it Priority…
YCS
  • 1
  • 2
0
votes
0 answers

keepalived not promoting BACKUP to MASTER in multi-instance configuration

I'm trying to make a multi-instance keepalived to control a master-replica pair of tarantool servers and setup VIPs. Server state itself is managed outside keepalived. Keepalived should only manage VIPs: it should set VIP1 on dummy1 iface in case…
e-pirate
  • 11
  • 1
  • 4