N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

Messaging

The N1 Provisioning Server software provides a message routing framework directing messages related to farms and monitoring activities to a central repository on the CPDB or to an external NMS.

N1 Provisioning Server software generates three types of messages:

All messages are forwarded to the N1 Provisioning Server. The N1 Provisioning Server then sends the messages to the message repository in the CPDB. You can view monitoring data for farm servers through the Control Center Monitor screen.

Optionally, you can configure the CPDB to forward messages to an external NMS. See Management Information Base Definitions for details.

Message Flow to the CPDB

Message flow from the I-Fabric components to the CPDB is automatic. Message flow from the CPDB to an optional third-party NMS is configurable. The following graphic illustrates the flow of messages from I-Fabric elements to the CPDB message repository of an I-Fabric.

Figure 4–1 Message Flow from I-Fabric Elements to the CPDB

>

Forwarding Messages to an NMS

If you are forwarding messages to an NMS, you need to set up an SNMP connection because all N1 Provisioning Server monitoring messages sent to an NMS are in the form of an SNMP trap. SNMP requires the implementation of a management information base (MIB) for implementing trap versions. The N1 Provisioning Server monitoring mechanism sends only version 2 traps. However the CPDB can convert the trap versions. You can configure the monitoring mechanism to forward messages to an NMS in the tspr.properties file on the /etc/opt/terraspring directory as follows:

com.terraspring.mlg.SnmpConf.forwardingIP=IP address of NMS

After configuring this property, restart the SnmpTrap daemon as follows:


/opt/terraspring/sbin/snmpd stop
/opt/terraspring/sbin/snmpd start

See Chapter 2, I-Fabric Operation for more details on monitoring properties.

Configuring Message Routing

You can configure which type of message (farm, billing, or informational) to send to either CPDB or NMS in the tspr.properties file in the /etc/opt/terraspring directory as follows:

Table 4–1 Configuring Message Routing Properties

Property 

Description 

com.terraspring.mlg.MonLogPolicy.userMsgMode=DB

Specifies where to send farm messages. 

  1. Possible values: DB, NMS, NONE

  2. Default: DB

com.terraspring.mlg.MonLogPolicy.infoMsgMode=DB

Specifies where to send informational messages. 

  1. Possible values: DB, NMS, NONE

  2. Default: NMS