[CentOS] openldap mmr + heartbeat hot standby

Wed May 23 12:59:06 UTC 2012
Wessel van der Aart <wessel at postoffice.nl>

Hi List,

I've setup 2 openldap servers in n-way multimaster replication mode in a 
test environment, both run centos 6.2,
this works well but now i'm trying to  make these 2 servers failover 
using heartbeat.
i've got no experience with heartbeat (or setting up clusters in 
general) however from what i understand heartbeat starts/stops the 
service if the server has the virtual IP assigned or not.
this would be fine for httpd , but since replication doesn't work when 
slapd is stopped i was wondering if anyone knows if there is a way to 
setup heartbeat with a hot standby? so that the service keeps running 
but the ip does gets reassigned when one goes down.

Thanks, Wessel