an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
3answers
478 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 ...
1
vote
0answers
13 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 ...
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 --> ...
5
votes
1answer
76 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 ...
0
votes
1answer
33 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
63 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
48 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 ...
1
vote
1answer
1k views

MySQL port 3306 became filtered when configured with Keepalived on Ubuntu server 12.04 lts

I'm configuring two load balancer (lb01 & lb02) with keepalived for my two mysql server (db01 & db02) with standard port 3306. There is virtual ip address (192.168.205.10) to access it also ...
0
votes
1answer
61 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
333 views

Is it not possible to use keepalived in EC2

The problem is two of my EC2 instances (ha proxy) need to bind a single virtual IP if I want to use keepalived, but they are not possible in EC2 as only a single instance can use a elastic IP at a ...
0
votes
2answers
35 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
58 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
9 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
56 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
54 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
18 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
0answers
185 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 ...
1
vote
1answer
1k views

Keepalived sync daemon

I've enabled lvs_sync_daemon_interface option however it looks like sync daemon is not working Active node: [MASTER:~]# ipvsadm -Lnc IPVS connection entries pro expire state source ...
0
votes
2answers
46 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 ...
2
votes
1answer
2k views

keepalived 2 VIP and 2 servers

Is it possible to configure keepalived in such a way? In normal state VIP_1 assigned to SERVER_1 and VIP_2 assigned to SERVER_2 On server failure all VIP's going to working server, and after failed ...
0
votes
0answers
38 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
42 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
137 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 ...
2
votes
3answers
2k views

HAProxy/Keepalived vrrp set up in AWS EC2 with EIP (Basic EC2)

I am a newbie to CentOS/Linux/HAProxy/Keepalived, so I have had a lot to learn over the past few days! I have 2 CentOS 6.5 servers in Amazon AWS running on their own EC2 Micro instances. I also have ...
2
votes
2answers
17k views

HAproxy 503 Service Unavailable No server is available to handle this request

I'm new to this load balancing scenario and I'm being tasked to figure out how to make this load balancing works. My environment: Centos 6.4 64 Bit Webserver: Lighttpd All running in ESXI virtual ...
0
votes
1answer
430 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? ...
1
vote
0answers
73 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 ...
3
votes
1answer
481 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 ...
3
votes
1answer
4k views

keepalived: 2nd VRRP_Script never seems to run

I'm trying to implement keepalived on 3 mongodb boxes, the idea is that if mongod on one of the boxes goes down or we need to move the primary node to another system for some reason our application ...
0
votes
0answers
116 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
362 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, ...
2
votes
0answers
164 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
95 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
223 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
87 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
192 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
156 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
78 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
55 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. ...
2
votes
1answer
3k views

KeepAliveD, Rackspace Cloud, Unicast - both LB's enter MASTER state…?

I have set up two HAProxy Load Balancers in an Active->Passive pair. KeepAliveD will be used for failover between MASTER and BACKUP servers. Like most clouds, Multicast is not supported so I cannot ...
0
votes
0answers
140 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) ...
2
votes
2answers
5k views

View Current State of Keepalived

Is there a way to view the current state (Master/Backup) using a command line inside a server instance? Cheers
0
votes
0answers
182 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
186 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 ...
-1
votes
1answer
1k views

LVS Keepalived connection between master and backup [closed]

I configured two lvs keepalived servers. The first is master server, ip 10.1.88.76, iptables closed. The second is backup server, ip 10.1.88.77, iptables closed. the network connection between two ...
0
votes
1answer
93 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) ...
0
votes
0answers
106 views

How to let multiple keepalived instance run in same server?

In linux, I created 2 network namespaces, ns1 and ns2, then run keepalived in each of namespace, like this: ip netns exec qlbaas-2180946e-fc7f-42d8-baa8-ae9164bf15da keepalived -f /keep_lb22.conf ...
1
vote
1answer
463 views

Keepalived unwanted transition to master

I'm starting 2 EC2 intances in Amazon with Cloudformation, the second instance starts about 30 seconds after the first one. The configuration looks like this : Instance 2 state BACKUP ...