an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

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

Keepalived - Keep VIP after failure in both nodes

There's any way to keep the last VIP configuration in the case of a failure in all the nodes of Keepalived? Thanks in advance.
0
votes
0answers
11 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
140 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
25 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
24 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 ...
2
votes
1answer
1k 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 --> ...
0
votes
0answers
24 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
53 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 ...
1
vote
2answers
14k 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 ...
5
votes
0answers
39 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
305 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
40 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 ...
2
votes
1answer
268 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
3k 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
71 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
190 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
112 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
76 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
145 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
71 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
155 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
112 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
66 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
27 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
49 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
111 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) ...
1
vote
2answers
4k 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
142 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
166 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
86 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
85 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
409 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 ...
0
votes
0answers
72 views

keepalived cluster ping physical ip fails

My szenario looks like below: Router = R[number] Switch = S[number] R1      R2  I           I S1-----S2 ...
1
vote
1answer
520 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 ...
1
vote
1answer
1k views

Keepalived not honoring nopreempt

I'm using Keepalived to manage two Redis instances in a master/slave configuration. I'm experiencing a situation where, if Keepalived is terminated on the Master box (the one with the higher ...
0
votes
0answers
350 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
0answers
370 views

keepalived failover for postgresql

What happens? When i start keepalived all works fine. When node01 fails and it cannot start postgresql anymore it will constantly try to force an election. Even if the postgresql cannot start. The ...
0
votes
1answer
330 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
2answers
1k views

VIP not dropping from backup keepalived

I may not be understanding how this is supposed to work, but I can't figure out why the BACKUP system with this basic vrrp_instance is transitioning to master right away and never seems to honor the ...
0
votes
1answer
236 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 ...
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
0answers
173 views

Can't ping VIP over the time

Have two virtual machines with installed keepalived and one virtual ip. I'm doing the following test: - starting both keepalive; - ping VIP from another host. it works. - shutting down one keepalived. ...
0
votes
1answer
696 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
3answers
1k views

keepalived not starting and complaining about not set virtual id

I installed on a ubuntu 12.10 server the keepalived package and configured it, but it complains later in the syslog, that a virtual id must be set Keep alive configuration # Define the script used ...