The basic cluster resourcetype syntax is:
cluster [[/cluster:]cluster name] resourcetype resource type display name /option
The cluster name is optional. If no option is specified, the default option is /list.
If the name of your cluster is also a cluster command or its abbreviation, such as cluster or c, use /cluster: to explicitly specify the cluster name. For a list of all the cluster commands, see Related Topics.
The following table describes the available cluster resource options:
| Option | Use to... |
|---|---|
| /list | List the available installed cluster resource types Resource type display name is optional. If you do not provide a resource type display name, all installed resource types are listed. |
| /listowners | Display a list of preferred owners |
| /create /DllName:dllname [/type:type name] [/IsAlive: interval-millisecond] [/LooksAlive:interval-millisecond] | Create a resource type. |
| /delete [/type] | Delete a resource type. If the resource DLL cannot be accessed by the Cluster service, specify the resource type name with the /type option instead of specifying the resource type display name. |
| /properties [property list] | View or set the resourcetype common properties. Resource type display name is optional. Properties for all resourcetypes are displayed if you do not provide a resource type display name. For more information on property lists, see Property lists |
| /privproperties [property list] | View or set the resourcetype private properties. The resource type display name is optional. If you do not provide a resource type display name, the private properties for all resourcetypes are displayed. For more information on property lists, see Property lists |
| /? or /help | Display cluster resourcetype syntax. |
For example, to display the properties of the Generic Application resource type on the OpsClust1 cluster, type the following at the Windows 2000 command prompt:
cluster opsclust1 resourcetype "generic application" /properties
The following table describes the common cluster resourcetype property names, their uses, and valid settings:
| Common Property Names | Use |
|---|---|
| Name | Changes a resource type display name. |
| Description | Changes the text that describes a resource type. |
| DllName | Specifies the name of the dynamic-link library (DLL) for a specific resource type. |
| DebugPrefix | Specifies the appropriate debugger for the resource type. For more information, see the Microsoft Platform Software Development Kit. |
| DebugControlFunctions | Specifies if debugger breakpoint is set at the resource control function. (True (1) it is set; False (0) it is not set.) |
| AdminExtensions | Describes one or more class identifiers (CLSID) for Cluster Administrator extensions |
| LooksAlivePollInterval | Specifies the interval (in milliseconds) that the Cluster service polls resources of a particular resource type to determine if the resources appear operational. |
| IsAlivePollInterval | Specifies the interval (in milliseconds) that the Cluster service polls resources of a particular resource type to determine if the resources are operational. |
By default, there are no private properties for cluster resourcetype. Software vendors can add private properties to extend cluster functionality.