an open source daemon that implements the VRRP standard.

learn more… | top users | synonyms

0
votes
0answers
10 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
22 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
56 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 ...
0
votes
1answer
27 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
27 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
30 views

Networking issues with bonding and keepalived

I have the following configuration: 2xHP DL160 with two onboard NICs (enp5s0f0 and enp5s0f1) 2xPCIe card with two ports (enp7s0f0 and enp7s0f1) On every machine I have bonded the interfaces: ...
0
votes
0answers
56 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
119 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 ...
0
votes
0answers
98 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
129 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
129 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
481 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
88 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
327 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
0answers
56 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
149 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
1answer
126 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 ...
0
votes
0answers
125 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
1answer
140 views

Keepalived configuration for VRRP

I am trying to understand if there is a relation between garp_master_delay and advert_int. In all the configurations I saw, advert_int was less than garp_master_delay. Is there any reason for this? ...
2
votes
1answer
391 views

How would you set up multiple SSL terminating Haproxy instances, which are themselves load balanced?

I've been doing a great deal of research and experimentation on this, and I'm really running into a wall: I'm trying to set up HAProxy as the reverse proxy for a high-availability environment. All ...
0
votes
0answers
31 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 ...
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 ...
0
votes
1answer
548 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
197 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
197 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
1answer
197 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
132 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
1answer
693 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
2answers
698 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 ...
2
votes
1answer
493 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
348 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
108 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
513 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 ...
0
votes
1answer
551 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
267 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
80 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 ...
1
vote
0answers
213 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
669 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 ...
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 ...
1
vote
1answer
625 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
2answers
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 ...
3
votes
2answers
695 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
289 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
472 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
211 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
458 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 ...
2
votes
1answer
1k 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
624 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
2answers
3k 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
1
vote
1answer
9k 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 ...