summaryrefslogtreecommitdiff
path: root/MIBS/bluecatnetworks/BCN-HA-MIB
blob: 26e64220bcff38378301137691d0da6a0960377d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
-- Copyright 2017 BlueCat Networks. All rights reserved.
-- *****************************************************************
-- BCN-HA-MIB.mib:  BlueCat Networks HA services
--
--
-- December 2010, Fabian Ischia
--
-- All rights reserved.
-- 
-- *****************************************************************

BCN-HA-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY,
    OBJECT-TYPE, Unsigned32
        FROM SNMPv2-SMI
    DisplayString
        FROM SNMPv2-TC
    InetAddress, InetAddressType
        FROM INET-ADDRESS-MIB
    OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    BcnAlarmSeverity
        FROM BCN-TC-MIB
    bcnServices
        FROM BCN-SMI-MIB;

bcnHaMIB MODULE-IDENTITY
    LAST-UPDATED	"201012150000Z"
    ORGANIZATION	"BlueCat Networks"
    CONTACT-INFO
        "BlueCat Networks. Customer Care.

        North America
        Call: +1.866.491.2228
        Europe
        Call: +44.8081.011.306
        Other
        Call: +1.416.646.8433
        
        Email: support@bluecatnetworks.com"
    DESCRIPTION
        "This module provides status as well as statistical information
        about the HA service."
    REVISION "201012150000Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { bcnHa 1 }

bcnHa OBJECT IDENTIFIER  ::= { bcnServices 5 }

-- Organization

bcnHaObjects OBJECT IDENTIFIER 
    ::= { bcnHa 2 }

bcnHaNotification OBJECT IDENTIFIER 
    ::= { bcnHa 3 }

bcnHaConformance OBJECT IDENTIFIER 
    ::= { bcnHa 4 }


-- Data objects

bcnHaServiceStatus OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "General state of the HA Service."
    ::= { bcnHaObjects 1 }

