an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
1answer
109 views

IP-based load balancing on external and internal interface

I have a certain distributed (as in, multiple components on multiple machines) service, that should be made available from the outside world. So, in LVS terminology, the clients are "on the internet", ...
0
votes
3answers
783 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 ...
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 ...
1
vote
0answers
390 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 ...
4
votes
1answer
2k views

haproxy and keepalived on Amazon EC2

The new Amazon Opsworks service uses haproxy rather than Amazon's own very limited elastic load-balancer so I started investigating haproxy as a better option for load-balancing our web app servers, ...
0
votes
1answer
194 views

Can I use virtual IP in EC2 VPC?

I'm trying to get keepalived working in Amazon's EC2 VPC. But I cannot. Is it possible to use virtual IP in EC2 VPC? Or how can I use keepalived in EC2 VPC?
1
vote
1answer
903 views

keepalived 2 VIP and 2 servers

Is it possible to configure keepalived in a such 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 ...
3
votes
1answer
285 views

Virtual IP Failover when machine is overloaded

We have been using keepalived in combination with a virtual IP address for two years now. In the rare case that a machine crashes this works very well. But when there are issues on the box itself we ...
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
1k views

Keepalived: Highest weight only scheduling

I have a keepalived setup with three servers behind an ip. One is setup as a sorry server and only serves the maintenance pages, the other two are actual app servers. We would like it setup so that ...
0
votes
1answer
774 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
3answers
911 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 ...
2
votes
1answer
311 views

ipvsadm lists a few hosts by IP only, rest by name

We use keepalived to manage our Linux Virtual Server (LVS) load balancer. The LVS VIPs are setup to use a FWMARK as configured in iptables. virtual_server fwmark 300000 { delay_loop 10 ...
1
vote
1answer
145 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 ...
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 ...
1
vote
1answer
139 views

Why state is needed for keepalived

From the doc ! MASTER and BACKUP state are determined by the priority ! even if you specify MASTER as the state, the state will ! be voted on by priority (so if your state is MASTER but your ! ...
0
votes
1answer
284 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 ...
1
vote
1answer
413 views

Compare HTTP load balacing using HAProxy & Nginx

My requirements: Weighted RR load balancing NO need sticky session support NO need SSL NO need HTTP 1.1 to backend So effectively I just need very simple HTTP load balacing!! My Boss asked to try ...
0
votes
1answer
864 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
1answer
2k views

keepalived doesn't listen on virtual IP

I'm learning to use keepalived; for now within a single machine - just to make sure the forwarding works. I've started a mock webserver listening on 192.168.56.200:8080. It just replies with the ...
1
vote
1answer
456 views

Loadbalance nginx proxies with keepalived possible?

I was wondering if I could load balance 2 nginx proxies with keepalived. I have already established high availability for 2 proxies in MASTER - BACKUP setup with keepalived. So Failover is working ...
1
vote
0answers
157 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 ...
1
vote
1answer
495 views

IP failover on different subnets

I have two real servers, on different subnets, each one with a permanent IP, and with a failover IP that can be used by either server. The hoster provides an API with which I can assign the failover ...
1
vote
2answers
322 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?
0
votes
1answer
985 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 ...
3
votes
2answers
761 views

Prevent master to fall back to master after failure

I'm using keepalived to setup a virtual ip that points to a master server. When a failover happens it should point the virtual ip to the backup, and the IP should stay there until I manually enable ...
0
votes
1answer
611 views

Is there a way to tell keepalived to make a health check immediately?

We have a high-availability setup in which lvs distributes requests between a set of backend servers ('realservers' in LVS-speak). LVS is managed by keepalived. Each realserver exposes a health check ...
2
votes
2answers
1k views

keepalived shutdown - does not run “notify” hook on daemon shutdown

I'm running keepalived under Debian (Lenny, Squeeze) in a fairly simple setup, I'm just (ab)using it as a VRRP daemon to decide the mastership between two equal machines for some virtual IPs. All the ...
0
votes
1answer
470 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
1answer
567 views

Keepalived configuration - To set MASTER/BACKUP or EQUAL

Now this is something which has been on my mind since I started stetting up our load balancers. Would you use the MASTER/BACKUP configurations for keepalived if both your HAProxy servers were the ...
0
votes
1answer
1k views

How to configuration keepalived on Amazon EC2?

I rad some article. Keepalived over GRE tunnel for failover on VPS environment http://blog.killtheradio.net/how-tos/keepalived-haproxy-and-failover-on-the-cloud-or-any-vps-without-multicast/ but, I ...
4
votes
1answer
6k views

Keepalived for more than 20 virtual addresses

I have set up keepalived on two Debian machines for high availability, but I've run into the maximum number of virtual IP's I can assign to my vrrp_instance. How would I go about configuring and ...
1
vote
2answers
780 views

keepalived questions (requirements, abilities, limitations)

1) What are keepalived's (physical/network) requirements? Does the two (or more) keepalived' nodes need to be connected to the same switch? (something related to broadcasting maybe). 2) Can ...
6
votes
1answer
3k views

Logging Verbosity in Keepalived.conf?

My keepalived VIP on one of my routers stopped responding. I still saw it on the primary router and not the secondary router as I would expect, and I could ping the regular IPs. As soon as I restarted ...
3
votes
1answer
2k views

Keepalived not sending mutlicast advertisments

I have two systems, both VMs. The are configured to use Bridged networking. I am trying to get keepalived to manage ownership of a VIP - 10.190.1.230. I have tried two versions of keepalived-1.2.2 and ...
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 ...
6
votes
2answers
2k views

keepalived issues on xen domU

I cannot manage to run keepalived correctly on xen domU. I am following this link for configuration, and it works great on some local VM (running with KVM). If I set up the exact same configuration, ...
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). ...
4
votes
1answer
1k views

connection sync suggestions with HAproxy and keepalived

I managed to get HAproxy working in a failover configuration as suggested on the architecture.txt document using keepalived. I used CentOS 5.5, HAproxy rpm (haproxy-1.3.25-1.el5) from epel repo, and ...
7
votes
3answers
4k views

Prevent VRRP Master from becoming Master once it has failed

I have two machines (A and B, A is Master) running VRPP (from keepalived) for a Virtual IP. How can I prevent A from becoming Master again if it has failed and come back up (for whatever reason)? ...