Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Setting the attributes of the paths to an enclosure
You can use the vxdmpadm setattr command to set the attributes of the paths to
an enclosure or disk array.
The attributes set for the paths are persistent and are stored in the file
/etc/vx/dmppolicy.info.
You can set the following attributes:
Changes a standby (failover) path to an active path. The following
example specifies an active path for an array:
# vxdmpadm setattr path c2t10d0 pathtype=active
active
Restores the original primary or secondary attributes of a path.
This example restores the path to a JBOD disk:
# vxdmpadm setattr path c3t10d0 pathtype=nomanual
nomanual
Restores the normal priority of a path. The following example
restores the default priority to a path:
# vxdmpadm setattr path c1t20d0 \
pathtype=nopreferred
nopreferred
Specifies a path as preferred, and optionally assigns a priority
number to it. If specified, the priority number must be an integer
that is greater than or equal to one. Higher priority numbers
indicate that a path is able to carry a greater I/O load.
See Specifying the I/O policy on page 180.
This example first sets the I/O policy to priority for an
Active/Active disk array, and then specifies a preferred path with
an assigned priority of 2:
# vxdmpadm setattr enclosure enc0 \
iopolicy=priority
# vxdmpadm setattr path c1t20d0 \
pathtype=preferred priority=2
preferred
[priority=N]
177Administering Dynamic Multi-Pathing
Administering DMP using vxdmpadm