bcnHaSerOperState OBJECT-TYPE
    SYNTAX      INTEGER {
      standalone(1),
      active(2),
      passive(3),
      stopped(4),
      stopping(5),
      becomingActive(6),
      becomingPassive(7),
      fault(8)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Operational state of the Service. The possible states are:
        standalone(1) The node is not configured to provide clustering
                      services.
        active(2)     The system is operational and the node is providing
                      clustering services.
        passive(3)    The system is operational and the node is active as
                      a passive standby for the cluster.
        stopped(4)    The service is stopped either intentionally (i.e.:
                      the service is not supposed to run on this node) or
                      unintentionally (a problem has occurred).
                      This state might apply to both standalong and
                      clustered nodes.
        stopping(5)   The service is in the process of stopping. Stopping
                      a service might be necessary after a configuration
                      change.
        becomingActive (6)  The node is becoming active, either as a result
                      of a switchover or by initial start.
        becomingPassive (7) The node is failing over. Another node is taking
                      charge of the services.
        fault(8)      An error has been detected and the state is undefined.
        "
    ::= { bcnHaServiceStatus 1 }

bcnHaSerReplicationState OBJECT-TYPE
    SYNTAX      INTEGER {
      notConfigured(1),
      replicating(2),
      synchronized(3)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The current state of the replication. All nodes in a cluster 
        must be in synch in order for HA to work correctly. The nodes
        might be temporarily out of synch during cluster creation or
        when one of the nodes has been down for a while."
    ::= { bcnHaServiceStatus 2 }


bcnHaSerAddressTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF BcnHaSerAddressEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "This table keeps the information about the network addresses
        for the clustered nodes. Most of the time this table will contain
        one or two rows, depending on the type of IPs configured for
        clustering."
    ::= { bcnHaServiceStatus 3 }

bcnHaSerAddressEntry OBJECT-TYPE
    SYNTAX      BcnHaSerAddressEntry
    MAX-ACCESS  not-accessible
    STATUS      current
	DESCRIPTION "A logical row in the bcnHaSerAddressTable."
    INDEX { bcnHaSerAddrTableIndex }
    ::= { bcnHaSerAddressTable 1 }

BcnHaSerAddressEntry ::=
    SEQUENCE {
        bcnHaSerAddrTableIndex          Unsigned32,
        bcnHaSerVirtualAddressType      InetAddressType,
        bcnHaSerVirtualAddress          InetAddress,
        bcnHaSerPhysicalAddressType     InetAddressType,
        bcnHaSerPhysicalAddress         InetAddress,
        bcnHaSerPeerAddressType         InetAddressType,
        bcnHaSerPeerAddress             InetAddress
    }

bcnHaSerAddrTableIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "This index will normally be 0 or 1"
    ::= { bcnHaSerAddressEntry  1 }


bcnHaSerVirtualAddressType  OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The type of address stored in bcnHaSerVirtualAddress."
    ::= { bcnHaSerAddressEntry 2 }

bcnHaSerVirtualAddress  OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The virtual IP address configured for this node. The type
        of this mib variable is defined in bcnHaSerVirtualAddressType.
        This address binds to the active node at all times."
    ::= { bcnHaSerAddressEntry 3 }

bcnHaSerPhysicalAddressType  OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The type of address stored in bcnHaSerPhysicalAddress."
    ::= { bcnHaSerAddressEntry 4 }

bcnHaSerPhysicalAddress  OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The physical IP address configured for this node. The type
        of this mib variable is defined in bcnHaSerPhisicalAddressType.
        This address is not affected by switchover events."
    ::= { bcnHaSerAddressEntry 5 }

bcnHaSerPeerAddressType  OBJECT-TYPE
    SYNTAX      InetAddressType
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The type of address stored in bcnHaSerPeerAddress."
    ::= { bcnHaSerAddressEntry 6 }

bcnHaSerPeerAddress  OBJECT-TYPE
    SYNTAX      InetAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The physical IP address configured for the peer node. The type
        of this mib variable is defined in bcnHaSerPeerAddressType.
        This address is not affected by switchover events."
    ::= { bcnHaSerAddressEntry 7 }

-- Notification definitions

bcnHaNotificationEvents OBJECT IDENTIFIER 
    ::= { bcnHaNotification 0 }

bcnHaNotificationData OBJECT IDENTIFIER 
    ::= { bcnHaNotification 1 }

-- Notification data

bcnHaAlarmSeverity OBJECT-TYPE
    SYNTAX          BcnAlarmSeverity
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Severity classification for the alarm."
    ::= { bcnHaNotificationData 1 }

bcnHaAlarmInfo OBJECT-TYPE
    SYNTAX          DisplayString
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Descriptive information about the alarm event."
    ::= { bcnHaNotificationData 2 }


-- Notification events

bcnHaAlarmNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnHaSerOperState,
                bcnHaAlarmSeverity,
                bcnHaAlarmInfo
            }
    STATUS          current
    DESCRIPTION
        "A bcnHaAlarmNotif signifies that the HA service has transitioned
        state or a particular event has been detected on the service."
   ::= { bcnHaNotificationEvents 1 }

-- Conformance

bcnHaServiceCompliances OBJECT IDENTIFIER 
    ::= { bcnHaConformance 1 }

bcnHaServiceGroups OBJECT IDENTIFIER 
    ::= { bcnHaConformance 2 }


bcnHaServiceStatusGroup OBJECT-GROUP
    OBJECTS { 
          bcnHaSerOperState, 
          bcnHaSerReplicationState,
          bcnHaSerVirtualAddressType,
          bcnHaSerVirtualAddress,
          bcnHaSerPhysicalAddressType,
          bcnHaSerPhysicalAddress,
          bcnHaSerPeerAddressType,
          bcnHaSerPeerAddress
    }
    STATUS current
    DESCRIPTION "Status conformance."
    ::= { bcnHaServiceGroups 1 }


bcnHaNotificationEventGroup NOTIFICATION-GROUP
    NOTIFICATIONS { 
          bcnHaAlarmNotif
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnHaServiceGroups 2 }

bcnHaNotificationDataGroup OBJECT-GROUP
    OBJECTS { 
          bcnHaAlarmSeverity, 
          bcnHaAlarmInfo
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnHaServiceGroups 3 }


bcnHaStatusCompliance MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION "Basic conformance"
    MODULE -- This module
    MANDATORY-GROUPS {
        bcnHaServiceStatusGroup,
        bcnHaNotificationEventGroup, 
        bcnHaNotificationDataGroup }
    ::= {bcnHaServiceCompliances 1 }


END