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.

# vxdmpadm setattr path diskname pathtype=pathtype
# vxdmpadm setattr path c3t10d0s2 pathtype=nomanual

The attributes set for the paths are persistent and are stored in the /etc/vx/dmppolicy.info file.

You can set the following attributes:

active

Changes a standby (failover) path to an active path.

nomanual

Restores the original primary or secondary attributes of a path.

nopreferred

Restores the normal priority of a path.

preferred [priority=N]

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.

Note:

Setting a priority for path does not change the I/O policy. The I/O policy must be set independently.

See Specifying the DMP I/O policy.

primary

Defines a path as being the primary path for a JBOD disk array.

secondary

Defines a path as being the secondary path for a JBOD disk array.

standby

Marks a standby (failover) path that it is not used for normal I/O scheduling. This path is used if there are no active paths available for I/O.