VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Storage Selection Rules
126 VERITAS Storage Foundation ISP Administrators Guide
select
A select rule specifies which storage to use for creating VxVM objects. When used outside of a sub
clause, this rule is applied to an entire volume.
Note Expressions involving select can use the allof, anyof, eachof, noneof and
oneof operators to combine multiple arguments. By default, ISP applies the anyof
operator. See “Storage Selection Rule Operators” on page 128 for more information.
The following examples demonstrate the application of select rules:
The following rules, which try to allocate LUNs first from Room1, then from Room2 if
unsuccessful, and then from both locations, are equivalent:
select "Room"="Room1", "Room"="Room2"
select anyof("Room"="Room1", "Room"="Room2")
Note When the anyof operator is used, ISP takes storage from the operands in the order that
they are specified.
Use only EMC LUNs from Room1:
select eachof("VendorName"="EMC", "Room"="Room1")
Note Here the eachof operator is used rather than the allof operator. The eachof
operator implies the logical intersection of its operands. The allof operator implies
the logical union of its operands.
Use the specified LUNs from an enclosure:
select "DeviceName"="Enclr1_1","DeviceName"="Enclr1_2"