Christopher Metter wrote: > Hi there, > > I'm running a setup with a Heartbeat/DRDB cluster with 2 nodes and open > ldap database stored inside the DRDB-device. > No problem with the setup itself, it runs perfectly. > > > But I'm having following problem: How to update LDAP in a cluster?
Are you talking about updating actual software? -- you'll have to look at what your package manager and pre/postinst scripts actually do, I'm afraid. One way is to - make a list of installed files and directories you've replaced with symlinks into drbd'ed filesystem or otherwise modified, - update on the slave, - go through the list and see what got replaced with stock versions, - revert the changes. Then you can fail over and repeat. IME yum/rpm does replace broken symlinks (broken because drbd is not mounted on the slave) with the default /var/lib/ldap and /etc/openldap. Or you could update the active node, fail over, update the other active node -- that will avoid broken symlinks problem, but cause some downtime on ldap service. Either way make a backup copy of everything first. Dima -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
