Use this option to protect an application that has no associated recovery kit.
Before Creating a Resource Hierarchy
- The first task is to create scripts for the five basic SIOS Protection Suite 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.
- 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.
- Select the server, and then select Create Resource Hierarchy from the server context menu or server context toolbar.
- 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.
- A dialog appears with a list of all recognized recovery kits installed within the cluster. Select Generic Application and click Next.
- 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, SIOS Protection Suite 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 SIOS Protection Suite, starting with 0) which you can change if desired.
Note: The tag name must consist of printable ASCII characters.
- After all of the data is entered, the Create Instance button will appear. When you click Create Instance, SIOS Protection Suite will create and validate your resource hierarchy.
- After receiving the message that the resource hierarchy has been created successfully, click Next to continue. If SIOS Protection Suite 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.