File: README

package info (click to toggle)
drbdlinks 1.09-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 92 kB
  • ctags: 53
  • sloc: python: 265; sh: 80; makefile: 39
file content (20 lines) | stat: -rw-r--r-- 985 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DRBDLINKS README
Sean Reifschneider <jafo@tummy.com>
Tuesday October 26, 2004
===================================

drbdlinks is a program which manages links into a DRBD partition which is
shared among several machines.  A simple configuration file,
"/etc/drbdlinks.conf", specifies the links.  This can be used to manage
links for /etc/httpd, /var/lib/pgsql, and other system directories that
need to appear as if they are local to the system when running applications
after a drbd shared partition has been mounted.

When run with "start" as the mode, drbdlinks will rename the existing
files/directories, and then make symbolic links into the DRBD partition.
"stop" does the reverse.  By default, the rename appends ".drbdlinks" to
the name, but this can be overridden.

An init script is included which runs "stop" before heartbeat starts, and
after heartbeat stops.  This is done to try to ensure that when the shared
partition isn't mounted, the links are in their normal state.