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 vxvoladm command:
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.
|