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

[DRBD-user] Init scripts in 8.3.7

From: Joseph L. Casale <jcasale_at_nospam>
Date: Thu Mar 11 2010 - 20:00:35 GMT
To: "'drbd-user@lists.linbit.com'" <drbd-user@lists.linbit.com>

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.

Thanks,
jlc
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user