1MP_EnablePath(3MPACPoIm)mon Multipath Management Library FunctMiPo_nEsnablePath(3MPAPI)
2
3
4
6 MP_EnablePath - enable a path
7
9 cc [ flag... ] file... -lMPAPI [ library... ]
10 #include <mpapi.h>
11
12 MP_STATUS MP_EnablePath(MP_OID oid);
13
14
16 oid The object ID of the path.
17
18
20 The MP_EnablePath() function enables a path. This API might cause
21 failover in a logical unit with asymmetric access.
22
23
24 This API sets the field disabled of structure MP_PATH_LOGI‐
25 CAL_UNIT_PROPERTIES to false.
26
28 MP_STATUS_INVALID_OBJECT_TYPE
29
30 The oid does not specify any valid object type. This is most likely
31 to happen if an uninitialized object ID is passed to the API.
32
33
34 MP_STATUS_INVALID_PARAMETER
35
36 The oid has a type subfield other than MP_OBJECT_TYPE_PATH_LU.
37
38
39 MP_STATUS_OBJECT_NOT_FOUND
40
41 The oid owner ID or object sequence number is invalid.
42
43
44 MP_STATUS_UNSUPPORTED
45
46 The API is not supported.
47
48
49 MP_STATUS_TRY_AGAIN
50
51 The path cannot be enabled at this time.
52
53
54 MP_STATUS_SUCCESS
55
56 The operation is successful.
57
58
60 See attributes(5) for descriptions of the following attributes:
61
62
63
64
65 ┌─────────────────────────────┬─────────────────────────────┐
66 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Interface Stability │Standard: ANSI INCITS 412 │
69 │ │Multipath Management API │
70 ├─────────────────────────────┼─────────────────────────────┤
71 │MT-Level │Safe │
72 └─────────────────────────────┴─────────────────────────────┘
73
75 libMPAPI(3LIB), MP_DisablePath(3MPAPI), attributes(5)
76
77
78 Multipath Management API Version 1.0
79
80
81
82SunOS 5.11 15 Feb 2006 MP_EnablePath(3MPAPI)