[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Init scripts and cluster suite



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 xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]