Specifications
Resources Subdirectories
different resource type for other application resource hierarchies or app for generic or user-
defined applications.
l
Other typical flags include !nofailover!machine andshutdown_switchover. The
!nofailover!machine flag is an internal, transient flag created and deleted by
LifeKeeperwhich controls aspects of server failover. The shutdown_switchover flag
indicates that the shutdown strategy for this server has been set to switchoversuch that a
shutdown of the server will cause a switchover to occur. See LCDI-flag(1M) for more
detailed information on the possible flags.
Resources Subdirectories
The scsi and gen directories each contain a resources subdirectory. The content of those directories
provides a list of the resource types provided by LifeKeeper:
scsi resource types. You find these resource types in the /opt/LifeKeeper/subsys/scsi/resources
directory. Note that there may be additional directories depending upon your configuration.
l device—disk partitions or virtual disk devices
l disk—physical disks or LUNs
l hostadp—host adapters
gen resource types. You find these resource types in the /opt/LifeKeeper/subsys/gen/resources
directory:
l filesys—file systems
l app—generic or user-defined applications that may depend upon additional resources
Each resource type directory contains one or more of the following:
l 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.
WARNING: Do not modify the instances file (or any LCD file) directly. To create or manipulate
resource instances, use only the LifeKeeper GUI functions or the LifeKeeper LCDI_instances
commands: ins_create, ins_remove, ins_gettag, ins_setas, ins_setinfo, ins_setinit, ins_setstate and
ins_list. Refer to the LCDI_instances (1M) manual pages for explanations of these commands.
l recovery. This optional directory contains the programs used to attempt the local recovery of a
resource for which a failure has been detected. The recovery directory contains directories that
correspond to event classes passed to sendevent. The names of the directories must match
the class parameter (-C) passed to the sendevent program. (See LifeKeeper Alarming and
Recovery.)
In each subdirectory, the application can place recovery programs that service event types of the
corresponding event class. The name of these programs must match the string passed to sendevent
with the -E parameter. This optional directory may not exist for many applications.
SteelEye Protection Suite for Linux197