About attributes

VCS has the following types of attributes, depending on the object the attribute applies to.

Resource type attributes

Attributes associated with resource types in VCS. These can be further classified as:

  • Type-independent - Attributes that all agents (or resource types) understand.

    Examples: RestartLimit, MonitorInterval, Enabled, and Probed; these can be set for any resource type.

    Typically, these attributes are set for all resources of a specific type. For example, if you set the MonitorInterval for the IP resource type, the same value applies to all resources of type IP. You can also override the values of these attributes, that is, you can configure a different attribute value for each resource of this type.

  • Type-dependent - Attributes that apply to a particular resource type.

    Examples: The MountPoint attribute applies only to the Mount resource type. The Address attribute applies only to the IP resource type.

    Attributes defined in the types file (types.cf) apply to all resources of the resource type. When you configure resources, you can assign resource-specific values to these attributes, which appear in the main.cf file.

    For example, the PathName attribute for the FileOnOff resource type is type-dependent, and can take a resource-specific value when configured.

  • Static - These attributes apply to all resource types and can have a different value per resource type. You can override some static attributes and assign them resource-specific values. These attributes are prefixed with the term static and are not included in the resource's argument list.

    Examples: MonitorInterval and ToleranceLimit.