Adding, deleting, and modifying resource types
After you create a resource type, use the haattr command to add its attributes. By default, resource type information is stored in the types.cf
configuration file.
To delete a resource type
To add or modify resource types in main.cf without shutting down VCS
- Type the following command:
hatype -modify resource_type SourceFile "./resource_type.cf"
The information regarding resource_type is stored in the file config/resource_type.cf
.
An include line for resource_type.cf
is added to the main.cf
file.
Note: |
Make sure that the path to the SourceFile exists on all nodes before you run this command. |
To set the value of static resource type attributes