cmstartres(1m) cmstartres(1m)
NAME
cmstartres - starts resource monitoring on the local node for an EMS resource that is configured in a Serviceguard package.
SYNOPSIS
cmstartres [-v] [-u] -p package_name resource_name
DESCRIPTION
cmstartres starts resource monitoring for an EMS resource on the local node. This resource must be configured in the specified pack-
age_name.
To start a resource monitoring for an EMS resource in the package, a user must either be superuser(UID=0), or have an access policy of
FULL_ADMIN allowed in the cluster configuration file. See access policy in cmquerycl(1m) or cmmakepkg(1m).
Options
cmstartres supports the following options.
-v Verbose output will be displayed.
-u Wait for the EMS resource to be available before starting resource monitoring.
-p package_name
The name of the package where the EMS resource is configured in. This is a required parameter.
resource_name
Name of the EMS resource to start resource monitoring for. This resource must be configured in the specified pack-
age_name. This is a required parameter.
RETURN VALUE
cmstartres returns the following values:
0 Successful completion.
1 Command failed.
EXAMPLES
To start resource monitoring for the EMS resource /net/interfaces/lan/status/lan0 for package pkgA, do the following:
cmstartres -u -p pkgA /net/interfaces/lan/status/lan0
AUTHOR
cmstartres was developed by HP.
SEE ALSO
cmstopres(1m), cmquerycl(1m), cmmakepkg(1m).
Requires Optional Serviceguard Software cmstartres(1m)