[Linux-cluster] Init scripts and cluster suite
Jos Vos
jos at xos.nl
Mon Aug 28 08:27:02 UTC 2006
Hi,
Init scripts usually return a non-zero return code when they try to
stop a service that isn't running anymore.
When a cluster service has failed for some reason, the cluster suite
requires you to first disable a service, before enabling it again.
Disabling a service will try to stop the service, which will fail,
and thus the service can't be disabled (and also not enabled again).
The workaround is to either manually start the service and then
disabling it (bad idea for a cluster service) or to write all
cluster service scripts yourself, even if you just need to
control a standard service like httpd.
Is the latter the recommended solution for this problem?
Thanks,
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the Linux-cluster
mailing list