an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
1answer
887 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
vote
0answers
3 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 ...
0
votes
0answers
32 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
37 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
1answer
108 views

keepalived vip removed with dhcp renewal

I am having this strange issue where my vip is being removed from my interface when I receive a new DHCP renewal request. The logs shows the following: Jun 1 17:00:06 lb1 dhclient: DHCPREQUEST of ...
0
votes
1answer
32 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 ...
2
votes
1answer
1k 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
53 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 ...
1
vote
1answer
54 views

Keepalived track_script + nopreempt doesn't seems to work

I have 2 instances in AWS running keepalived. Each one runs an HAProxy process. I'd like to monitor HAProxy, and in case it fails, fall back to the lesser prioritized node. But if the previous MASTER ...
2
votes
1answer
61 views

Keepalived (LVS) + SPDY

I've got Keepalived configured with LVS to spread the load between four Nginx web servers (RR mode, no persistence connections). I was planning to enable SPDY however it seems that SPDY sets up a ...
1
vote
2answers
257 views

Adding IPs to Keepalived

What is the proper way to add IP addresses to a keepalived vrrp_instance without have the IPs flop around or drop for a second?
1
vote
1answer
56 views

keepalived track_script doesn't seem to run

I'm hoping someone can see what I'm doing wrong and offer help to get a keepalived track_script to run. I have the priority set to 101 on the vrrp_instance of the primary keepalived box and 100 on ...
0
votes
1answer
98 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 ...
1
vote
1answer
89 views

Keepalived load balancing MySQL. Backup server time-out

Dear beloved people at ServerFault. I'm trying (and failing) to setup a load balanced MySQL server array. Please enlighten me, show me the error in my ways. Current setup: two MySQL servers with ...
1
vote
1answer
80 views

should a virtual interface clash with keepalived?

I was working on a server today, debian squeeze. After testing this on two staging servers, I added a virtual network interface to /etc/network/interfaces like this: # The primary network interface ...
0
votes
0answers
33 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
1answer
149 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
629 views

Keepalived in ring architecture, or other better approach

I have three load balancer (LB1, LB2, LB3) and plan to use ring architecture for active-active setup, e.g. LB1 LB2 LB3 IP1 IP2 IP3 Idea as below: If LB1 failed, IP1 will be floated to ...
0
votes
1answer
137 views

keepalived failover virtual ip parameters

I have two servers (A-master and B-backup) with one virtual ip. I need to assign the virtual ip to server B in case server A fails. For this I'm trying to configure keepalived. server A virtual ip ...
4
votes
2answers
1k views

UCARP: prevent the original master from taking over the VIP when it comes back after failure?

Keepalived can do this by combining the nopreempt option and the BACKUP state on the both nodes: Prevent VRRP Master from becoming Master once it has failed Prevent master to fall back to master ...
0
votes
1answer
210 views

Multimaster Keepalived Configuration (Virtual IP with Load Balancing)

Here are requirements: 1. High Availability 2. Load Balancing First configuration 1. Two linux servers have been configured with one static IP for each: 10.17.243.11, 10.17.243.12 2. Keepalived has ...
0
votes
2answers
74 views

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 ...
-1
votes
1answer
47 views

What FLOSS linux software should I use for high-availability on an FTP server on vmware? [closed]

I don't mean this as an opinion-based question. I want to know if my assumption is correct to use a network-oriented tool (keepalived) as opposed to a cluster-oriented tool (heartbeat) in a scenario ...
2
votes
2answers
773 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
0answers
99 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 ...
0
votes
0answers
199 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
1answer
334 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 ...
1
vote
1answer
231 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
3answers
616 views

keepalived wont start

I have compiled and configured keepalived but it won't start. This is my very basic config; vrrp_sync_group PUBLIC_WEB_IPS { group { public_http_ip_lan ...
3
votes
2answers
558 views

When a server IP changes, do exising TCP (e.g. http/mysql) connections remain running

We have some PHP-FPM servers and when they need a database connection, they connect to an HAProxy server which selects them a database server to use and the connection opens. When we then want to ...
0
votes
1answer
137 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, ...
1
vote
1answer
253 views

keepalived - no connect and doesn't listen on ports?

Following servers: ....:100::10 mysql1 master ....:100::20 mysql2 master ....:100::30 loadbalancer (keepalived) with virtual ip ...:100::40 Config: vrrp_instance V1 { state MASTER ...
1
vote
1answer
742 views

Any problems with having an active/active HAProxy setup with Keepalived

Apologies if this has been asked before, but I can't seem to find much on it. We're going to be using HAProxy to load balance our MariaDB Galera Cluster. All the articles/tutorials I have seen on ...
2
votes
4answers
2k views

keepalived nopreempt option not working

I want to use nopreempt option with keepalived vrrp setting to run backup node as master when master goes down and again reback into network. I setup nopreempt option in both servers and set state as ...
0
votes
1answer
61 views

Make keepalived send 0 priority when going to FAULT state

When stopping (service keepalived stop), keepalived does send the priority 0 adverts so the backup server takes over almost immediately. However, when it goes to fault mode (check script returns not ...
0
votes
0answers
148 views

Configuring VRRP with keepalived on two machines - interaction with proxy arp

Let's assume we have the following topology for our network: Host1------- Router1-------Router2----------Router3-------Host2 and we want to configure vrrp on the two hosts with keepalived so that ...
0
votes
0answers
92 views

RabbitMQ: Every other message failing to deliver/enter into queue after high availability failover

I'm currently in the process of setting up a two node rabbitmq cluster, but i'm encountering some issues when it comes to high availability. I've got clustering set up correctly on the nodes: ...
0
votes
1answer
2k views

Keepalived's virtual_router_id - should it be unique per node?

I have two nodes running keepalived, and two VIP, e.g. Node 1 Node 2 VIP1 VIP2 So in each node, I have two definition of vrrp_instance, so I assume the two vrrp_instance in my ...
0
votes
1answer
418 views

Keepalived with apache unable to bind interface on Backup server

I have two debian 6 servers running keepalived 1.1.20 with one server acting as a Master and the other as a Backup. Both servers host apache 2.4 that have a global Listener on all interfaces on port ...
0
votes
0answers
238 views

keepalived doesn't switch service

I set up 2 virtual ips global_defs { notification_email { *@*.com } notification_email_from *@*.com smtp_server * smtp_connect_timeout 30 lvs_id ...
0
votes
0answers
352 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
1answer
1k views

View Current State of Keepalived

Is there a way to view the current state (Master/Backup) in a command line on a server instance? Thanks.
1
vote
1answer
4k 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
0answers
142 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 ...
2
votes
2answers
2k views

Both servers running keepalived become master

After a network failure,both servers running keepalived become master. When the network is reestablished, both keep the MASTER state. What could be causing it? Edited: Another information that ...
2
votes
0answers
390 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 ...
0
votes
1answer
377 views

keepalived doing a lot of TCP DUP ACK and TCP Retransmission

I'm trying to replicate the setup our hosting provider have done for our load balancer, which is using keepalived. So I have one "load balancer", running CentOS 6 and keepalived 1.2.7, with two Web ...
0
votes
1answer
131 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 ...
3
votes
2answers
2k views

Keepalived over GRE tunnel for failover on VPS environment

I'm running an application on Linode. Their network does not support multicasting. Many tools used for failover (keepalived, spread/wackamole, hearbeat) require multicast to work (as far as I know). ...
-1
votes
1answer
580 views

LVS Keepalived connection between master and backup [SOLVED] [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 ...