MP_EnablePath - enable a path
cc [ flag… ] file… –lMPAPI [ library… ] #include <mpapi.h> MP_STATUS MP_EnablePath(MP_OID oid);
The object ID of the path.
The MP_EnablePath() function enables a path. This API might cause failover in a logical unit with asymmetric access.
This API sets the field disabled of structure MP_PATH_LOGICAL_UNIT_PROPERTIES to false.
The oid does not specify any valid object type. This is most likely to happen if an uninitialized object ID is passed to the API.
The oid has a type subfield other than MP_OBJECT_TYPE_PATH_LU.
The oid owner ID or object sequence number is invalid.
The API is not supported.
The path cannot be enabled at this time.
The operation is successful.
See attributes(7) for descriptions of the following attributes:
Multipath Management API Version 1.0