Questions tagged [ucarp]

13 questions
6
votes
2 answers

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 after failure How about the UCARP? Name :…
quanta
  • 50,327
  • 19
  • 152
  • 213
5
votes
4 answers

ucarp: promote slave to master

I have got ucarp working on my two ubuntu servers. Apache, Postfix, Dovecot are working in HA mode so if one host goes down the other automatically takes over. My first problem is that I don't know how can I manually promote the slave to…
Jure1873
  • 3,692
  • 1
  • 21
  • 28
2
votes
0 answers

Configure SSH while using UCARP for failover

I have SSH installed, and UCARP configured to fail over a virtual IP when one of the two boxes goes down. The problem that I'm having is when a VM is running, and the ucarp interface is active (eth0:ucarp), I cannnot ssh to the VM using the eth0…
EGr
  • 575
  • 3
  • 12
  • 29
2
votes
1 answer

How to make iptables ALLOW rule for multicast?

I have two servers that uses ucarp as failover. On each server eth1:1 is reserved for ucarp's keepalive connection. ucarp uses the destination IP as multicast address 224.0.0.18. On ucarp master server is eth1:1's IP 192.168.245.2 and on the…
Sandra
  • 9,973
  • 37
  • 104
  • 160
2
votes
3 answers

How are you supposed to setup UCARP in CentOS?

I have UCARP working but the documentation is confusing and I've found at least 3 different ways suggested in blogs (these are old and don't all seem to work). I currently have ucarp- lines added to /etc/network/interfaces under ubuntu but now I…
JamesRyan
  • 8,138
  • 2
  • 24
  • 36
2
votes
1 answer

Proxy-Arp setup with Keepalived

I currently am trying to create a setup with N servers where 1 server is the master for a Virtual IP, and the (N-1) servers act as backups, presumably controlled by keepalived. However, one issue I see with keepalived is that its intention is to…
stoneman_41
  • 121
  • 1
1
vote
1 answer

Monitor a ucarp VIP using another interface

On Debian machines, I would like to setup a VIP between two nodes for a public IP, but I would like to avoid using three IP addresses to make ucarp communicate between the two nodes. Can I set it up so that ucarp will communicate using another…
raphink
  • 11,337
  • 6
  • 36
  • 47
1
vote
1 answer

How to get UCARP to work over wireless?

I would like to get ucarp to work over a wireless (802.11g) interface, but the packages is never seen on the wired end. The setup looks like this: Box1 (10.0.0.11, wireless) -- AP -- (10.0.0.13, wired) Box2. The boxes are running Fedora 14. Ucarp…
schafdog
  • 11
  • 2
1
vote
3 answers

Multiple UCARP VIPs on single Interface with Debian/Ubuntu

The example ucarp config for a virtual IP for Debian/Ubuntu is in /usr/share/doc/ucarp/README.Debian and is as follows: The recommended method for configuring ucarp is via /etc/network/interfaces. For example: iface eth0 inet static …
Kyle Brandt
  • 82,107
  • 71
  • 302
  • 444
0
votes
1 answer

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, back-end.a Secondary site: front-end.b, back-end.b A…
Barry Kelly
  • 154
  • 2
  • 9
0
votes
2 answers

Ucarp start error on Centos 6 : "You must supply a valid host id"

I'm trying to get ucarp working on 2 Centos 6 servers running Apache. I've configured both /etc/sysconfig/carp/vip-001.conf and /etc/sysconfig/network-scripts/eth0 and eth0:0 as such on serv1: vip-001.conf : # Virtual IP configuration file for…
PaKempf
  • 63
  • 1
  • 10
0
votes
1 answer

Network GURUs - IP failover combined with load-balancing..... Is there such software? Is it possible?

I've been playing around with high-availability solutions for a few days and so far I find UCARP very useful for IP fail-overing. It's dead simple and does the job. I was thinking about taking it a step further: If the router which connects the two…
Poni
  • 305
  • 3
  • 13
0
votes
1 answer

Can the NIC ucarp uses be bridged?

I have setup ucarp failover using this howto, and it works great. # /etc/network/interfaces auto eth0 iface eth0 inet static address 10.200.0.102 netmask 255.255.255.0 ucarp-vid 3 ucarp-vip 10.200.0.200 …
Sandra
  • 9,973
  • 37
  • 104
  • 160