Questions tagged [keepalived]

an open source daemon that implements the VRRP standard.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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 ...
0
votes
0answers
16 views

Keepalived same host for real server and load balancer

I've came across following note (keepalived - Virtual is not routing my requests to real servers): Accessing the virtual IP from the load balancers or one of the real servers is not supported. ...
1
vote
0answers
13 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 ...
0
votes
0answers
11 views

keepalived on restart releasing the VIP even if the restart is within 3*advert_int period

We have setup 2 nodes(CentOS Linux 7.4.1708) with keepalived(1.3.5-16.el7.x86_64) both sharing a VIP. Below is the keepalived configuration on both nodes Node1 global_defs { script_user root ...
0
votes
0answers
48 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
0answers
16 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
1answer
37 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 ...
0
votes
0answers
39 views

Is IPVS/keepalived as sole load-balancer with persistence a viable alternative to HAProxy sticky sessions?

for a tomcat application I need a simple and resource-effective load-balancing solution. While mod_proxy/mod_jk/HAProxy seem to be among the standard solutions for tomcat, I have discovered that IPVS ...
1
vote
0answers
17 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
0answers
22 views

Why/how does keepalived prevent local access to virtual ip?

I'm running a containerized (with podman) squid proxy on port 3128 on a pair of servers, using keepalived to share a virtual ip address between them. I've noticed some odd behavior that I can't figure ...
0
votes
0answers
38 views

HighAvailability with HAProxy, Keepalived and Lightsail Static IP

I'm trying to configure a High Availability setup utilizing HAProxy, Keepalived and AWS Lightsail. I have configured everything to the point where if I manually switch the location of the IP, ...
0
votes
0answers
13 views

Minimize Keepalived up/down smtp notifications during apache reloads

We have several keepalived services, with LVS configured on the individual real servers. Currently we are receiving an up/down notification for individual real servers within a virtual server ...
0
votes
2answers
46 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
1answer
84 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
1answer
22 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
0answers
38 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 ...
0
votes
0answers
47 views

Keepalived configuration not working as expected

I have the below keepalived config for 2 linodes Linode #1 vrrp_script chk_nginx { script "pgrep nginx" interval 2 # check every 2 seconds } vrrp_instance VI_1 { state BACKUP interface eth0 ...
1
vote
0answers
26 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 ...
0
votes
0answers
95 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 ...
0
votes
1answer
189 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 ...
0
votes
0answers
47 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 ...
1
vote
0answers
156 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 ...
0
votes
0answers
36 views

Keepalived - Failover when both vrrp AND track script failed

I've made a track script which is ran at each check by keepalived. When the VRRP check is failing, the BACKUP node become MASTER, even if the track script is returning 0 status (good one). I just ...
0
votes
0answers
25 views

Keepalived DR not balancing

I need to balance from VIP keepalived to backend servers port 5000, in kepaleeved set lb_kind DR, telent from difrent host to VIP is time out, whats wrong? vrrp_instance SP_API { state MASTER ...
0
votes
0answers
23 views

Can't reach backup server with VRRP

I've set up Keepalived VRRP on my company's public cloud so that I can create private subnets between the servers and make these subnets communicate and have redundancy. Here's a simplified schema of ...
0
votes
1answer
1k 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 ...
0
votes
1answer
147 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 ...
1
vote
1answer
677 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 ...
0
votes
0answers
68 views

Keepalived + load balancer vs. application local forward proxy+load balancer

This is gonna be a bit of a broad and open question, and while it might not be suited for this forum, I'm gonna try either way. I'm currently designing a HA infrastructure for a system. In the system ...
0
votes
0answers
51 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 ...
1
vote
0answers
137 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 ...
1
vote
0answers
246 views

syslog udp load balancing and failover with keepalived

I have a simple two host graylog cluster for which i need to load balance udp syslog traffic, I'm using keepalived, floating ip and load balancing work perfectly, but it still directs traffic to all ...
0
votes
0answers
51 views

Keepalived direct routing setup stops working intermittently

I have two servers where each server is the real server and is running Keepalived with a virtual IP pointing to Nginx. I used this guide: http://kb.linuxvirtualserver.org/wiki/Building_Two-...
0
votes
1answer
260 views

Keepalived not executing scripts

I have a few state change scripts executed and they seem to be called on when I view the service status but they never run. If I execute the script manually it works fine. Any thoughts? Using Deb9.
0
votes
1answer
47 views

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 ...
0
votes
2answers
367 views

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 ...
0
votes
0answers
684 views

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 ...
0
votes
0answers
202 views

Can't connect to MySQL cluster from HAProxy + keepalived cluster

I'm new to clustering. I'm trying to configure keepalived in HA with HAProxy and MySQL cluster (+2 NDB cluster node). Configuration with 1 HAProxy (without keepalived and virtual ip address) seems to ...
1
vote
1answer
445 views

Keepalived using direct routing on ipv6

I'm considering adding a keepalived load balancer to our infrastructure but I have some requirements which seem to be outside the normal configuration. All our servers have public IP addresses, both ...
0
votes
1answer
84 views

Alias address on aws ec2 between different availability zones

i have a setup: Orange - is availability zones(AZ). in each AZ there is by 2 subnets: 10.0.1.0/27 & 10.0.0.0/27 10.0.1.32/27 & 10.0.0.32/27 And i'm trying to set up VRRP (it like round ...
0
votes
1answer
79 views

keepalived service is not down despite I turned it down

For high availability I have two servers: 172.24.4.51 and 172.24.4.52 and virutal ip is 172.24.4.53. The master is 172.24.4.51 and backup is 172.24.4.52. I'm on 172.24.4.51 and then I made systemctl ...
1
vote
0answers
73 views

Keepalived_vrrp issue

Configuration debian version 9.7 architecture ppc64 Issue I am running keepalived and i am encountering an issue with IPVS, here are the logs : Feb 16 17:02:35 srv Keepalived_vrrp[10109]: IPVS: ...
8
votes
5answers
5k views

keepalived doesn't detect loss of virtual IP

I'm using keepalived to switch a floating IP between two VMs. /etc/keepalived/keepalived.conf on VM 1: vrrp_instance VI_1 { state MASTER interface ens160 virtual_router_id 101 ...
0
votes
1answer
926 views

How to get haproxy and keepalived working on the same device as an emqx broker

I'm rather new to this, so please be patient. My setup is essentially thre devices using mqtt, connecting through two brokers both running emqx. Both emqx brokers are also supposed to be set up as ...
3
votes
1answer
536 views

keepalived: what are the `fo` and `mh` lvs scheduling algorithms?

The parameter virtual_server.lvs_sched in keepalived.conf supports two options for which I can't find an explanation: fo and md. Does anyone know their meaning?
0
votes
0answers
76 views

HAProxy and Keepalived IP assignment

As per the figure below, suppose there are two load balancers bundled together using Keepalived. My question is: does each LB have to get public IPs (namely 10.0.0.3 and .4) assigned to their public ...
1
vote
1answer
930 views

Kolla OpenStack deployment fails with “haproxy : Waiting for virtual IP to appear”

I'm trying to deploy OpenStack Queens with kolla-ansible (7.0.0) on Ubuntu hosts, following the official guide. After successful bootstrap-servers and precheck the deploy command fails: RUNNING ...
2
votes
0answers
605 views

multiple networks in keepalived configuration

I have two router(lxc containers) seated in the distribution layer of my network and I want to implement HA for them. The routers have 114 network interfaces and I want that they share a virtual ip ...
1
vote
0answers
108 views

Conditional Takeover with Keepalived

Have a bit of an odd situation. I need to set up a singular VIP with keepalived that will bounce among machines as they fail/come down, etc. I have four total servers, each running a database ...
2
votes
0answers
692 views

Keepalived forwarding UDP traffic to one node via NAT

I am having issues with load balancing UDP Syslog to my Graylog cluster nodes. At first everything seemed to work normal but it seems that traffic is flowing for 99% to one of the two nodes. I have ...

1
2 3 4 5