ins_list [-d destsys] [-fC] [-R top] [-a appname] [-r typ][-t tag] [-i id]
This command prints lines relating to a set of resource instances to standard output. Each line contains all of the current information known about a particular resource instance. Examples of the lines are:
LKSYS1-filesys-volume-ISSUTILS-K:--ISP-restore action hassucceeded-AUTORES_ISP--0-0-
Each line contains fields separated by a delimiter character. The default delimiter character is ^A (\001). If the -fC option is specified, the delimiter is changed to the specified character. The above example shows a dash (-) as a delimiter. The fields in the example command above are as follows:
LKSYS1 | Name of the system the resource the instance resides on. |
filesys | Application name of resource type. |
volume | Resource type name. |
ISSUTILS | User-defined resource instance tag identifier. |
K: | LifeKeeper internal identifier for resource instance. |
- - | If this field is not empty, as in the example, it provides additional instance information (type dependent). |
ISP | Current state of resource instance ISP, ISU, OSU, or OSF. |
restore action has succeeded | Reason for last state change. |
AUTORES_ISP | Available resource initialization options are: AUTORES_ISP, INIT_ISP, and INIT_OSU. |
- - | If this field is not empty, as in the example, it indicates that the resource is currently being reserved for: RESTORE: restoring the resource to service REMOVE: removing the resource from service RECOVER: performing local recovery on resource |
0 | Process ID of process that has reserved resource. |
0 | Reserved. |
180 | Quick check interval, in seconds. |
300 | Deep Check interval, in seconds. |
0 | Local recovery option. 0 = disabled; 1 = enable |
The other arguments limit the number of resource instances included in the list. If none of the arguments are used, then all resources on destsys are listed. These are the limiting arguments:
destsys. If destsys is not specified, the current system is assumed; otherwise, data from the remote system is printed.
top. If top is the space string “ “, only the root resources will be printed. If top is specified (but not the space string), the report lists the top resource and all children resources below it, recursively.
appname. If appname is specified, all resource instances associated with all resource types defined by this application are printed. If appname is not specified, all resource instances for all applications defined on the system are printed.
typ. If typ is specified, all resource instances of type, typ, in application appname are printed.
tag or id. If tag or id is specified, the resource instance associated with that tag or id is printed.
このトピックへフィードバック