[Pacemaker] Arp and configuration advice

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Sep 9 14:09:25 UTC 2009


Hi,

On Tue, Sep 08, 2009 at 05:03:16PM -0400, j wrote:
> Greetings,
> 
> I have a two webserver/two database server clustered setup. I've got
> ldirector and LVS managed by pacemaker and configured to be able to run
> on either database machine.
> 
> I know how to disable ARP for the machine not running ldirector,
> unfortunately I'm not sure how to dynamically get the webservers to
> update their ARP cache when ldirector gets moved upon failure.
> 
> Is it possible to set up a service for the two web servers to delete the
> ARP cache for the VIP on the event that ldirector gets moved?
> 
> I can build my own OCF script to update the arp cache, that's not an
> issue. I simply don't know how to configure pacemaker to say "Oop. db2
> died. Move ldirector to db1 and tell the webservers to update their ARP
> cache".
> 
> Any suggestions?

Do you have a virtual IP address with that resource? If so,
IPaddr RA should take care of that, i.e. it will send a
gratuitous ARP. If not, use SendArp. Or do I miss something?
Sorry, not much experience with ldirector.

Thanks,

Dejan

> Thanks in advance!
> 
> Justin
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list