an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
0answers
7 views

Keepalived : how to force election ?

I have two Mysql servers, with two VIP. By default, one VIP must be on the first server, and the other on the second (one for writing, the other for reading). My problem is the first server to start ...
0
votes
0answers
12 views

“nfsd peername failed” but NFSv4 service functions

My current setup: 2 NFS servers sharing the same directory with identical content, 1 keepalived server as SLB (or rather for failover in this scenario), and 1 NFSv4 client mounting through VIP. All ...
0
votes
0answers
57 views

How to use Docker with HAProxy+Keepalived?

I want to practise in creation of high-available web-application using multiple Docker containers on one machine. I launch several web-servers within Docker containers. Say, three servers rest1, ...
0
votes
0answers
15 views

HAproxy, Keepalived with Cisco Policy Based Routing

I'm currently using using haproxy on 2 servers to load balance a number of web content and proxy servers for users, the 2 haproxy servers use keepalived to provide high availability for the 2 haproxy ...
1
vote
0answers
17 views

Can we make a cpp application as HA using keepalived? [closed]

I have 2 servers running the same c++ application, but the application in master server recieves the calls. Once the application goes down in master, slave becomes master and recieves the calls. This ...
0
votes
1answer
46 views

keepalived doesn't assign the virtual IP

I am testing haproxy with keepalive to 3 servers. Haproxy server configurations work fine (USLTS4/USLTS5), but not keepalived. The process started on both haproxy's, but the VIP is not assigned to ...
0
votes
2answers
88 views

keepalived registers failure but won't failover

I'm running 2 keepalived servers that share a common IP (Server1 and Server2). Server1 is the master, and whenever haproxy dies, Server2 should take over. If Server1 comes back up, Server2 should ...
2
votes
1answer
71 views

LVS DNS load balancing on machine with only 1 NIC

