[DRBD-user] Init scripts in 8.3.7

Lars Ellenberg lars.ellenberg at linbit.com
Fri Mar 12 10:06:05 CET 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thu, Mar 11, 2010 at 08:00:35PM +0000, Joseph L. Casale wrote:
> When using drbd with cman under Redhat Cluster Suite, I need drbd to start
> before cman so I edit the init scripts as follows:
> 
> sed -i "s/^# chkconfig: 345 70 08/# chkconfig: 345 20 80/g" /etc/rc.d/init.d/drbd
> sed -i "s/^# Required-Start: \$local_fs \$network \$syslog/# Required-Start: \$network \$syslog/g" /etc/rc.d/init.d/drbd
> sed -i "s/^# Required-Stop:  \$local_fs \$network \$syslog/# Required-Stop:  \$network \$syslog/g" /etc/rc.d/init.d/drbd
> 
> Are there any caveats to this I overlook? The $local_fs requirement causes it
> to start after cman.

Why would cman provide "local" fs?

Anyways, all that matters is that
both the start order,
and the stop order,
are correct.
So if the result of that modification works for you, go for it.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list