drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] Init scripts in 8.3.7

Re: [DRBD-user] Init scripts in 8.3.7

From: Lars Ellenberg <lars.ellenberg_at_nospam>
Date: Fri Mar 12 2010 - 09:06:05 GMT
To: drbd-user@lists.linbit.com

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 _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user