ASAP 3.2 Server Manual
HP NonStop ASAP Server Manual Page 91 of 381
<#GOAL>
The objective value
Tokens are expanded when using Boolean goals. The <#ATTR>, <#OP>,
<#VALUE> and <#GOAL> tokens can contain multiple tab-separated entries and
new tokens are added as follows:
<#GNAME>
The name of the Boolean goal
<#GOALVAL>
The attribute, operator and value in a string with no
spaces followed by the goal separated with the ―|‖
character. There can be multiple tab-separated
entries.
<#attrGOAL>
A specific goal token for the attribute. For example,
if the attribute is named BUSY the name of this
token will be <#BUSYGOAL>. If the same attribute
is used multiple times in the Boolean goal then the
token name will be extended for each additional
occurrence by using a numeric value immediately
following the attribute name. For example the
second occurrence will be named <#attr2GOAL>.
<#attrOP>
A specific operator token for the attribute. For
example, if the attribute is named BUSY the name
of this token will be <#BUSYOP>. If the same
attribute is used multiple times in the Boolean goal
then the token name will be extended for each
additional occurrence by using a numeric value
immediately following the attribute name. For
example the second occurrence will be named
<#attr2OP>.
<#attrVALUE>
A specific value token for the attribute. For
example, if the attribute is named BUSY the name
of this token will be <#BUSYVALUE>. If the same
attribute is used multiple times in the Boolean goal
then the token name will be extended for each
additional occurrence by using a numeric value
immediately following the attribute name. For
example the second occurrence will be named
<#attr2VALUE>.
Action strings can also be stored as predefined rules by using the ASAP CI
ACTION command. ASAP creates an initial set of predefined rules automatically,
including one called RELOAD that executes the TACL RELOAD command. The
command RANK CPU, STATUS ACTION RELOAD WAIT 5 uses the predefined
ASAP action rule instead of the TACL command string as shown in the previous
example.