|Skip Navigation Links|
|Exit Print View|
|Oracle VM Server for SPARC 2.2 Administration Guide Oracle VM Server for SPARC|
This section covers the following topics:
The Oracle VM Server for SPARC MIB package, SUNWldmib.v, contains the following software components:
SUN-LDOM-MIB.mib is an SNMP MIB in the form of a text file. This file defines the objects in the Oracle VM Server for SPARC MIB.
ldomMIB.so is a System Management Agent extension module in the form of a shared library. This module enables the SMA to respond to requests for information that are specified in the Oracle VM Server for SPARC MIB and to generate traps.
The following figure shows the interaction between the Oracle VM Server for SPARC MIB, the SMA, the Logical Domains Manager, and a third-party system management application. The interaction shown in this figure is described in System Management Agent and Logical Domains Manager and the Oracle VM Server for SPARC MIB.
Figure 15-1 Oracle VM Server for SPARC MIB Interaction With SMA, Logical Domains Manager, and Third-Party System Management Application
The Solaris SNMP agent (SMA) performs the following functions:
Listens for requests from a third-party system management application to get or set data offered by the Oracle VM Server for SPARC MIB. The agent listens on the standard SNMP port, 161.
Issues traps to the configured system management application by using the standard port for SNMP notifications, 162.
The Oracle VM Server for SPARC MIB is exported by the Oracle Solaris OS default SMA on the control domain.
The SMA supports the get, set, and trap functions of SNMP versions v1, v2c, and v3. Most Oracle VM Server for SPARC MIB objects are read-only for monitoring purposes. However, to start or stop a domain, you must write a value to the ldomAdminState property of the ldomTable table. See Table 15-1.
A domain is a container that consists of a set of virtual resources for a guest operating system. The Logical Domains Manager provides the command-line interface (CLI) for creating, configuring, and managing the domains. The Logical Domains Manager and the Oracle VM Server for SPARC MIB support the following virtual resources:
Disk, network, and console I/O
The Logical Domains Manager exports an XML-based control interface to the Oracle VM Server for SPARC MIB. The Oracle VM Server for SPARC MIB parses the XML interface and populates the MIB. The Oracle VM Server for SPARC MIB only provides support for the control domain.
The Oracle VM Server for SPARC MIB polls the Logical Domains Manager periodically for updates or status changes, and then issues SNMP traps to the system management applications.
If the Oracle VM Server for SPARC MIB can no longer allocate a needed resource, the MIB returns a general error to the system management application through the SNMP agent. The SNMP trap-delivery mechanism does not confirm the error. No specific state or checkpointing is implemented in the Oracle VM Server for SPARC MIB. The SMA with the Oracle VM Server for SPARC MIB is started and monitored by the init process and the Service Management Facility (SMF). If the SMA fails and exits, SMF restarts the process automatically, and then the new process dynamically restarts the Oracle VM Server for SPARC MIB module.
SNMP-managed objects are organized into a tree-like hierarchy. An object identifier (OID) consists of a series of integers based on the nodes in the tree, separated by dots. Each managed object has a numerical OID and an associated textual name. The Oracle VM Server for SPARC MIB is registered as the ldom (205) branch in this part of the object tree:
The following figure shows the major subtrees under the Oracle VM Server for SPARC MIB.
Figure 15-2 Oracle VM Server for SPARC MIB Tree