Specifications
Creating a Generic Application Resource Hierarchy
Creating a Generic Application Resource Hierarchy
Use this option to protect a user-defined application that has no associated recovery kit. Templates
are provided for the user supplied scripts referenced below in
$LKROOT/lkadm/subsys/gen/app/templates. Copy these templates to another directory
before customizing them for the application that you wish to protect and testing them.
Note: For applications depending upon other resources such as a file system, disk partition, or IP
address, create each of these resources separately, and use Create Dependency to create the
appropriate dependencies.
1. There are four ways to begin creating a generic application resource hierarchy.
l Right-click on a server icon to bring up the server context menu, then click on Create
Resource Hierarchy.
l On the global toolbar, click on the Create Resource Hierarchy button.
l On the server context toolbar, if displayed, click on the Create Resource Hierarchy
button.
l On the Edit menu, select Server, then click on Create Resource Hierarchy.
2. A dialog entitled Create Resource Wizard will appear with a Recovery Kit list. Select Generic
Application and click Next.
3. Select the Switchback Type and click Next.
4. Select the Server and click Next. Note: If you began from the server context menu, the server
will be determined automatically from the server icon that you clicked on, and this step will be
skipped.
5. On the next dialog, enter the path to the Restore Script for the application and click Next. This
is the command that starts the application. A template restore script, restore.template, is
provided in the templates directory. The restore script must not impact applications that are
already started.
6. Enter the path to the Remove Script for the application and click Next. This is the command
that stops the application. A template remove script, remove.template, is provided in the
templates directory.
7. Enter the path to the quickCheck Script for the application and click Next. This is the
command that monitors the application. A template quickCheck script, quickCheck.template,
is provided in the templates directory.
8. Enter the path to the Local Recovery Script for the application and click Next. This is the
command that attempts to restore a failed application on the local server. A template recover
script, recover.template, is provided in the templates directory.
9. Enter any Application Information and click Next. This is optional information about the
application that may be needed by the restore, remove, recover, and quickCheck scripts.
10. Select either Yes or No for Bring Resource In Service, and click Next. Selecting No will
134LifeKeeper Administration Overview