Specifications
Command Line Mirror Administration
maximum size. However, the log will wrap around and overwrite the earliest entries when it detects
that it has run out of disk space.
Command Line Mirror Administration
In addition to performing actions through the LifeKeeper GUI, the mirror can also be administered
using the command line. There are several commands (found in the $LKROOT/bin directory) that can
be used to administer a DataKeeper resource.
Mirror Actions
mirror_action <tag> <action> <source> [target(s)]
<tag> is the LifeKeeper resource tag of the DataKeeper resource
<action> is one of: pause, resume, force, fullresync
<source> is the current source system
<target> is the target system (or list of systems) that the action should affect
Examples:
To pause the mirror named datarep-ext3 from source system, adam, to target system, eve:
mirror_action datarep-ext3 pause adam eve
To resume replication from adam to both eve and sophocles:
mirror_action datarep-ext3 resume adam eve sophocles
To force the mirror online on system eve:
mirror_action datarep-ext3 force eve
To resume replication and force a full resynchronization from adam to sophocles:
mirror_action datarep-ext3 fullresync adam sophocles
Mirror Settings
mirror_settings <tag> <setting> <value>
<tag> is the LifeKeeper resource tag of the DataKeeper resource
<setting> is one of: logdir, logmax, compress
<value> is the value to be set
300Administration