[DRBD-user] Init scripts in 8.3.7

Joseph L. Casale jcasale at activenetwerx.com
Thu Mar 11 21:00:35 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.


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



More information about the drbd-user mailing list