You are here: Command Line Interface > Commands

Commands

Groupings and Basic Descriptions of LifeKeeper bin Commands

The commands will be in: /opt/LifeKeeper/bin

To place this in your path, execute: . /etc/default/LifeKeeper

 

Starting and Stopping LifeKeeper, the GUI, etc.

/etc/init.d/lifekeeper start - Start LifeKeeper core

/etc/init.d/lifekeeper stop - Stop LifeKeeper core

/etc/init.d/lifekeeper stop-daemons - Stop LifeKeeper core but do not stop the protected resource

/etc/init.d/lifekeeper stop-failover - Stop LifeKeeper Core and initiate failover

/etc/init.d/lifekeeper stop-nofailover - Stop LifeKeeper core but do not allow failover

lktest - Checks to see if LifeKeeper is configured and running properly

Options:

none

lkGUIserver - Start and stop the LifeKeeper GUI daemon processes

Options:

start

stop

restart

lkGUIapp - Starts the LifeKeeper Java application

Options:

none

 

Monitoring LK and Other Misc. LifeKeeper Commands

lcdstatus - Display status of LifeKeeper resources, comm paths, etc.

Options:

-d - <node to run command on>

-q - short reports

lcdsync - Writes LifeKeeper configuration information from memory to disk

Options:

-d - <other node to run it on>

lcdrcp - Transfer files from one LifeKeeper node to another via the comm. path

Options:

lcdrcp <file names> {dest:ofile | dest:odir}

lcdremexec - Execute the given command on the given LifeKeeper node

Options:

-d <node to run command on> <command>

lcdrecover - Checks and sets resource hierarchy instance settings

Options:

see documentation

 

Bringing a Hierarchy into and out of Service

perform_action - Performs a given action on a given resource.

Can be used to switch a given hierarchy to another node.

Options:

-a <action name>

-t <tag name>

Examples:

perform_action -a restore -t $LKTag - bring tier into service

perform_action -a remove -t $LKTag - take tier out of service

 

 

Checking the LifeKeeper configuration

lkchkconf : Performs the following checks to verify /etc/default/LifeKeeper settings.

Options:

None

 

of

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