C H A P T E R 6 |
Managed Object Hierarchy Software Modules |
This chapter provides a high-level description of the Release 2 Management Object Hierarchy (MOH) Software Modules for the Netra CT platform. It describes the software module interfaces and their major internal modules. It consists of:
The software services in the system are monitored by software modules which are part of the Information Module layer objects.
Software services are either reliable services (such as RNFS, RBS, or CGTP) or unreliable services (such as TFTP, or NIS). The software services can be a software subsystem such as a network stack (TCP, IP, UDP); an I/O driver such as a network driver; or network processes or network daemons such as NFS.
Some software services are only available on certain CPU boards. For example, CGTP is available for both the host and the satellite CPU boards, but RBS or RNFS are only available on the host CPU board.
The software module interacts with the OS platform through Java interfaces to:
The software module also provides APIs for management applications to configure the monitoring of software services, such as setting error thresholds, setting polling intervals, starting and stopping polling, and setting maximum retry-counts for the recovery of the daemons.
The software modules monitor the following software services:
This section describes the Software Module MBeans for each of the software services that the MOH Software Modules monitor. As specified by the Java Management extensions for instrumentation, all attributes and operations are explicitly listed in an MBean interface. This interface must have the same name as the class that implements it, followed by the MBean suffix. Since the interface and its implementation are usually in different files, there are two files which make up a standard MBean.
These MBeans and their public APIs provide the management interface to manage the applications. All the specific MBeans below are extended from the SoftwareServiceMbean. For more specific information, refer to the Java documents for the APIs that are distributed as part of the Netra CT MOH package. See Viewing the Netra CT Management Agent API Online for details.
The SoftwareMonitorMBean is an object that clients can use to discover all the software services in the system. The SoftwareMonitorMBean contains the method getSoftwareServiceList() which returns the list of software services.
This class provides the name of the daemon, the state of the daemon, and the daemon recovery try count.
The SoftwareServiceMBean provides the base class from which other ServiceMBeans are extended. The SoftwareServiceMBean provides the following:
The NfsServiceMBean enables the client to monitor the NFS services. A client can get and set the maximum error threshold, get and set the threshold for excessive error intervals, and get the list of NFS mount failures.
The UfsServiceMBean enables the client to monitor the UFS services. A client can get and set the maximum threshold of the file system usage percentage, get and set the threshold for the number of excessive usage intervals, and query the list of file systems exceeding the usage threshold.
The TcpServiceMBean enables the client to monitor the TCP services. A client can get status and statistics for the TCP network layer, get and set intervals and thresholds for gathering the statistics, start and stop polling, and get a list of daemons supporting the service.
The UdpServiceMBean enables the client to monitor the UPD services. A client can get status and statistics for the UDP network layer, get and set intervals and threshold for gathering the statistics, start and stop polling, and get a list of daemons supporting the service.
The IpServiceMBean enables the client to monitor the IP services. A client can get status and statistics for the IP network layer, get and set intervals and thresholds for gathering the statistics, start and stop polling, and get a list of daemons supporting the service.
The EtherIfStatsMbean monitors the Ethernet drivers, and monitors the interface for transmitter and receiver error counts. A client can set and get the maximum error threshold, set and get the threshold for number of excessive intervals, and query for the list of Ethernet interfaces in error.
The CgtpServiceMBean enables the client to monitor the CGTP services. A client can get status and statistics for the IP network layer, list and get state of associated Ethernet physical interfaces, get and set intervals and thresholds for gathering the statistics, start and stop polling, and get a list of daemons supporting the service.
The RnfsServiceMBean enables the client to monitor the RNFS services. A client can get status and statistics for the UDP network layer, get and set intervals and thresholds for gathering the statistics, start and stop polling, and get a list of daemons supporting the service.
The SNMP view is supported through the Host Resources MIB. The SNMP client can query for the software services using the Host Resource Software Running table, and can query for the software services that are installed in the local system using the Host Resource Software Installed table.
The Host Resources MIB is defined in RFC 2790.
The Host Resources Running Software Table contains information about the software that is running on the network element (for example, NFS, TFTP, and CGTP). When an application or daemon under the monitor is running, the MOH Software Module adds an entry into the hrSWRunTable and will send to the client the netraCtRunningSwCreated trap. When an application or a daemon stops running, the MOH Software Module sends the netraCtRunningSwChanged trap with hrSWRunStatus is invalid. The MOH Software Module only deletes the entry from the hrSWRunTable and sends the netraCtRunningSwDeleted trap when the service is uninstalled from the system.
The Host Resources Installed Software Table contains information about the software installed on the network element (for example, installation packages related to NFS, CGTP, and so on). netraCtInstalledSwCreated, netraCtInstalledSwDeleted and netraCtInstalledSwChanged are traps sent to the client corresponding to the software package installed event, software package uninstalled event, and different version of the existing software package installed event.
The SNMP management software has the ability to send traps, or messages, to an application when one or more conditions have been met. Generally, a trap is an unsolicited network packet sent from an agent that usually reports some unexpected error condition.
TABLE 6-1 describes the SNMP traps found in the Netra CT SNMP MIB.
TABLE 6-2 defines the standard SNMP traps found in the RFC123-MIB.
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.