Enable SNMP Trap for Safe Mode and Limited Mode
Use the following steps to configure a notification that will be sent to all configured destinations when a node in the cluster changes from operational mode to safe mode or from operational mode to limited mode.
The safe mode and limited mode capabilities are enabled through the SNMP trap event Operational Mode Change. To enable the trap on a node, do the following:
1. | Select Settings > Global Settings > SNMP Traps. |
2. | Click Trap Settings. |
3. | On the Edit SNMP Traps Settings page, select Operational Mode Change. |
4. | Click Save. |
When the cluster leader enters safe mode, the SNMP trap will be sent and the leader will be identified as the local node in the trap.
When a node in a cluster (normal or standby) enters safe mode, the SNMP trap will be sent and the node will be identified as the local node in the trap. In addition, a notification will be sent to the cluster leader in the form of a CLI console message. The node that entered safe mode will be identified by its box ID in the notification to the leader. The following is an example of the CLI console message:
hc2 [default-cluster:leader] (config) # ! Box-ID 4: System has entered into safe mode!!hc2 [default-cluster:leader] (config) #
Log messages also provide information. The following is a sample log:
Jun 8 13:46:27 GC-TA10-N6 mgmtd[2400]: [mgmtd.INFO]: SAFE mode: Merge error detected !! Triggering SAFE mode ...