Init scripts and cluster suite

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

 



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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux