T11-FC-FABRIC-LOCK-MIB 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. T11-FC-FABRIC-LOCK-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. MODULE-IDENTITY, OBJECT-TYPE,
  4. mib-2 FROM SNMPv2-SMI -- [RFC2578]
  5. RowStatus FROM SNMPv2-TC -- [RFC2579]
  6. MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF -- [RFC2580]
  7. InetAddressType, InetAddress FROM
  8. INET-ADDRESS-MIB -- [RFC4001]
  9. fcmInstanceIndex, fcmSwitchIndex FROM FC-MGMT-MIB -- [RFC4044]
  10. T11NsGs4RejectReasonCode FROM
  11. T11-FC-NAME-SERVER-MIB -- [RFC4438]
  12. T11FabricIndex FROM T11-TC-MIB; -- [RFC4439]
  13. t11FabricLockMIB MODULE-IDENTITY
  14. LAST-UPDATED "200706270000Z"
  15. ORGANIZATION "For the initial versions, T11.
  16. For later versions, the IETF's IMSS Working Group."
  17. CONTACT-INFO
  18. " Claudio DeSanti
  19. Cisco Systems, Inc.
  20. 170 West Tasman Drive
  21. San Jose, CA 95134 USA
  22. EMail: cds@cisco.com
  23. Keith McCloghrie
  24. Cisco Systems, Inc.
  25. 170 West Tasman Drive
  26. San Jose, CA 95134 USA
  27. EMail: kzm@cisco.com"
  28. DESCRIPTION
  29. "The MIB module for the management of locks on a Fibre
  30. Channel Fabric. A Fibre Channel Fabric lock is used to
  31. ensure serialized access to some types of management data
  32. related to a Fabric, e.g., the Fabric's Zoning Database.
  33. Some (managing) applications generate Fabric locks by
  34. initiating server sessions. Server sessions are
  35. defined generically in FC-GS-5 to represent a collection of
  36. one or more requests to the session's server, e.g., to the
  37. Zone Server. Such a session is started by a Server Session
  38. Begin (SSB) request, and terminated by a Server Session End
  39. (SSE) request. The switch receiving the SSB is called the
  40. 'managing' switch. Some applications require the
  41. 'managing' switch to lock the Fabric for the particular
  42. application, e.g., for Enhanced Zoning, before it can
  43. respond successfully to the SSB. On receipt of the
  44. subsequent SSE, the lock is released. For this usage, the
  45. managing switch sends an Acquire Change Authorization (ACA)
  46. request to other switches to lock the Fabric.
  47. For some other applications, a managing switch locks the
  48. Fabric using an Enhanced Acquire Change Authorization (EACA)
  49. request, which identifies the application on whose behalf
  50. the Fabric is being locked with an Application_ID.
  51. Fabric locks can also be requested more directly, e.g.,
  52. through the use of this MIB. In these situations, the term
  53. 'managing' switch is used to indicate the switch that
  54. receives such a request and executes it by issuing either
  55. ACA or EACA requests to other switches in the Fabric.
  56. This MIB module defines information about the 'managing'
  57. switch for currently-active Fabric locks.
  58. Copyright (C) The IETF Trust (2007). This version
  59. of this MIB module is part of RFC 4936; see the RFC
  60. itself for full legal notices."
  61. REVISION "200706270000Z"
  62. DESCRIPTION
  63. "Initial version of this MIB module, published as RFC 4936."
  64. ::= { mib-2 159 }
  65. t11FLockMIBObjects OBJECT IDENTIFIER ::= { t11FabricLockMIB 1 }
  66. t11FLockMIBConformance OBJECT IDENTIFIER ::= { t11FabricLockMIB 2 }
  67. t11FLockMIBNotifications OBJECT IDENTIFIER ::= { t11FabricLockMIB 0 }
  68. t11FLockConfiguration OBJECT IDENTIFIER ::= { t11FLockMIBObjects 1 }
  69. --
  70. -- The table of Managing Switches and their Fabric Locks
  71. --
  72. t11FLockTable OBJECT-TYPE
  73. SYNTAX SEQUENCE OF T11FLockEntry
  74. MAX-ACCESS not-accessible
  75. STATUS current
  76. DESCRIPTION
  77. "A table containing information about the 'managing'
  78. switch of each current Fabric lock, e.g., for the
  79. types of Servers defined in FC-GS-5.
  80. Each entry in this table represents either:
  81. 1) a current Fabric lock,
  82. 2) an in-progress attempt, requested via SNMP, to set up
  83. a lock, or
  84. 3) a failed attempt, requested via SNMP, to set up a lock.
  85. If an entry is created via t11FLockRowStatus, but the
  86. attempt to obtain the lock fails, then the entry continues
  87. to exist until it is deleted via t11FLockRowStatus, or
  88. it is overwritten by the lock being established via
  89. a means other than SNMP. However, rows created via
  90. t11FLockRowStatus are not retained over restarts."
  91. REFERENCE
  92. "Fibre Channel - Generic Services-5 (FC-GS-5),
  93. ANSI INCITS 427-2007, sections 4.9.5 and 6.4.10.2."
  94. ::= { t11FLockConfiguration 1 }
  95. t11FLockEntry OBJECT-TYPE
  96. SYNTAX T11FLockEntry
  97. MAX-ACCESS not-accessible
  98. STATUS current
  99. DESCRIPTION
  100. "Each entry contains information specific to a current
  101. Fabric lock set up by a particular 'managing' switch on a
  102. particular Fabric. The 'managing switch' is identified by
  103. values of fcmInstanceIndex and fcmSwitchIndex.
  104. Server sessions for several different types of servers
  105. are defined in FC-GS-5. The behavior of a server with
  106. respect to commands received within a server session is
  107. specified for each type of server. For some types,
  108. parameter changes can only be made within the context of a
  109. session, and the setting up of a session requires that the
  110. Fabric be locked. A Fabric is locked by one switch, called
  111. the 'managing' switch, sending Acquire Change Authorization
  112. (ACA) requests to all other switches in the Fabric.
  113. For other applications, a Fabric lock is established by the
  114. 'managing' switch sending Enhanced Acquire Change
  115. Authorization (EACA) requests to other switches in the
  116. Fabric. Each EACA request includes an Application_ID
  117. value to identify the application requesting the lock.
  118. For the benefit of this MIB module, a distinct value of
  119. Application_ID has also been assigned/reserved (see
  120. ANSI INCITS T11/06-679v0, titled 'FC-SW-5 Letter to
  121. T11.5') as a means of distinguishing locks established via
  122. Acquire Change Authorization (ACA) requests. This
  123. additional assignment allows an Application_ID to be used to
  124. uniquely identify any active lock amongst all those
  125. established by either an EACA or an ACA.
  126. Whenever a Fabric is locked, by the sending of either an ACA
  127. or an EACA, a row gets created in the representation of this
  128. table for the 'managing' switch.
  129. In order to process SNMP SetRequests that make parameter
  130. changes for the relevant types of servers (e.g., to the
  131. Zoning Database), the SNMP agent must get serialized access
  132. to the Fabric (for the relevant type of management data),
  133. i.e., the Fabric must be locked by creating an entry in
  134. this table via an SNMP SetRequest. Creating an entry in
  135. this table via an SNMP SetRequest causes an ACA or an EACA
  136. to be sent to all other switches in the Fabric. The value
  137. of t11FLockApplicationID for such an entry determines
  138. whether an ACA or an EACA is sent.
  139. If an entry in this table is created by an SNMP SetRequest,
  140. the value of the t11FLockInitiatorType object in that entry
  141. will normally be 'snmp'. A row for which the value of
  142. t11FLockInitiatorType is not 'snmp' cannot be modified
  143. via SNMP. In particular, it cannot be deleted via
  144. t11FLockRowStatus. Note that it's possible for a row to be
  145. created by an SNMP SetRequest, but for the setup of the lock
  146. to fail, and immediately thereafter be replaced by a lock
  147. successfully set up by some other means; in such a case, the
  148. value of t11FLockInitiatorType would change as and when the
  149. lock was set up by the other means, and so the row could
  150. not thereafter be deleted via t11FLockRowStatus.
  151. FC-GS-5 mentions various error situations in which a
  152. Fabric lock is released so as to avoid a deadlock. In
  153. such situations, the agent removes the corresponding row
  154. in this table as and when the lock is released. This can
  155. happen for all values of t11FLockInitiatorType."
  156. REFERENCE
  157. "Fibre Channel - Generic Services-5 (FC-GS-5),
  158. ANSI INCITS 427-2007, sections 4.9.5.5 and 6.4.7.1.
  159. Fibre Channel - Switch Fabric-4 (FC-SW-4),
  160. ANSI INCITS 418-2006, sections 6.1.17, 10.6.6, and 13.2,
  161. and table 116.
  162. 'FC-SW-5 Letter to T11.5' ANSI INCITS T11/06-679v0,
  163. http://www.t11.org/ftp/t11/pub/fc/sw-5/06-679v0.pdf,
  164. 21 September 2006."
  165. INDEX { fcmInstanceIndex, fcmSwitchIndex, t11FLockFabricIndex,
  166. t11FLockApplicationID }
  167. ::= { t11FLockTable 1 }
  168. T11FLockEntry ::= SEQUENCE {
  169. t11FLockFabricIndex T11FabricIndex,
  170. t11FLockApplicationID OCTET STRING,
  171. t11FLockInitiatorType INTEGER,
  172. t11FLockInitiator OCTET STRING,
  173. t11FLockInitiatorIpAddrType InetAddressType,
  174. t11FLockInitiatorIpAddr InetAddress,
  175. t11FLockStatus INTEGER,
  176. t11FLockRejectReasonCode T11NsGs4RejectReasonCode,
  177. t11FLockRejectReasonCodeExp OCTET STRING,
  178. t11FLockRejectReasonVendorCode OCTET STRING,
  179. t11FLockRowStatus RowStatus
  180. }
  181. t11FLockFabricIndex OBJECT-TYPE
  182. SYNTAX T11FabricIndex
  183. MAX-ACCESS not-accessible
  184. STATUS current
  185. DESCRIPTION
  186. "A unique index value that uniquely identifies a
  187. particular Fabric.
  188. In a Fabric conformant to FC-SW-4, multiple Virtual Fabrics
  189. can operate within one (or more) physical infrastructures,
  190. and this index value is used to uniquely identify a
  191. particular (physical or virtual) Fabric within a physical
  192. infrastructure.
  193. In a Fabric conformant to versions earlier than FC-SW-4,
  194. only a single Fabric could operate within a physical
  195. infrastructure, and thus, the value of this Fabric Index
  196. was defined to always be 1."
  197. ::= { t11FLockEntry 1 }
  198. t11FLockApplicationID OBJECT-TYPE
  199. SYNTAX OCTET STRING (SIZE (1))
  200. MAX-ACCESS not-accessible
  201. STATUS current
  202. DESCRIPTION
  203. "The Application_ID value that identifies the type of
  204. application for which the Fabric is locked.
  205. A lock established via Acquire Change Authorization (ACA)
  206. does not, strictly speaking, have an Application_ID value.
  207. However, the value 'FF'h (255 decimal) has been reserved
  208. by T11 to be used as the value of this MIB object as and
  209. when a lock is established by an ACA. This value was
  210. initially documented in a letter from the FC-SW-5 Editor
  211. to T11.5, which was approved by the T11 and T11.5 plenary
  212. meetings on October 5, 2006."
  213. REFERENCE
  214. "Fibre Channel - Switch Fabric-4 (FC-SW-4),
  215. ANSI INCITS 418-2006, April 2006, Table 116.
  216. 'FC-SW-5 Letter to T11.5' ANSI INCITS T11/06-679v0,
  217. http://www.t11.org/ftp/t11/pub/fc/sw-5/06-679v0.pdf,
  218. 21 September 2006."
  219. ::= { t11FLockEntry 2 }
  220. t11FLockInitiatorType OBJECT-TYPE
  221. SYNTAX INTEGER {
  222. other(1),
  223. ssb(2),
  224. cli(3),
  225. snmp(4)
  226. }
  227. MAX-ACCESS read-only
  228. STATUS current
  229. DESCRIPTION
  230. "This object specifies what type of initiator generated
  231. the request that caused this lock to be established:
  232. other - none of the following.
  233. ssb - this lock was established due to the
  234. receipt of an SSB, e.g., from a GS-5
  235. client.
  236. cli - this lock was established in order
  237. to process a Command Line Interface
  238. (CLI) command.
  239. snmp - this lock was established as a result
  240. of an SNMP SetRequest.
  241. "
  242. ::= { t11FLockEntry 3 }
  243. t11FLockInitiator OBJECT-TYPE
  244. SYNTAX OCTET STRING (SIZE(0..64))
  245. MAX-ACCESS read-only
  246. STATUS current
  247. DESCRIPTION
  248. "This object specifies the initiator whose request
  249. caused this lock to be established.
  250. If the value of the corresponding instance
  251. of t11FLockInitiatorType is 'ssb', this
  252. object will contain the FC_ID of the client
  253. that issued the Server Session Begin (SSB)
  254. that required the lock to be established.
  255. If the value of the corresponding instance
  256. of t11FLockInitiatorType object is 'cli', this
  257. object will contain the user name of the CLI
  258. (Command Line Interface) user on whose behalf
  259. the lock was established.
  260. If the value of the corresponding instance of
  261. t11FLockInitiatorType is 'snmp', this object
  262. will contain the SNMP securityName used by the
  263. SNMPv3 message containing the SetRequest that
  264. created this row. (If the row was created via
  265. SNMPv1 or SNMPv2c, then the appropriate value of
  266. the snmpCommunitySecurityName is used.)"
  267. REFERENCE
  268. "Fibre Channel - Generic Services-5 (FC-GS-5),
  269. ANSI INCITS 427-2007, section 4.9.5.2.
  270. SNMP securityName is defined in RFC 3411, 'An
  271. Architecture for Describing Simple Network
  272. Management Protocol (SNMP) Management Frameworks'.
  273. snmpCommunitySecurityName is defined in RFC 3584,
  274. 'Coexistence between Version 1, Version 2, and
  275. Version 3 of the Internet-standard Network
  276. Management Framework.'"
  277. ::= { t11FLockEntry 4 }
  278. t11FLockInitiatorIpAddrType OBJECT-TYPE
  279. SYNTAX InetAddressType
  280. MAX-ACCESS read-only
  281. STATUS current
  282. DESCRIPTION
  283. "This object specifies the type of IP address contained
  284. in the corresponding instance of t11FLockInitiatorIpAddr.
  285. If the IP address of the location of the initiator is
  286. unknown or not applicable, this object has the value:
  287. 'unknown'."
  288. ::= { t11FLockEntry 5 }
  289. t11FLockInitiatorIpAddr OBJECT-TYPE
  290. SYNTAX InetAddress
  291. MAX-ACCESS read-only
  292. STATUS current
  293. DESCRIPTION
  294. "This object specifies the IP address of the location
  295. of the initiator that established this lock via a
  296. request of the type given by the corresponding instance
  297. of t11FLockInitiatorType. In cases where the
  298. corresponding instance of t11FLockInitiatorIpAddrType has
  299. the value: 'unknown', the value of this object is the
  300. zero-length string."
  301. ::= { t11FLockEntry 6 }
  302. t11FLockStatus OBJECT-TYPE
  303. SYNTAX INTEGER {
  304. active(1),
  305. settingUp(2),
  306. rejectFailure(3),
  307. otherFailure(4)
  308. }
  309. MAX-ACCESS read-only
  310. STATUS current
  311. DESCRIPTION
  312. "This object gives the current status of the lock:
  313. 'active' -- the lock is currently established.
  314. 'settingUp' -- the 'managing' switch is currently
  315. attempting to set up the lock, e.g.,
  316. it is waiting to receive Accepts
  317. for ACAs from every switch in the
  318. Fabric.
  319. 'rejectFailure' -- the 'managing' switch's attempt to
  320. set up the lock was rejected with
  321. the reason codes given by:
  322. t11FLockRejectReasonCode,
  323. t11FLockRejectReasonCodeExp and
  324. t11FLockRejectReasonVendorCode.
  325. 'otherFailure' -- the 'managing' switch's attempt
  326. to set up the lock failed (but no
  327. reason codes are available).
  328. For values of t11FLockInitiatorType other than 'snmp',
  329. a row is only required to be instantiated in this table
  330. when the value of this object is 'active'.
  331. If the value of the corresponding instance of
  332. t11FLockInitiatorType is 'snmp', the initial value of this
  333. object when the row is first created is 'settingUp'. As
  334. and when the setup succeeds, the value transitions to
  335. 'active'. If the setup fails, the value transitions to
  336. either 'rejectFailure' or 'otherFailure'. Note that such a
  337. failure value is overwritten on the next attempt to obtain
  338. the lock, which could be immediately after the failure,
  339. e.g., by a GS-5 client.
  340. When the value of this object is 'rejectFailure', the
  341. rejection's reason codes are given by the corresponding
  342. values of t11FLockRejectReasonCode,
  343. t11FLockRejectReasonCodeExp and
  344. t11FLockRejectReasonVendorCode."
  345. ::= { t11FLockEntry 7 }
  346. t11FLockRejectReasonCode OBJECT-TYPE
  347. SYNTAX T11NsGs4RejectReasonCode
  348. MAX-ACCESS read-only
  349. STATUS current
  350. DESCRIPTION
  351. "When the value of the corresponding instance of
  352. t11FLockStatus is 'rejectFailure', this object contains
  353. the rejection's reason code."
  354. REFERENCE
  355. "Fibre Channel - Generic Services-5 (FC-GS-5),
  356. ANSI INCITS 427-2007, section 4.4.4 and table 10."
  357. ::= { t11FLockEntry 8 }
  358. t11FLockRejectReasonCodeExp OBJECT-TYPE
  359. SYNTAX OCTET STRING (SIZE(0 | 1))
  360. MAX-ACCESS read-only
  361. STATUS current
  362. DESCRIPTION
  363. "When the value of the corresponding instance of
  364. t11FLockStatus is 'rejectFailure', this object contains
  365. the rejection's reason code explanation."
  366. REFERENCE
  367. "Fibre Channel - Generic Services-5 (FC-GS-5),
  368. ANSI INCITS 427-2007, sections 4.4.4 and 6.4.9,
  369. tables 10 and 252."
  370. ::= { t11FLockEntry 9 }
  371. t11FLockRejectReasonVendorCode OBJECT-TYPE
  372. SYNTAX OCTET STRING (SIZE(0 | 1))
  373. MAX-ACCESS read-only
  374. STATUS current
  375. DESCRIPTION
  376. "When the value of the corresponding instance of
  377. t11FLockStatus is 'rejectFailure', this object contains
  378. the rejection's vendor-specific code."
  379. REFERENCE
  380. "Fibre Channel - Generic Services-5 (FC-GS-5),
  381. ANSI INCITS 427-2007, section 4.4.4."
  382. ::= { t11FLockEntry 10 }
  383. t11FLockRowStatus OBJECT-TYPE
  384. SYNTAX RowStatus
  385. MAX-ACCESS read-create
  386. STATUS current
  387. DESCRIPTION
  388. "The status of this conceptual row.
  389. A row in this table can be modified or deleted via
  390. this object only when the row's value of
  391. t11FLockInitiatorType is 'snmp'."
  392. ::= { t11FLockEntry 11 }
  393. -- Conformance
  394. t11FLockMIBCompliances
  395. OBJECT IDENTIFIER ::= { t11FLockMIBConformance 1 }
  396. t11FLockMIBGroups OBJECT IDENTIFIER ::= { t11FLockMIBConformance 2 }
  397. t11FLockMIBCompliance MODULE-COMPLIANCE
  398. STATUS current
  399. DESCRIPTION
  400. "The compliance statement for entities that support
  401. Fabric locks in support of GS-5 Server applications."
  402. MODULE MANDATORY-GROUPS { t11FLockActiveGroup }
  403. OBJECT t11FLockRowStatus
  404. MIN-ACCESS read-only
  405. DESCRIPTION
  406. "Write access is not required."
  407. ::= { t11FLockMIBCompliances 1 }
  408. -- Units of Conformance
  409. t11FLockActiveGroup OBJECT-GROUP
  410. OBJECTS { t11FLockInitiatorType,
  411. t11FLockInitiator,
  412. t11FLockInitiatorIpAddrType,
  413. t11FLockInitiatorIpAddr,
  414. t11FLockStatus,
  415. t11FLockRejectReasonCode,
  416. t11FLockRejectReasonCodeExp,
  417. t11FLockRejectReasonVendorCode,
  418. t11FLockRowStatus
  419. }
  420. STATUS current
  421. DESCRIPTION
  422. "A collection of objects containing information
  423. about current Fabric locks."
  424. ::= { t11FLockMIBGroups 1 }
  425. END