Skip Navigation Links | |
Exit Print View | |
Oracle VM Server for SPARC 2.2 Administration Guide Oracle VM Server for SPARC |
Part I Oracle VM Server for SPARC 2.2 Software
1. Overview of the Oracle VM Server for SPARC Software
2. Installing and Enabling Software
3. Oracle VM Server for SPARC Security
4. Setting Up Services and the Control Domain
11. Managing Domain Configurations
12. Performing Other Administration Tasks
Part II Optional Oracle VM Server for SPARC Software
13. Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
14. Oracle VM Server for SPARC Configuration Assistant (Oracle Solaris 10)
15. Using the Oracle VM Server for SPARC Management Information Base Software
Oracle VM Server for SPARC Management Information Base Overview
Logical Domains Manager and the Oracle VM Server for SPARC MIB
Parsing the XML-Based Control Interface
Installing and Configuring the Oracle VM Server for SPARC MIB Software
Installing and Configuring the Oracle VM Server for SPARC MIB Software (Task Map)
How to Install the Oracle VM Server for SPARC MIB Software Package
How to Load the Oracle VM Server for SPARC MIB Module Into the SMA
How to Remove the Oracle VM Server for SPARC MIB Software Package
How to Create the Initial snmpv3 User
How to Set Environment Variables
Querying the Oracle VM Server for SPARC MIB
How to Retrieve Oracle VM Server for SPARC MIB Objects
Retrieving Oracle VM Server for SPARC MIB Information
Environment Variables Table (ldomEnvVarsTable)
Domain Policy Table (ldomPolicyTable)
Service Processor Configuration Table (ldomSPConfigTable)
Domain Resource Pool and Scalar Variables
Virtual CPU Table (ldomVcpuTable)
Cryptographic Units Table (ldomCryptoTable)
I/O Bus Table (ldomIOBusTable)
Scalar Variables for Logical Domains Version Information
Using Oracle VM Server for SPARC MIB Module Traps
Oracle VM Server for SPARC MIB Trap Descriptions
Domain State Change (ldomStateChange)
Virtual CPU Change (ldomVCpuChange)
Virtual Memory Change (ldomVMemChange)
Virtual Disk Service Change (ldomVdsChange)
Virtual Disk Change (ldomVdiskChange)
Virtual Switch Change (ldomVswChange)
Virtual Network Change (ldomVnetChange)
Virtual Console Concentrator Change (ldomVccChange)
Virtual Console Group Change (ldomVconsChange)
Starting and Stopping a Domain
16. Logical Domains Manager Discovery
17. Using the XML Interface With the Logical Domains Manager
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:
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 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:
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 15-2 Oracle VM Server for SPARC MIB Tree