This section covers the following topics:
Logical Domains Manager and the Oracle VM Server for SPARC MIB
To successfully use the Oracle VM Server for SPARC MIB, you must understand how to use the following software products and features:
Oracle Solaris OS
Oracle VM Server for SPARC software
Simple Network Management Protocol (SNMP)
SNMP Management Information Base (MIB)
Oracle Solaris SNMP Agent
SNMP version 1 (SNMPv1), SNMP version 2 (SNMPv2c), and SNMP version 3 (SNMPv3) protocols
Structure of Management Information (SMI) version 1 and version 2
Management Information Base (MIB) structure
Abstract Syntax Notation (ASN.1)
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 Oracle Solaris SNMP agent 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 Oracle Solaris SNMP agent, 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 30 Oracle VM Server for SPARC MIB Interaction With Oracle Solaris SNMP Agent, Logical Domains Manager, and a Third-Party System Management Application
The Oracle Solaris SNMP agent 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 Oracle Solaris SNMP agent on the control domain.
The Oracle Solaris SNMP agent 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 3.
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:
CPUs
Memory
Disk, network, and console I/O
Cryptographic units
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 Oracle Solaris SNMP agent with the Oracle VM Server for SPARC MIB is started and monitored by the init process and the Service Management Facility (SMF). If the Oracle Solaris SNMP agent 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:
iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).sun(42).products(2)
The following figure shows the major subtrees under the Oracle VM Server for SPARC MIB.
Figure 31 Oracle VM Server for SPARC MIB Tree