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

148 Using capabilities, templates and rules
Storage selection rules
Allocate storage from LUNs in Room1 and Room2:
confineto allof("Room"="Room1", "Room"="Room2")
Note: In the absence of a specified operator, the eachof operator is
assumed.
Do not mix EMC LUNs with LUNs from other vendors when allocating
storage:
confineto oneof("VendorName"="EMC", noneof("VendorName"="EMC"))
Allocate storage only from LUNs that have a Columns attribute value
greater than 1, and a Parity attribute value of 0:
confineto eachof("Columns">"1", "Parity"="0"))
exclude
An exclude rule omits a set of LUNs from being allocated to a VxVM object.
Note: Expressions involving exclude can only use the allof and eachof
operators to combine multiple arguments. By default, ISP applies the allof
operator.
See “Storage selection rule operators” on page 151.
The following examples demonstrate the application of exclude rules:
The following rules, which prevent storage being assigned from EMC or
Hitachi disks, are equivalent:
exclude "VendorName"="EMC", "VendorName"="Hitachi"
exclude allof("VendorName"="EMC", "VendorName"="Hitachi")
Do not use EMC LUNs from Room1:
exclude eachof("VendorName"="EMC", "Room"="Room1")
Do not use disks with VendorName set to the value of the variable
VENDOR_NAME:
exclude "VendorName"=VENDOR_NAME
Note: VENDOR_NAME is a variable that is defined in a capability. Its value is
resolved when the VxVM object is created.
Exclude certain LUNs from the enclosure Enclr1:
exclude allof("DeviceName"="Enclr1_1", "DeviceName"="Enclr1_2")