Compartilhar via


Cluster resourcetype

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Cluster resourcetype

The cluster resourcetype command is used to create a new cluster resource type or administer an existing resource type. Used without parameters, cluster resourcetype defaults to the /list command-line option and displays available installed cluster resource types.

Syntax

cluster [[/cluster:]ClusterName] resourcetype ResourceType_DisplayName **/**Option

Parameters
  • /list
    Lists the available installed cluster resource types.
  • /listowners
    Displays a list of preferred owners.
  • /create /Dll[Name]:DLL_Name [/type:TypeName] [/IsAlive:Interval_in_Milliseconds] [/LooksAlive:Interval_in_Milliseconds]
    Creates a resource type.
  • /delete [/type**]**
    Deletes a resource type.
  • /properties [PropertyList]
    Views or sets the resourcetype common properties.
  • /privproperties [PropertyList]
    Views or sets the resourcetype private properties.
  • /?
    Displays help at the command prompt.
Remarks
  • Using the cluster resourcetype command

    The cluster name is optional. 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.

  • Using the /list command-line option

    Resource type display name is optional. If you do not provide a resource type display name, all installed resource types are listed.

  • Using the /delete [/type] command-line option

    If the resource DLL cannot be accessed by the Cluster service, specify the resource type name with the /type command-line option instead of specifying the resource type display name.

  • Using the /prop[erties] [PropertyList] command-line option

    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 Related Topics.

  • Using the /priv[properties] [PropertyList] command-line option

    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 Related Topics.

  • Using cluster resourcetype common property names

    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.

  • Using cluster resourcetype private property name

    By default, there are no private properties for cluster resourcetype. Software vendors can add private properties to extend cluster functionality.

Examples

To display the properties of the Generic Application resource type on the OpsClust1 cluster, type:

cluster opsclust1 resourcetype "generic application" /properties

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Command-line reference A-Z
Command shell overview
Property lists

Other Resources

Cluster commands overview