DRBDLinks
Introduction
A program to manage making and restoring links in a Linux
HA cluster using
DRBD. When the shared cluster drive
is mounted, certain files and directories are moved aside and links are
created into the shared partition. The list of files and directories
which are linked is controlled by a configuration file, for example:
mountpoint('/shared')
link('/home/')
link('/etc/httpd')
link('/var/log/httpd', '/shared/logs/httpd')
In this example, we are mounting the DRBD partition in "/shared", and
by default we are causing "/home" to be linked to "/shared/home",
"/etc/httpd" to "/shared/etc/httpd", etc... The last line shows an example
of a link which specifies the destination location explicitly, instead of
assuming that it goes to the same location under shared.
Download
FTP:
ftp.tummy.com:/pub/tummy/drbdlinks/
Recent changes
WHATSNEW (first 15 lines):
================================
Version 1.12 -- Thu Sep 04, 2008
Added OPTIONS and EXAMPLES sections in the man page (Mike Loseke)
Log debugging information via syslog.
Added "cleanthisconfig" config command. This is meant to be used in a
system with multiple drbd mountpoints, started at different times.
Each one would typically have it's own config file, which may not be
available at system boot. drbdlinks will now copy these files off to a
safe location when it starts, and drbdlinksclean will run any of these
it finds in addition to the normal drbdlinks.conf.
Adding a "/var/run/drbdlinks/configs-to-clean" directory, any config files
that are in there will get cleaned by "drbdlinksclean" at system boot.
Modified monitor option so that it returns "stopped" instead of
"not configured" if there is no configuration file. Required for the
[...]
Press
Requirements
Python: a current version (2.0+)
to work. You can get source (and binaries for selected systems) from
www.python.org.
License
DRBDLinks is released under the GPL.
Copyright
DRBDLinks (source, binaries, report formats, documentation and all
related matter) is copyright © 2004 Sean Reifschneider, tummy.com,
ltd.