an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
1answer
11 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
80 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 ...
2
votes
1answer
106 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 ...
3
votes
2answers
474 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
0answers
24 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
0answers
34 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
77 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
128 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
235 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 ...
0
votes
0answers
24 views

How to checking remote machine is active or not using tool? [duplicate]

1)Initially I have 5 servers.I am passing one by one server Ip through java code. 2)If machine is InActive then send an email to admin. 3)I need a tool for remote machine is up or down (up means ...
0
votes
0answers
100 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
65 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
0answers
149 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
164 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
539 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.
0
votes
1answer
2k 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 ...
1
vote
1answer
608 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
36 views

Keepalived process not listening to advertisement

I have a keeplived setup working on RHEL 5.5 working file. Below is strace of keepalived master, which is reading advertisements off the network and sends its advertisement to the network. ...
0
votes
0answers
76 views

Keepalived load balancing algorithms comparison

I am trying to figure out what are the pros and cons of the different load balancing algorithms available in Keepalived. I am interested in the following points: Typical use cases; Ease of ...
0
votes
0answers
108 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
1answer
43 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 ...
2
votes
0answers
281 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
294 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
0answers
88 views

keepalived and real server monitor

I want to load balance requests to a web servers pool, so I decided to use a couple of servers running keepalived to configure in MASTER/BACKUP configuration. Everything works fine: the vrrp ...
-1
votes
1answer
403 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 ...
0
votes
2answers
2k views

Both servers running keepalived become master and have a same Virtual IP

Both two servers started keepalived, and the BACKUP server transited to MASTER STATE immediately. both two became MASTER now. Both two nodes are sending VRRP advertisement msg. on master server: ...
1
vote
0answers
108 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
2answers
544 views

Per-packet round-robin load balancing for UDP

I need to load-balance UDP traffic between a number of "realservers" and do it in a truly round-robin fashion. I've started with keepalived, but unexpectedly discovered, that LVS treats UDP traffic as ...
0
votes
0answers
166 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 ...
0
votes
1answer
75 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
444 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 ...
1
vote
4answers
1k 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
235 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
1k 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
144 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
547 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
213 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
1k 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
660 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
471 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
2answers
683 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
242 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 ...
0
votes
1answer
104 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
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
127 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
260 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
358 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
607 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
1k 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
383 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 ...