1MP_DisablePath(3MPCAoPmIm)on Multipath Management Library FuncMtPi_oDnissablePath(3MPAPI)
2
3
4

NAME

6       MP_DisablePath - disable a path
7

SYNOPSIS

9       cc [ flag... ] file... -lMPAPI [ library... ]
10       #include <mpapi.h>
11
12       MP_STATUS MP_DisablePath(MP_OID oid);
13
14

PARAMETERS

16       oid    The object ID of the path.
17
18

DESCRIPTION

20       The  MP_DisablePath()  function  disables  a path. This API might cause
21       failover in a logical unit with asymmetric access.
22
23
24       This  API  sets  the  disabled   field   of   structure   MP_PATH_LOGI‐
25       CAL_UNIT_PROPERTIES to true.
26

RETURN VALUES

28       MP_STATUS_INVALID_OBJECT_TYPE
29
30           The  oid  parameter does not specify any valid object type. This is
31           most likely to happen if an uninitialized object ID  is  passed  to
32           the API.
33
34
35       MP_STATUS_OBJECT_NOT_FOUND
36
37           The oid parameter owner ID or object sequence number is invalid.
38
39
40       MP_STATUS_INVALID_PARAMETER
41
42           The   oid   parameter   does   not   have   a   type   subfield  of
43           MP_OBJECT_TYPE_PATH_LU.
44
45
46       MP_STATUS_UNSUPPORTED
47
48           The API is not supported.
49
50
51       MP_STATUS_TRY_AGAIN
52
53           The path cannot be disabled at this time.
54
55
56       MP_STATUS_NOT_PERMITTED
57
58           Disabling this path causes the logical unit to become  unavailable.
59           The  plugin  that  administers  the path might return this value or
60           allow the last path to be disabled.
61
62
63       MP_STATUS_SUCCESS
64
65           The operation is successful.
66
67

ATTRIBUTES

69       See attributes(5) for descriptions of the following attributes:
70
71
72
73
74       ┌─────────────────────────────┬─────────────────────────────┐
75       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
76       ├─────────────────────────────┼─────────────────────────────┤
77       │Interface Stability          │Standard: ANSI  INCITS  412  │
78       │                             │Multipath Management API     │
79       ├─────────────────────────────┼─────────────────────────────┤
80       │MT-Level                     │Safe                         │
81       └─────────────────────────────┴─────────────────────────────┘
82

SEE ALSO

84       libMPAPI(3LIB), MP_EnablePath(3MPAPI), attributes(5)
85
86
87       Multipath Management API Version 1.0
88
89
90
91SunOS 5.11                        15 Feb 2006           MP_DisablePath(3MPAPI)
Impressum