1MP_SetFailbackPollCionmgmRoanteM(u3lMtPiApPaIt)h Management LMiPb_rSaertyFaFiulnbcatcikoPnosllingRate(3MPAPI)
2
3
4
6 MP_SetFailbackPollingRate - set the polling rates
7
9 cc [ flag... ] file... -lMPAPI [ library... ]
10 #include <mpapi.h>
11
12 MP_STATUS MP_SetFailbackPollingRate(MP_OID oid,
13 MP_UINT32 pollingRate);
14
15
17 oid An object ID of either the plugin or a multipath logical
18 unit.
19
20
21 pollingRate The value to be set in MP_PLUGIN_PROPERTIES currentFail‐
22 backPollingRate or MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES
23 failbackPollingRate.
24
25
27 The MP_SetFailbackPollingRate() function sets the polling rates. Set‐
28 ting the pollingRate to zero disables polling.
29
30
31 If the object ID refers to a plugin, this sets the currentFailback‐
32 PollingRate property in the plugin properties. If the object ID refers
33 to a multipath logical unit, this sets the failbackPollingRate prop‐
34 erty.
35
37 MP_STATUS_INVALID_OBJECT_TYPE
38
39 The oid does not specify any valid object type. This is most likely
40 to happen if an uninitialized object ID is passed to the API.
41
42
43 MP_STATUS_INVALID_PARAMETER
44
45 One of the polling values is outside the range supported by the
46 driver, or when the oid has a type subfield other than
47 MP_OBJECT_TYPE_PLUGIN or MP_OBJECT_TYPE_MULTIPATH_LU.
48
49
50 MP_STATUS_OBJECT_NOT_FOUND
51
52 The oid ownerID or object sequence number is invalid.
53
54
55 MP_STATUS_SUCCESS
56
57 The operation is successful.
58
59
60 MP_STATUS_UNSUPPORTED
61
62 The implementation does not support the API.
63
64
66 See attributes(5) for descriptions of the following attributes:
67
68
69
70
71 ┌─────────────────────────────┬─────────────────────────────┐
72 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Interface Stability │Standard: ANSI INCITS 412 │
75 │ │Multipath Management API │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │MT-Level │Safe │
78 └─────────────────────────────┴─────────────────────────────┘
79
81 libMPAPI(3LIB), attributes(5)
82
83
84 Multipath Management API Version 1.0
85
86
87
88SunOS 5.11 15 Feb 2006MP_SetFailbackPollingRate(3MPAPI)