The Recovery Kit for JP1/AJS can be set up using the LKCLI (Command Line Interface).
Creating a JP1/AJS Resource Hierarchy
Usage: lkcli resource create jp1ajs --tag <tag>
[--switchback <INTELLIGENT|AUTOMATIC>]
--component <JP1/Base|JP1/AJS3-Manager|JP1/AJS3-Agent> ...
JP1/Base: --logicalhost <LogicalHost name> [--ip <ip tag>] [--fs <fs tag>]
JP1/AJS3-Agent: --jp1ajsbase <JP1/Base tag>
JP1/AJS3-Manager: --jp1ajsbase <JP1/Base tag>
Example 1 : # lkcli resource create jp1ajs --tag jp1-base --component JP1/Base --logicalhost hostname --ip ip-192.168.10.20 --fs /JP1
Example 2 : # lkcli resource create jp1ajs --tag jp1-manager --component JP1/AJS3-Manager --jp1ajsbase jp1-base
Example 3 : # lkcli resource create jp1ajs --tag jp1-agent --component JP1/AJS3-Agent --jp1ajsbase jp1-base
| Option | Default Value | Description |
|---|---|---|
--component |
Required | Specify the JP1 product to be protected by the resource being created. You can specify the following values:
|
--logicalhost |
None | Only available when creating JP1/Base resources. Specify the logical host. |
--ip |
None | Only available when creating JP1/Base resources. Specify the tag name of the IP resource for which to create dependencies. If not specified, no dependencies will be created. |
--fs |
None | Only available when creating JP1/Base resources. Specify the tag name of the File System Resource for which to create dependencies. If not specified, no dependencies will be created. |
--jp1ajsbase |
None | This is required only when creating a JP1/AJS3-Manager or JP1/AJS3-Agent resource. Specify the tag name of the JP1/Base resource to create the dependency. |
--tag, --switchback are common options for ARKs. For details, please refer to this page.
Extending a JP1/AJS Resource Hierarchy
Usage: lkcli resource extend jp1ajs --tag <tag> --dest <host>
[--switchback <INTELLIGENT|AUTOMATIC>]
[--template_priority <num>] [--target_priority <num>]
Example: # lkcli resource extend jp1ajs --tag jp1-base --dest standby-server
There are no options specific to JP1/AJS.
--tag, --dest, --switchback, --template_priority, --target_priority are common options for ARKs. For details, please refer to this page.
JP1/AJS Resource Property Operations
Usage: lkcli resource config jp1ajs --tag <tag> <sub-command>
sub-command:
--set <cfg>=<value>
--get <cfg>
--default-get <cfg>
--list-configs
--show
Example: # lkcli resource config jp1ajs --tag jp1-base --set retryInterval=10
| Option | Description |
|---|---|
--show |
Lists all property names, settings, and default values. |
--list-configs |
Lists all property names only. |
--default-get |
Displays the default value for the specified property. |
--get |
Displays the settings value for the specified property. |
--set |
Updates the settings value for the specified property. |
--tag is a common option for ARKs. For details, please refer to this page.
The property names that can be specified with --default-get, --get, and --set are as follows. For details on each property, refer to the table in JP1/AJS Resource Hierarchy Properties.
| Property Name | Referenced Property |
|---|---|
| retryInterval | Retry Interval |
| restoreTimeout | Restore Timeout |
| removeTimeout | Remove Timeout |
| recoverTimeout | Recovery Timeout |
| quickCheckTimeout | quickCheck Timeout |
| forceStopTimeout | Forced Stop Timeout |



Post your comment on this topic.