Oracle® VM Server for SPARC 3.3 Administration Guide

Exit Print View

Updated: October 2015
 
 

Installing and Configuring the Oracle VM Server for SPARC MIB Software

The following table lists 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 pkg install command to install the system/ldoms/mib package.
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 pkg remove command to remove the system/ldoms/mib package.

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. The Oracle VM Server for SPARC MIB software package is included as part of the Oracle VM Server for SPARC 3.3 software.

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

  • /opt/SUNWldmib/lib/mibs/SUN-LDOM-MIB.mib

  • /opt/SUNWldmib/lib/ldomMIB.so

Before You Begin

Download and install the Oracle VM Server for SPARC 3.3 software. See Chapter 2, Installing Software, in Oracle VM Server for SPARC 3.3 Installation Guide .

  • Install the Oracle VM Server for SPARC MIB software package, system/ldoms/mib.
    primary# pkg install -v -g IPS-package-directory/ldoms.repo mib

Next Steps

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.

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. Update the SNMP configuration file.

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

    dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
  2. Restart the SMF service.
    primary# 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.

  1. Stop the SMF service.
    primary# svcadm disable svc:/application/management/net-snmp:default
  2. Remove the Oracle VM Server for SPARC MIB software package from the primary domain.
    primary# pkg uninstall system/ldoms/mib
  3. Update the SNMP 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.
    primary# svcadm restart svc:/application/management/net-snmp:default