Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

Adding, Deleting, and Modifying Resource Types

After creating a resource type, use the command haattr to add its attributes (see Modifying Resource Attributes). By default, resource type information is stored in the types.cf configuration file.

  To add a resource type


hatype -add resource_type

  To delete a resource type


hatype -delete resource_type

You must delete all resources of the type before deleting the resource type.

  To add or modify resource types in main.cf without shutting down VCS


hatype -modify resource_type SourceFile "./resource_type.cf"

The information regarding resource_type is stored in the file config/resource_type.cf, and an include line for resource_type.cf is added to the main.cf file.

  To set the value of static resource type attributes


hatype -modify ...

Overriding Resource Type Static Attributes

You can override some resource type static attributes and assign them resource-specific values. When a static attribute is overriden and the configuration is saved, the main.cf file includes a line in the resource definition for the static attribute and its overriden value.

  To override a type's static attribute


hares -override resource static_attribute

  To restore default settings to a type's static attribute


hares -undo_override resource static_attribute
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com