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

Adding, Deleting, and Modifying Resource Attributes

  To add a resource attribute


# haattr -add resource_type  attribute [value]
        [dimension][default ...]
The variable value is a -string (default), -integer, or -boolean.
The variable dimension is -scalar (default), -keylist, -assoc, or -vector.
The variable default is the default value of the attribute and must be compatible with the value and dimension. Note that this may include more than one item, as indicated by ellipses (...).

  To delete a resource attribute


haattr -delete resource_type attribute

  To add a static resource attribute


# haattr -add -static resource_type static_attribute [value]
     [
dimension] [default ...]

  To delete a static resource attribute


haattr -delete -static resource_type static_attribute

  To add a temporary resource attribute


# haattr -add -temp resource_type attribute [value]
     [
dimension] [default ...]

  To delete a temporary resource attribute


haattr -delete -temp resource_type attribute

  To modify the default value of a resource attribute


haattr -default resource_type attribute new_value ...
The variable new_value refers to the attribute's new default value.
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com