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 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. Make sure that the path to the SourceFile exists on all nodes before you run this command.