an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

2
votes
1answer
2k 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
177 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
172 views

query keepalived

*Note: I have trouble deciding what should go in serverfault and what should go in superuser, if some kindly admin decides this is in the wrong place please move it for me - many thanks. I am ...
0
votes
1answer
14 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
1answer
162 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 ...
0
votes
1answer
649 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
1answer
213 views

Keepalived: NAT VIP for internal network unused?

I'm building a proof-of-concept loadbalancer with CentOS 7 and keepalived. I took Red Hat's load balancer administration guide as a reference and implemented a NAT'ed loadbalancer with 2 nodes which ...
0
votes
1answer
510 views

Keepalived + LVS not working from other hosts but working from localhost on LB

I've got a keepalived + LVS set up I'm trying to get to work Clients, LB and real servers are all on the same subnet. Keepalived config: global_defs { notification_email { ...
0
votes
1answer
218 views

Which technique should be chosen for IP failover with manual control

I have the following setup, Linux stack, with front-end running nginx proxy and static assets and back-end running Ruby on Rails and MySQL in master-master replication: Primary site: front-end.a, ...
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 ...
2
votes
0answers
588 views

Keepalived not re-adding real servers

I'm trying to setup a simple virtual server in Keepalived and when the servers get removed from the pool, they do not get re-added automatically. In the Keepalived server syslog I see: Oct 01 ...
1
vote
0answers
56 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 ...
1
vote
0answers
224 views

Keepalived configurations

I installed keepalived on two firewalls to provide fail over. I'm not sure if the following configurations are correct (see configurations below). Sometimes I have problems to reach the websites ...
1
vote
0answers
678 views

keepalived - random re-elections

We have set up 3 servers running keepalived . We started noticing some random re-elections occurring which we can't explain so I cam here looking for advice. Here is our configuration: MASTER: ...
1
vote
0answers
204 views

Keepalived, Junos, and ARP caching

I'm trying to configure an active-passive stunnel setup, with the aid of Keepalived, for a public IP address at our company datacenter. I would like to know if a router or switch reconfiguration is ...
1
vote
0answers
484 views

keepalived config is not working correctly with virtualbox vms

my keepalived configuration is not working correctly. I have two virtual testing machines (virtualbox) to try some things out with keepalived/vrrp. Bot can ping each other flawlessly (internal ...
1
vote
0answers
161 views

keepalived - service not available on the 'passive' host

I've got ip failover configured on two hosts for a mysql (percona) cluster with keepalived; the failover works as expected, but I cannot access the service from the host that is passive or in ...
0
votes
0answers
35 views

track script doesn't work after keepalived update

I recently updated my keepalived cluster from version 1.2.11 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
17 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
17 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
15 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
0answers
22 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
29 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
44 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
0answers
37 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 ...
0
votes
0answers
60 views

keepalived cluster ping physical ip fails

My szenario looks like below: Router = R[number] Switch = S[number] R1      R2  I           I S1-----S2 ...
0
votes
0answers
125 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
163 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
0answers
96 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
0answers
68 views

Keepalived on openstack vm is possible?

I install keepalived on openstack vm and try create virtual ip for my lan network. But not working, I try use flat network with floating IP and vlan, but still no luck. It's possible use keepalived ...
0
votes
0answers
169 views

LVS + keepalived for load balancing transparent SQUID proxies

I need to load balance a number of SQUID proxies configured in transparent mode. Below is a simple diagram with one LB and SQUID boxes. ---------- | Client | ...
0
votes
0answers
142 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
0answers
34 views

Failing over certain keepalived groups but not others

In keepalived.conf we define 2 vrrp_instances. Is there a way to failover one instance but not the other? For example, we have host A and B. At the start, A has both vrrp_instances. We'd like to ...
0
votes
0answers
226 views

Keepalived router on virtual ip is not reachable

I've setup keepalived to manage a virtual ip between two hosts. My setup is the following Server #1: Hostname folmer, ip 192.168.0.1/22 dev p2p1 Server #2: Hostname flemming, ip 192.168.0.2/22 dev ...
0
votes
0answers
121 views

How do I automatically advertise a preferred route via BGP using keepalived?

I have a dual firewall setup with 2 active paths to the internet. These are independent and cannot be linked together on the WAN side. It's part of a deployment at a datacentre. Each firewall has ...
0
votes
0answers
782 views

Keepalived: multicast vs unicast

I'm planning to deploy a several keepalived routers to maintain floating IPs for different database clusters. The plan is to deploy a separate VRRP instance on each cluster locally according to this ...
0
votes
0answers
205 views

Can keepalived use a dedicated NIC for VRRP traffic only?

I have a pair of Linux load balancers for a single VIP, 10.13.10.227. They run keepalived and haproxy. They are connected directly to each other (no switch between them) on each other's eth3 and have ...
0
votes
0answers
334 views

Strange Keepalived VRRP email notification

I have a 3 nodes keepalived (K1 to K3) installed and receiving email notification. The setup of keepalived is K1 VI_50, priority 100 VI_51, priority 98 VI_52, priority 99 K2 VI_50, priority 99 ...