If you need to stop LifeKeeper, type the following command as root to stop it:

/etc/init.d/lifekeeper stop-nofailover

This command will shut down LifeKeeper on the local system if it is currently running. It will first remove all protected resources from service on the local system then shut down the LifeKeeper daemons. Protected resources will not fail over to another system in the cluster. LifeKeeper will automatically restart when the system is restarted.

/etc/init.d/lifekeeper stop-daemons

This command will skip the section that removes resources from service. The resources will remain running on the local system but will no longer be protected by LifeKeeper. This command should be used with caution, because if resources are not gracefully shut down, then items such as SCSI locks will not be removed. If the system on which this command is executed subsequently fails or is shut down, the system(s) will NOT initiate failover of the appropriate resources. LifeKeeper will automatically restart when the system is restarted.

/etc/init.d/lifekeeper stop

This command will remove the resources from service but does not set the !nofailover! flag (see LCDIflag(1M)) on any of the systems that it can communicate with. This means that failover will occur if the shutdown_switchover flag is set. If shutdown_switchover is not set, then this command behaves the same as /etc/init.d/lifekeeper stop-nofailover. LifeKeeper will automatically restart when the system is restarted.

/etc/init.d/lifekeeper stop-failover

This command will remove resources from service and initiate failover. It will behave the same as /etc/init.d/lifekeeper stop when the shutdown_switchover flag is set. LifeKeeper will automatically restart when the system is restarted.

Note: Alternatively, you may stop LifeKeeper using:

  • /opt/LifeKeeper/bin/lkstop
    This command will shut down LifeKeeper on the local system if it is currently running. It will first remove all protected resources from service on the local system then shut down the LifeKeeper daemons.
  • /opt/LifeKeeper/bin/lkstop -f
    This command will skip the section that removes resources from service. The resources will remain running on the local system but will no longer be protected by LifeKeeper.

Disabling Automatic LifeKeeper Restart

If you do not want LifeKeeper to automatically restart when the system is restarted, type the following command:

chkconfig lifekeeper off

See the chkconfig man page for further information.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment