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
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to