You are here: User Guide > Using LifeKeeper Linux > Maintenance Tasks > Starting and Stopping LifeKeeper

Starting and Stopping LifeKeeper

By default, all LifeKeeper software is installed in the directory /opt/LifeKeeper.

Starting LifeKeeper

If LifeKeeper is not running, type the following command as root:

/opt/LifeKeeper/bin/lkstart

This command starts all LifeKeeper daemon processes on the server being administered if they are not currently running. A message similar to the following is displayed. A delay of several seconds during the startup is normal.

# /opt/LifeKeeper/bin/lkstart
steeleye-lk
3.00
Copyright (C) 2000 SteelEye Technology Inc.

LIFEKEEPER STARTING TO INITIALIZE AT: Tue Apr 18
14:43:03 EDT 2000
LifeKeeper is starting to initialize at Tue Apr 18
14:43:04 EDT 2000
LIFEKEEPER NOW RUNNING AT: Tue Apr 18 14:45:44 EDT 2000

Note: If you receive the following error message when you start LifeKeeper, you should install / re-install the LifeKeeper Installation Support CD:  

ERROR:
Cannot find the $LKROOT/config/lkstart-hook file.
Have you installed the LifeKeeper Distribution Enabling package?

See lkstart under the LCD(1M) man page for additional details.

Stopping LifeKeeper

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

/opt/LifeKeeper/bin/lkstop

This command halts all LifeKeeper daemon processes on the server being administered if they are currently running. Messages similar to the following are displayed:.

# /opt/LifeKeeper/bin/lkstop

STOPPING LIFEKEEPER AT: Tue Apr 18 14:08:44 EDT 2000
/opt/LifeKeeper/bin/perform_action -G -t lk_linux-on-galahad -a remove -- -m
LifeKeeper: Oracle database lk_linux shutdown started
LifeKeeper: Oracle database lk_linux successfully shut down
/opt/LifeKeeper/bin/perform_action -G-t filesys5035 -a remove -- -...
LifeKeeper: Flushing buffers on /dev/sdc2.ioctl.pl -f /dev/sdc2
LifeKeeper: Flushing buffers on /dev/sdc. ioctl.pl -f/dev/sdc
LifeKeeper: unlocking SCSI /dev/sdc
LifeKeeper: SCSI /dev/sdc successfully unlocked.
/opt/LifeKeeper/bin/perform_action -G -thome1-on-galahad -a remove -- -m /opt/LifeKeeper/bin/perform_action -G -tdevice4925 -a remove -- -m /opt/LifeKeeper/bin/perform_action -G -tipeth0-172.17.100.247 -a remove -- -m
LIFEKEEPER NOW STOPPED AT: Tue Apr 1814:09:41 EDT 2000

See lkstop under the LCD(1M) man page for additional details.

LifeKeeper Processes

To see a list of all LifeKeeper daemon processes currently running, type the following command:

ps -ef | grep LifeKeeper

You should see output similar to the following:

root 947 1 0 16:25 ? 00:00:00 /opt/LifeKeeper/bin/lcm
root 948 1 0 16:25 ? 00:00:00 /opt/LifeKeeper/bin/ttymonlcm
root 949 1 0 16:25 ? 00:00:00/opt/LifeKeeper/bin/lcd
root 950 1 0 16:25 ? 00:00:00/opt/LifeKeeper/bin/lkcheck
root 951 1 0 16:25 ? 00:00:00/opt/LifeKeeper/bin/lkscsid
root 1104 1 0 16:26 ? 00:00:00/opt/LifeKeeper/bin/lk_logmgr -l

Note: There are additional GUI Server daemon processes that run in addition to the core LifeKeeper daemon processes shown above.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.