The filesys, comm, WebServer, database, mail and appsuite directories each contain a resources subdirectory. The content of those directories provides a list of the resource types that are currently defined and managed by SIOS Protection Suite:
- filesys resource types. You find these resource types in the $LKROOT\LifeKeeper\subsys\filesys\resources directory:
- volume — disk partitions or virtual disk devices
- comm resource types. You find these resource types in the /$LKROOT/LifeKeeper/subsys/comm/resources directory:
- IP — created by the IP Recovery Kit
- DNS — created by the DNS Recovery Kit
- volshare — fileshare resources created by the LAN Manager Recovery Kit
- lanman — computer alias created by the LAN Manager Recovery Kit
- WebServer resource types. You find these resource types in the $LKROOT\LifeKeeper\subsys\WebServer\resources directory:
- IIS — created by the IIS Recovery Kit
- database resource types. You find these resource types in the $LKROOT\LifeKeeper\subsys\database\resources directory:
- Microsoft SQL Server
- PostgreSQL
Each resource type directory contains one or more of the following:
- instances. This file reflects the permanent information saved in the LCD about resource instances. It contains descriptive information for the resource instances associated with this resource type.
- actions. This directory contains the set of recovery action programs that act only on resource instances of the specific resource type. If, for your application, any actions apply to all resource types within an application, place them in an actions subdirectory under the application directory rather than under the resource type directory.
Recovery direction software is used to modify or recover a resource instance. Two actions, remove and restore, must exist in the actions directory for each resource type.
Resource Actions
The actions directory for a resource type contains the programs (most often shell scripts) that describe specific application functions. Two actions are required for every resource type—restore and remove.
The remove and restore programs should perform symmetrically opposite functions; that is, they undo the effect of one another. These scripts should never be run manually. They should only be run by executing the LifeKeeper Recovery Action and Control Interface (LRACI) perform_action shell program described in the LRACI-perform_action man page.
Post your comment on this topic.