Use this option to protect an application that has no associated recovery kit.

Before Creating a Resource Hierarchy

  1. The first task is to create scripts for the five basic LifeKeeper for Windows action functions:



Quick Check

Deep Check

Local Recovery

Perl and VB Script templates are provided for these scripts in $LKROOT\admin\kit\app\templates. Be sure to copy these templates to another directory on the same volume as $LKROOT before customizing and testing them for the application that you wish to protect.

Note: If you want to use optional Create, Extend and Delete scripts, also include them in the folder with your other scripts. The script selection wizard will search for them by these names (and extension) and automatically enter them for you.

Note: A Restore script and a Remove script are required for a Generic Application solution. There is no time limit for the duration of the Restore script or a Remove script to complete. However, there are implications to duration. A resource In-Service operation can not complete until its restore script has completed successfully. A resource switchover operation can not proceed to the standby server until the resource remove script has completed successfully on the active server.

Note: If provided, Quick Check and Deep Check scripts are run at customer designated intervals. To avoid overlaps, the duration of Quick Check and Deep Check Scripts should not exceed those customer designated interval times. A Local Recovery script is also optional. In the case of a Quick Check or Deep Check failure, a Local Recovery script, if provided, should not extend a Quick Check or Deep Check duration beyond the customer designated interval.

  1. For applications depending upon other resources such as a volume or IP address, create each of these resources separately before creating your Generic Application resource hierarchy. You can create the appropriate dependencies later using Add Dependency.

Creating Your Resource Hierarchy

Now you are ready to create the Generic Application resource hierarchy using the modified scripts.

  1. Select the server, and then select Create Resource Hierarchy from the server context menu or server context toolbar.
  1. The Create Protected Application window appears displaying the Primary and Backup Servers in your cluster. If not already selected, choose the appropriate systems to configure. Click Next.
  1. A dialog appears with a list of all recognized recovery kits installed within the cluster. Select Generic Application and click Next.
  1. The Configuration Wizard will prompt you to enter the following information. Note: When the Back button is active in any of the dialog boxes, you can go back to the previous dialog box. This is especially helpful should you encounter an error that might require you to correct previously entered information. If you click Cancel at any time during the sequence of creating your hierarchy, LifeKeeper for Windows will cancel the entire creation process.
Restore Script Enter the path and filename for the Restore Script for the application. This is the command that starts the application. A template restore script is provided in the templates directory. The restore script must not impact applications that are already started.
Remove Script Enter the path and filename for the Remove Script for the application. This is the command that stops the application. A template remove script is provided in the templates directory.
Quick Check Script [optional] Enter the path to the Quick Check Script for the application. This is the command that monitors the application. A template quickchk script is provided in the templates directory.
Deep Check Script [optional] Enter the path to the Deep Check Script for the Application. This command monitors the protected application in more detail than the Quick Check Script. A template deepchk script is provided in the templates directory.
Local Recovery Script [optional] Enter the path to the Local Recovery Script for the application. This is the command that attempts to restore a failed application on the local server. A template recover script is provided in the templates directory.
Application Information [optional] Enter any Application Information next. This is optional information about the application that may be needed by the restore, remove, recover, and quickCheck scripts.
Resource Tag Name

This field provides a default tag name App.x (where x is a number assigned by LifeKeeper for Windows, starting with 0) which you can change if desired.

Note: The tag name must consist of printable ASCII characters.

  1. After all of the data is entered, the Create Instance button will appear. When you click Create Instance, LifeKeeper for Windows will create and validate your resource hierarchy.
  1. After receiving the message that the resource hierarchy has been created successfully, click Next to continue. If LifeKeeper for Windows has detected a problem, an ERROR will appear in the information box, the partially created resource hierarchy will be removed, and the Next button will be disabled. In that case, click Cancel to exit the Wizard.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment