Script to mark devices as primary and mount file systems
/etc/ha.d/resource.d/drbddisk [resource] {{start} | {stop} | {status}}
The /etc/ha.d/resource.d/drbddisk script brings the local device of resource into primary role. It is designed to be used by Heartbeat.
In order to use /etc/ha.d/resource.d/drbddisk you must define a resource, a host, and any other configuration options in the DRBD configuration file. See /etc/drbd.conf for details. If resource is omitted, then all of the resources listed in the config file are affected.
This document was revised for version 8.0.14 of the DRBD distribution.
Written by Philipp Reisner <[email protected]> and Lars Ellenberg <[email protected]>.
Report bugs to <[email protected]>.
Copyright 2001-2008 LINBIT Information Technologies, Philipp Reisner, Lars Ellenberg. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
drbd.conf(5), drbd(8), drbdsetup(8)drbdadm(8)\m[blue]DRBD Homepage\m[]\s-2\u[1]\d\s+2
DRBD Homepage
http://www.drbd.org/