![]() |
< Previous | Next > |
Product: Storage Foundation Guides | |
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide |
Storage Selection RulesThe following sections describe storage selection rules:
See Compound Rules for details of how to limit the scope of interpretation of rules to the components of an application volume, such as its plexes, columns and logs. Multiple arguments to the confineto, exclude and select storage selection rules can be combined using the operators listed in Storage Selection Rule Operators. If an operator is not specified, ISP uses the default operator for the rule. ![]() affinityAn affinity rule expresses attraction between VxVM objects. Objects that conform to this rule share as many attribute values as possible. ![]() The following example demonstrates the application of affinity rules:
confinetoA confineto rule restricts a VxVM object, such as volume or mirror, to being configured from a specific set of LUNs. The scope of the rule determines the VxVM object for which the restrictions apply. When a confineto rule is used at the top level, it usually applies to the volume. Refer to Compound Rules for details on confining a mirror, column or log to a set of LUNs. ![]() The expression argument of a confineto rule usually consists of one or more LUN attributes that can be specified either with or without an accompanying value. The LUN attributes can be auto-discovered or user-defined. A value that is not quoted is interpreted as the name of a variable whose value is to be determined when a VxVM object is created. The following examples demonstrate the application of confineto rules:
confineto "Room" confineto "Room", "VendorName"="EMC" confineto eachof("Room", "VendorName"="EMC") confineto eachof("VendorName"="EMC", "Room"="Room1") confineto eachof("VendorName"=VENDOR_NAME, "Room"=ROOM_NAME) ![]() confineto anyof("Enclosure"="EMC1", "Enclosure"="EMC2") ![]() confineto oneof("VendorName"="EMC", "VendorName"="Hitachi") ![]() confineto oneof(eachof("Room"="Room1",noneof("VendorName"="Hitachi")), \ eachof("Room"="Room2", noneof("VendorName"="EMC"))) ![]() confineto noneof("VendorName"="EMC", "Room"="Room1") ![]() confineto allof("Room"="Room1", "Room"="Room2") ![]() confineto oneof("VendorName"="EMC", noneof("VendorName"="EMC")) confineto eachof("Columns">"1", "Parity"="0")) excludeAn exclude rule omits a set of LUNs from being allocated to a VxVM object. ![]() The following examples demonstrate the application of exclude rules:
exclude "VendorName"="EMC", "VendorName"="Hitachi" exclude allof("VendorName"="EMC", "VendorName"="Hitachi") exclude eachof("VendorName"="EMC", "Room"="Room1") exclude "VendorName"=VENDOR_NAME ![]() exclude allof("DeviceName"="Enclr1_1", "DeviceName"="Enclr1_2") multipathA multipath rule specifies how tolerant a VxVM object is to the failure of a number of specified components. The rule defines how many paths a VxVM object should have available through each component. ![]() The following examples demonstrate the application of multipath rules:
multipath 2 "Controller" multipath 2 "Controller", 2 "Switch" selectA 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. ![]() The following examples demonstrate the application of select rules:
select "Room"="Room1", "Room"="Room2" select anyof("Room"="Room1", "Room"="Room2") ![]() select eachof("VendorName"="EMC", "Room"="Room1") ![]() select "DeviceName"="Enclr1_1","DeviceName"="Enclr1_2" separatebyA 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. ![]() The following examples demonstrate the application of separateby rules:
separateby "Enclosure" separateby "VendorName", "Controller" strong separatebyThe strong separateby rule is a more restrictive form of separateby rule, which does not permit any sharing of attributes for the storage that is assigned to VxVM objects. ![]() The following example demonstrates the application of the strong separateby rule:
|
^ Return to Top | < Previous | Next > |
Product: Storage Foundation Guides | |
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |