Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
■ The following example tolerates the failure of one controller and one switch:
multipath 2 "Controller", 2 "Switch"
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.
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 159.
The following examples demonstrate the application of select rules:
■ The following examples that demonstrate 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")
When the anyof operator is used, ISP takes storage from the operands in the
order that they are specified.
■ The following example uses only EMC LUNs from Room1:
select eachof("VendorName"="EMC", "Room"="Room1")
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.
■ The following example uses the specified LUNs from an enclosure:
select "DeviceName"="Enclr1_1","DeviceName"="Enclr1_2"
separateby
A separateby rule is used to describe separation between VxVM objects. This is
typically used to define failure domains to provide greater reliability by avoiding
a single point of failure. For example, a separateby rule can be used to define that
the mirrors of a volume should not share a controller. This makes the volume
resilient to the failure of a controller.
Using capabilities, templates and rules
Storage selection rules
158