On Wed, Sep 28, 2011 at 03:38:15PM -0500, John Keith Hohm wrote: > > There's no one specific workflow, but in case of new agents, I'd > > rather just add a file myself. That is unless for some reason > > you want to keep the history. > > That is fine with me, I can only guess that Jeroen and Tomo are fine > with the attribution of authoring unspecified portions. I think there > are no great secrets behind why the agent does what it does that would > require the history to understand.
The RA has been applied and pushed to the common repository. I just reduced the default for stop_escalate to 15 seconds to match the advised stop timeout of 20 seconds. It would've been better if the agent was added to the OpenLDAP distribution, as it has been suggested in the beginning, but it seems like that policy is to remain in the realm of wishful thinking. A few notes: - the RA cannot support configuration on shared storage, for that probes would need to be handled better (right now, it would just exit with OCF_ERR_INSTALLED) - the terminate function is sort of hard to understand - code could be still improved here and there (though it seems correct to me) > > So, you use DRBD to replicate the data. Did you consider using > > the slapd mirror mode? Would that also work with this RA? > > I think mirror mode solves a different problem than clustering. We are > also using N-Way Multi-Master replication, not between cluster nodes but > between the clustered slapd and other, virtual, servers. Meanwhile, the > clustered slapd gets the highest priority among the multiple LDAP server > addresses configured for the domain, and I don't have to worry about > delaying lookups when I take a node down. > > I suppose if one were afraid of multi-master mode and wanted to manage a > slapd syncrepl group where the master moved between nodes, it would make > sense to enhance this resource agent to support it. OK. My experience with OpenLDAP is already rusty. Though I understand that this RA, as it is, could still be used with the mirror mode. In your previous message you have also shown an example cluster configuration. A number of RA are documented in more detail at wiki.linux-ha.org and you may want to add a slapd section. Also, there's a RA test utility called ocft, it would be great to get an ocft test file for the slapd RA. Cheers, Dejan > -- > John Keith Hohm > <j...@hohm.net> > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/