Questions tagged [keepalived]

an open source daemon that implements the VRRP standard.

Filter by
Sorted by
Tagged with
14 votes
3 answers
20k 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)? I'...
MrMahgu's user avatar
  • 283
3 votes
2 answers
4k 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). I'...
andrew's user avatar
  • 299
2 votes
1 answer
567 views

How to share local IP within a cluster if server is bound to one IP?

I have a cluster with 3 nodes running in VMs on test setup. Now I want to take it to production and rented 3 dedicated root servers at Hetzner Online connected by a switch. As I found out, they do ...
merlin's user avatar
  • 2,172
1 vote
1 answer
5k 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 ...
Rad's user avatar
  • 195
13 votes
2 answers
29k 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 ...
cvaldemar's user avatar
  • 1,126
12 votes
9 answers
73k 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
Ben's user avatar
  • 263
11 votes
3 answers
38k views

keepalived VRRP_script not failing over

So I am running keepalived on two servers and I can't get it to failover to the other. Below I have my config for one of the servers. The only different between the two is the priority numbers master ...
Nvasion's user avatar
  • 213
3 votes
2 answers
5k 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 (...
Chrille's user avatar
  • 483
1 vote
1 answer
709 views

IP forwarding with IPTables for lvs nat mode

I am learning about the L3 loadbalancers and now working on the keepalived NAT mode.The packet flow should be Client ------> L3(lvs DNAT)------> real servers and the return flow should be exact ...
chellathurai's user avatar
1 vote
0 answers
1k views

Is it possible to establish two simultaneous keepalived VIPs to allow HAProxy load balanced HA via DNS round robin?

I'm currently investigating the use of HAProxy as a Load Balancer. I've found that the recommended configuration for HA of the HAProxy itself (not the backends) involves using keepalived to establish ...
duct_tape_coder's user avatar
1 vote
1 answer
3k 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 ...
Bastien974's user avatar
  • 1,916
0 votes
1 answer
2k 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 ...
oeegee's user avatar
  • 1