[Pacemaker] active cluster and load-balancer

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Wed Jun 29 02:16:55 EDT 2011


On 29.06.2011 05:28, Arizka Ashar wrote:
> Hello All,
>
> in active-active each node have clone vip..
>
> node1 = 1.2.3.4
> node2 = 5.6.7.8
> node3 = 9.10.11.12
> clone vip = 13.14.15.16

honestly, that depends on your network setup and
on the lvs forwarding type.
(e.g. are the node's real ips routable?)

what i would do:
1. configure the clone vip using a tun device on the real servers
    (pay attention to the arp configuration!)
    (13.14.15.16 = tunl0)

2. add the vip to the load balancers.
    make this setup redundant using pacemaker.
    (floating vip, ldirectord, etc.)
    (lb ip = x.x.x.x, y.y.y.y; 13.14.15.16 = floating vip, not cloned)

3. point the lvs setup to the node's ips
    (1.2.3.4, 5.6.7.8, 9.10.11.12)

a similar setup is running at my company
(except for the tunl devices which are not managed by pacemaker)

cheers,
raoul




More information about the Pacemaker mailing list