You are here: User Guide > Using LifeKeeper Linux > Advanced Tasks > Types of Scripts

Types of Scripts

LifeKeeper uses three principle kinds of recovery scripts: remove, restore and delete. After you develop these scripts, you place them in the appropriate directory so that they are available to LifeKeeper in case of a failure situation: /opt/LifeKeeper/subsys/application/Resources/type/actions.

If you use the LifeKeeper GUI to define your application resource hierarchies, LifeKeeper automatically places the scripts in the appropriate directories.

In addition to the restore, remove and delete scripts specific to each resource type, LifeKeeper also interacts with recovery scripts that can supply global actions, actions performed either before or after restore, remove or delete:

Note that these scripts are run regardless of what application or resource type is having the operation performed. For example, if you supply a postremove script to be run after an out-of-service operation, and a comm application is brought out of service, this script also runs after the comm remove script is run.

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