Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

158 Using capabilities, templates and rules
Simplified syntax for rules on the command line
Simplified syntax for rules on the command line
For convenience, rules may be expressed in the following simplified form on the
command line for the
vxassist and vxvoladm commands:
rule_name
=
attribute_name
[=
value
][,...]
The following examples of rule expressions:
confineto eachof("VendorName"="EMC","Room"="Room1","Building")
select anyof("Room"="Room1","Room"="Room2","Building")
exclude allof("VendorName"="EMC","VendorName"="Hitachi")
affinity "Enclosure"
separateby "Controller"
strong separateby "Spindles"
may be expressed by equivalent simplified rule expressions:
confineto=VendorName=EMC,Room=Room1,Building
select=Room=Room1,Room=Room2,Building
exclude=VendorName=EMC,VendorName=Hitachi
affinity=Enclosure
separateby=Controller
strong separateby=Spindles
The default storage selection rules are assumed, and cannot be substituted using
the simplified form of the rule syntax.