Oracle® VM Server for SPARC 3.2 Administration Guide

Exit Print View

Updated: May 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 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.2 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.2 software. See Chapter 2, Installing and Enabling Software, in Oracle VM Server for SPARC 3.2 Installation Guide .

  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.
    • Oracle Solaris 10: Install the Oracle VM Server for SPARC MIB software package, SUNWldmib.
      # pkgadd -d . SUNWldmib.v
    • Oracle Solaris 11: Install the Oracle VM Server for SPARC MIB software package, system/ldoms/mib.
      # 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. Determine whether your system runs the Oracle Solaris 10 OS or the Oracle Solaris 11 OS.
    # uname -r
  2. Update the SNMP configuration file.
    • Oracle Solaris 10:

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

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    • Oracle Solaris 11:

      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.
    • Oracle Solaris 10:
      # svcadm restart svc:/application/management/sma:default
    • Oracle Solaris 11:
      # 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.
    • Oracle Solaris 10:
      # svcadm disable svc:/application/management/sma:default
    • Oracle Solaris 11:
      # svcadm disable svc:/application/management/net-snmp:default
  2. Remove the Oracle VM Server for SPARC MIB software package from the primary domain.
    • Oracle Solaris 10:
      # pkgrm SUNWldmib
    • Oracle Solaris 11:
      # pkg uninstall system/ldoms/mib
  3. Update the SNMP configuration file.
    • Oracle Solaris 10:

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

      dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    • Oracle Solaris 11:

      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.
    • Oracle Solaris 10:
      # svcadm restart svc:/application/management/sma:default
    • Oracle Solaris 11:
      # svcadm restart svc:/application/management/net-snmp:default