JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle VM Server for SPARC 3.0 Administration Guide     Oracle VM Server for SPARC
search filter icon
search icon

Document Information

Preface

Part I Oracle VM Server for SPARC 3.0 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

5.  Setting Up Guest Domains

6.  Setting Up I/O Domains

7.  Using Virtual Disks

8.  Using Virtual Networks

9.  Migrating Domains

10.  Managing Resources

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 Power Management

16.  Using the Oracle VM Server for SPARC Management Information Base Software

Oracle VM Server for SPARC Management Information Base Overview

Software Components

System Management Agent

Logical Domains Manager and the Oracle VM Server for SPARC MIB

Parsing the XML-Based Control Interface

Providing SNMP Traps

Providing Fault and Recovery Information

Oracle VM Server for SPARC MIB Object Tree

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 Oracle Solaris SNMP Agent

How to Remove the Oracle VM Server for SPARC MIB Software Package

Managing Security

How to Create the Initial snmpv3 User

Monitoring Domains

Setting Environment Variables

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

Domain Table (ldomTable)

Environment Variables Table (ldomEnvVarsTable)

Domain Policy Table (ldomPolicyTable)

Service Processor Configuration Table (ldomSPConfigTable)

Domain Resource Pool and Scalar Variables

Virtual CPU Table (ldomVcpuTable)

Virtual Memory Tables

Virtual Disk Tables

Virtual Network Tables

Virtual Console Tables

Cryptographic Units Table (ldomCryptoTable)

I/O Bus Table (ldomIOBusTable)

Core Table (ldomCoreTable)

Scalar Variables for Logical Domains Version Information

Using SNMP Traps

Using Oracle VM Server for SPARC MIB Module Traps

Sending and Receiving Traps

Oracle VM Server for SPARC MIB Trap Descriptions

Domain Creation (ldomCreate)

Domain Destroy (ldomDestroy)

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 Domains

Starting and Stopping a Domain

How to Start a Domain

How to Stop a Domain

17.  Logical Domains Manager Discovery

18.  Using the XML Interface With the Logical Domains Manager

Glossary

Index

Installing and Configuring the Oracle VM Server for SPARC MIB Software

This section covers the installation and configuration of the Oracle VM Server for SPARC MIB software on Oracle Solaris 10 and Oracle Solaris 11 systems. For information about administering SNMP, see the snmpd.conf(4) or snmpd.conf(5) man page.

Installing and Configuring the Oracle VM Server for SPARC MIB Software (Task Map)

The following table points to the tasks that you can use to install and configure the Oracle VM Server for SPARC MIB software.

Task
Description
For Instructions
Install the Oracle VM Server for SPARC MIB software package on the primary domain.
Use the pkgadd command to install the SUNWldmib.v package on an Oracle Solaris 10 system. Or, use the pkg install command to install the system/ldoms/mib package on an Oracle Solaris 11 system.
Load the Oracle VM Server for SPARC MIB module into the Oracle Solaris SNMP agent to query the Oracle VM Server for SPARC MIB.
Modify the SNMP configuration file to load the ldomMIB.so module.
Remove the Oracle VM Server for SPARC MIB software package from the primary domain.
Use the pkgrm command to remove the SUNWldmib package from an Oracle Solaris 10 system. Or, use the pkg remove command to remove the system/ldoms/mib package from an Oracle Solaris 11 system.

How to Install the Oracle VM Server for SPARC MIB Software Package

This procedure describes how to install the Oracle VM Server for SPARC MIB software package on Oracle Solaris 10 and Oracle Solaris 11 systems. The Oracle VM Server for SPARC MIB software package is included as part of the Oracle VM Server for SPARC 3.0 software.

After you install this package, you can configure your system to dynamically load the Oracle VM Server for SPARC MIB module. See How to Load the Oracle VM Server for SPARC MIB Module Into the Oracle Solaris SNMP Agent.

The Oracle VM Server for SPARC MIB package includes the following files:

Before You Begin

Download and install the Oracle VM Server for SPARC 3.0 software. See Chapter 2, Installing and Enabling Software.

  1. Determine whether your system runs the Oracle Solaris 10 OS or the Oracle Solaris 11 OS.
    # uname -r
  2. Install the Oracle VM Server for SPARC MIB software on the primary domain.
    • Install the Oracle Solaris 10 MIB software package, SUNWldmib.
      # pkgadd -d . SUNWldmib.v
    • Install the Oracle Solaris 11 MIB software package, system/ldoms/mib.
      # pkg install -v -g IPS-package-directory/ldoms.repo mib

How to Load the Oracle VM Server for SPARC MIB Module Into the Oracle Solaris SNMP Agent

The Oracle VM Server for SPARC MIB module, ldomMIB.so, must be loaded into the Oracle Solaris SNMP agent to query the Oracle VM Server for SPARC MIB. The Oracle VM Server for SPARC MIB module is dynamically loaded so that the module is included within the SNMP agent without requiring you to recompile and relink the agent binary.

This procedure describes how to configure your system to dynamically load the Oracle VM Server for SPARC MIB module. Instructions for dynamically loading the module without restarting the Oracle Solaris SNMP agent are provided in Solaris System Management Agent Developer's Guide. For more information about the Oracle Solaris SNMP agent, see Solaris System Management Administration Guide.

  1. Determine whether your system runs the Oracle Solaris 10 OS or the Oracle Solaris 11 OS.
    # uname -r
  2. Update the SNMP configuration file.
    • Update the Oracle Solaris 10 SNMP agent SNMP configuration file.

      Append the following line to the /etc/sma/snmp/snmpd.conf configuration file:

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    • Update the Oracle Solaris 11 SNMP agent SNMP configuration file.

      Append the following line to the /etc/net-snmp/snmp/snmpd.conf configuration file:

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
  3. Restart the SMF service.
    • Restart the Oracle Solaris 10 SNMP agent service.
      # svcadm restart svc:/application/management/sma:default
    • Restart the Oracle Solaris 11 SNMP agent service.
      # svcadm restart svc:/application/management/net-snmp:default

How to Remove the Oracle VM Server for SPARC MIB Software Package

This procedure describes how to remove the Oracle VM Server for SPARC MIB software package and unload the Oracle VM Server for SPARC MIB module from an Oracle Solaris 10 or Oracle Solaris 11 system.

  1. Stop the SMF service.
    • Stop the Oracle Solaris 10 SNMP agent service.
      # svcadm disable svc:/application/management/sma:default
    • Stop the Oracle Solaris 11 SNMP agent service.
      # svcadm disable svc:/application/management/net-snmp:default
  2. Remove the Oracle VM Server for SPARC MIB software package from the primary domain.
    • Remove the Oracle Solaris 10 MIB software package.
      # pkgrm SUNWldmib
    • Remove the Oracle Solaris 11 MIB software package.
      # pkg uninstall system/ldoms/mib
  3. Update the SNMP configuration file.
    • Update the Oracle Solaris 10 SNMP agent configuration file.

      Remove the line that you added to the /etc/sma/snmp/snmpd.conf file during installation.

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    • Update the Oracle Solaris 11 SNMP agent configuration file.

      Remove the line that you added to the /etc/net-snmp/snmp/snmpd.conf file during installation.

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
  4. Restart the SMF service.
    • Restart the Oracle Solaris 10 SNMP agent service.
      # svcadm restart svc:/application/management/sma:default
    • Restart the Oracle Solaris 11 SNMP agent service.
      # svcadm restart svc:/application/management/net-snmp:default