Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Sun Cluster Miscellaneousproperty_attributes(5)


NAME

 property_attributes - resource property attributes

DESCRIPTION

 

The list below describes the resource property attributes that can be used to change system-defined properties or create extension properties.

You cannot specify NULL or the empty string ("") as the default value for boolean, enum, or int types.

Property
The name of the resource property.
Extension
If used, indicates that the RTR file entry declares an extension property defined by the resource type implementation. Otherwise, the entry is a system-defined property.
Description
A string annotation intended to be a brief description of the property. The description attribute cannot be set in the RTR file for system-defined properties.
Property Type
Allowable types are: string, boolean, int, enum, and stringarray. You cannot set the type attribute in an RTR file entry for system-defined properties. The type determines acceptable property values and the type-specific attributes that are allowed in the RTR file entry. An enum type is a set of string values.
Default
Indicates a default value for the property.
Tunable
Indicates when the cluster administrator can set the value of this property in a resource. Can be set to None or False to prevent the administrator from setting the property. Values that allow administrator tuning are: True or Anytime (at any time), At_creation (only when the resource is created), or When_disabled (when the resource is offline).

The default is True (Anytime).
Enumlist
For an enum type, a set of string values permitted for the property.
Min
For an int type, the minimal value permitted for the property. Note that you cannot specify Min=0 for a method timeout.
Max
For an int type, the maximum value permitted for the property. Note that you cannot specify a maximum value for a method timeout.
Minlength
For string and stringarray types, the minimum string length permitted.
Maxlength
For string and stringarray types, the maximum string length permitted.
Array_minsize
For stringarray type, the minimum number of array elements permitted.
Array_maxsize
For stringarray type, the maximum number of array elements permitted.

EXAMPLES

 Example 1. An int Type Definition
 

An int type definition might look like this:

 
{
         PROPERTY = Probe_timeout;
         EXTENSION;
         INT;
         DEFAULT = 30;
         TUNABLE = ANYTIME;
         DESCRIPTION = "Time out value for the probe (seconds)"; 
}	

SEE ALSO

 

scrgadm(1M), r_properties(5) rg_properties(5), rt_properties(5)



Sun Cluster 3.1Go To TopLast Changed 29 Apr 2002