First of all let me clarify that I am just a software developer not an admin, thus I have some knowledge (let's say a basic understanding of the concepts) regarding networking configuration as well as ...
0
votes
1answer
81 views

KeepAlived on different subnets

I am trying to setup keepalived on ESXi based setup where 2 physical box have ESXi installed and each one having a node which works as load-balancer using HAProxy. Now in order to achieve high ...
0
votes
2answers
40 views

Is it possible for a child script to write output to a parent process?

I have a notify script kicked off by keepalived daemon process whenever it's state changes. The problem is, echo output from my notify script does not appear in the output displayed when running ...
0
votes
0answers
11 views

Software load balancer times out connection to upstream servers, refuses to failover?

We have two software load balancers (using keepalived 1.2.13 and a virtual ip to failover between the two), proxying traffic via nginx 1.8.1 to three upstream app servers (each hosting a nodejs web ...
0
votes
0answers
67 views

keepalived + nginx failover not working

I have 2 servers under Centos 7.1. Both are configured with keepalived (one MASTER / one SLAVE) and Nginx as proxy reverse and load balancing. Everything works great except the Nginx shutdown ...
0
votes
0answers
16 views

keepalived not failing over when script fails

keepalived is running the ck and failing when haproxy service is down, but it is not failing over to the other server. It remains the master. Does anyone have any idea why the failover would not ...
1
vote
1answer
63 views

Linux Virtual Server: NAT return path

I'm trying to set up a LVS load balancer in front of my Kubernetes: Calico is used as container network, so every pod has its own network interface in it's host. External IPs, routes and routing rules ...
0
votes
1answer
59 views

Keepalived - Keep VIP after stop in both nodes

There's any way to keep the last VIP configuration in the case of a daemon stop in all the nodes of Keepalived? Thanks in advance.
0
votes
0answers
22 views

keepalived should vote more relaxed, is raising garp_master_delay and/or advert_int the solution?

Im using keepalived on two machines. The one being the master establishes an ipsec tunnel. Sometimes (once a month or less) the vrrp packet was missed, and the backup takes over, establishes the ipsec ...
0
votes
2answers
52 views

Keepalived heartbeats not being sent/received on EC2 VPC

I'm trying to setup keepalived + HAProxy as a redundant load balancer on an EC2 VPC (yes, I know that ELB is an option). I believe we have things configured correctly, but killing the master server ...
0
votes
0answers
46 views

Unable to connect to MASTER: Resource temporarily unavailable : Connecting to MASTER no:0

I'm currently working on simle active stand/by Redis clustering for query caching with Keepalived. The problem I'm facing is when I shutdown&start(restart) the host1 server for testing, it ...
1
vote
0answers
51 views

Keepalived notify script isn't executed

I just set up the notification script in /etc/keepalived/keepalived.conf /etc/keepalived/keepalived.conf global_defs { notification_email { admin@example.com } notification_email_from ...
0
votes
0answers
157 views

HAProxy not forwarding requests to backend server

I have HAProxy (v1.5.8) as a load balancer with keepalived (v1.2.2) to maintain high availability. I also have several Jetty servers on a different machine on the local network as backend server with ...
5
votes
1answer
81 views

keepalived master cannot reclaim virtual IP after recovered

Steps Start both master and slave Keep pinging virtual ip (i.e 192.168.10.100) Shutdown master Slave enters MASTER state Restart master Slave enters BACKUP state and Master enters MASTER state ...
1
vote
0answers
85 views

Keepalived cant find one of my interfaces

I have just installed a new server (Ubuntu 14.04) to start testing our keepalived configurations, which work fine on (Ubuntu 12.04) We do not assign the public IP on the eth1 interface, we allow ...
0
votes
0answers
126 views

How to share local IP within a cluster if server is bound to one IP?

I have a cluster with 3 nodes running in VMs on test setup. Now I want to take it to production and rented 3 dedicated root servers at Hetzner Online connected by a switch. As I found out, they do ...
0
votes
0answers
405 views

How to configure Failover IPs for High Availability with Hetzner Online

I have a cluster of 3 Ubuntu nodes running in VMs in the lab and want to take it now to production. Hetzner Online hetzner.de offers some good value dedicated servers, so I rented 3 machines, ...
3
votes
1answer
600 views

keepalived VRRP_script not failing over

So I am running keepalived on two servers and I can't get it to failover to the other. Below I have my config for one of the servers. The only different between the two is the priority numbers master ...
2
votes
0answers
176 views

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with ...
0
votes
1answer
99 views

Set up keepalived for MySQL Master-Master replication [closed]

I managed 2 mysqld processes that listen for connections on different ports- 3306 and 3307 on localhost. I set up MySQL Master-Master replication. And now I want to set up keepalived for MySQL ...
0
votes
1answer
234 views

Keepalived failover not working - how to configure master / failover

I have following two server setup running: node1: keepadlived master -> HAProxy -> Apache node2: keepadlived failover -> HAProxy -> Apache The system works perfectly until I shut down keepalived ...
0
votes
1answer
97 views

How to configure keepalived - not able to setup VIP

I am trying to setup a comiled keepalived 1.2.19 on ubuntu 14.04 with failover. Somehow the virtual ip never shows up: ip addr show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 ...
0
votes
0answers
204 views

track script doesn't work after keepalived update

I recently updated my keepalived cluster from version 1.2.10 to 1.2.13. I noticed that my tracking script, which basicly just pings another system,doesn't work anymore. I use a simple bash script and ...
0
votes
0answers
170 views

Tomcat 8.0.43 not using Keep Alive

I'm trying to setup a few app servers behind Amazon's ELB and I've been getting some 504 errors that I've been tracking down. Looking at the Tomcat manager app under status, I'm seeing the following: ...
0
votes
0answers
199 views

AWS + KeepAliveD: Not able to Ping or Telnet Virtual IP from remote hosts

I am setting up KeepaliveD with 2 nodes on AWS by following this article. My Virtual IP gets moved from one node to another in case of fail-over. However, the VIP just cannot be accessed from a remote ...
0
votes
0answers
82 views

Multi Path VRRP with keepalived

I'm migrating from an old heartbeat setup to using keepalived at the moment and currently I can't find how to replicate the heartbeat capability of using multiple links as cluster interconnects in ...
0
votes
1answer
33 views

Keepalived in the AWS autoscalling group

I want to deploy Keepalived in the AWS autoscalling group. The issue that Keepalived need to know ip address of the each node in the cluster, that is difficult in the elastic environment, where we ...
0
votes
0answers
56 views

Can I use KeepAliveD with multiple unrelated processes?

Can I use keepalived to manage the same VIP to two different processes (on different ports)? For example, we already use Keepalived on a pair of Kamailio SIP servers. These SIP servers use port 5060. ...
0
votes
0answers
149 views

Keepalived multi route and ssh

We have configured keealived to have a floating 1.2.3.4 ip in another network range of the permanent ip 5.6.7.8 of the server. Floating Ip is working very well. Problem comes when Keepalived host (A) ...
0
votes
0answers
189 views

Keepalived lb_kind TUN: Requests are not answered by the real server

I try to make keepalived with tunneling running. The Loadbalancer is at 172.23.9.128 and the realserver is at 172.23.9.135 (with apache running on port 80). The VIP is 172.23.9.224 Here is the ...
0
votes
1answer
196 views

KeepAliveD + HaProxy - Only the master should run an active HaProxy service

it is possible to configure keepalived so that only the master server are running an active service from haproxy? Currently LB1 and LB2 (both with keepalived and haproxy) works great. But sometimes ...
0
votes
1answer
97 views

How to see keepalived priority number when it changed

I have used keepalived to archive high availability for nginx. I set initial priority 101 for MASTER, 100 for BACKUP and I can see /var/log/messages : Keepalived_vrrp[34483]: VRRP_Script(chk_nginx) ...
1
vote
1answer
739 views

HAProxy track_script + nopreempt not working

I have 2 nodes with Keepalived v1.2.13, in Amazon AWS VPC. I'm trying to achieve this scenario, assuming Node1 is MASTER: If I stop HAProxy or stop keepalived or stop the node, failover to Node2. If ...
0
votes
2answers
515 views

Unable to start keepalived

I am trying to create load balancer using Virtual IP. I referred this link Load Balancer using Virtual IP. After configuring by mistake I started the backup server's keepalived service first and then ...
0
votes
1answer
471 views

Postgresql keepalived gluster | FAULT state

I am trying to achieve a simple failover using Keeplalived, postgres and gluster. Using CentOs 7 I have mounted a replicated gluster volume on both nodes at '/var/lib/pgsql'. Shared ...
1
vote
1answer
2k views

HAProxy + keepalived + multiple backend farms / virtual IP addresses

we have several backend farms (HTTP, FTP, etc), basically one farm for each customer, and I am about to rebuild our load balancing infrastructure, moving from Piranha to HAProxy. Since we are using ...
0
votes
1answer
872 views

Softlayer HAProxy with failover

I have 2 virtual servers on Softlayer, both running HAProxy. I am trying to set up failover with keepalived. Each server has a private IP and public IP, and they are on the same VLAN. I've tried many ...
0
votes
1answer
315 views

keepalived multiple instances

I have two application servers running keepalived that are both using keepalived on the same network. I keep seeing Jan 8 11:49:01 <server> Keepalived_vrrp[13764]: bogus VRRP packet received on ...
0
votes
1answer
475 views

Keepalived disconnects

On my Sles i have keepalived, and haproxy. In two days i had 4 disconnects from keepalived. Keepalived v1.2.7 (11/20,2012) In syslog only this messages. Who can help with solving the problem? ...
0
votes
1answer
490 views

Keepalived configuration for VRRP

I am trying to understand if there is a relation between garp_master_delay and advert_int. In all the configurations I saw, advert_int was less than garp_master_delay. Is there any reason for this? ...
2
votes
1answer
824 views

How would you set up multiple SSL terminating Haproxy instances, which are themselves load balanced?

I've been doing a great deal of research and experimentation on this, and I'm really running into a wall: I'm trying to set up HAProxy as the reverse proxy for a high-availability environment. All ...
1
vote
0answers
98 views

Keepliaved not loading IPv6 lvs rules on boot

When starting Keepalived manually, it correctly populates LVS tables as seen by: ipvsadm However, when I boot the machine - only IPv4 rules are added. If I restart the keepliaved server manually ...
2
votes
1answer
2k views

Centos 7 - Keepalived Linux Virtual Server is not working

Environment: Centos 7 Keepalived Machine I enp0s3 --> 192.168.1.38 (connects to the outside world) en0s8 --> 192.168.100.101 (connects to internal network) Machine II enp0s3 --> ...