C H A P T E R   3

Installing, Loading, and Removing the LDoms MIB

This chapter describes how to perform the following procedures:


Installing the LDoms MIB Package

The LDoms MIB software package (SUNWldmib.v) is bundled with the LDoms 1.0.1 software package, which can be found at the Logical Domains 1.0.1 software download site at:

http://www.sun.com/ldoms

After you have downloaded and installed the LDoms 1.0.1 software, you can install the LDoms MIB software package in the control domain, named primary. You can find the package under the directory LDoms_Manager-1_0_1/Product/. For more information about installing the LDoms 1.0.1 software, refer to the Logical Domains (LDoms) 1.0.1 Administration Guide.

procedure icon  To Install the LDoms MIB Software Package


Loading the LDoms MIB Module

The LDoms MIB module (ldomMIB.so) must be loaded into the Solaris System Management Agent (SMA) to query the LDoms MIB. The LDoms MIB module is dynamically loaded; that is, the module is included within the SMA agent without having to recompile and relink the agent binary. The following procedure shows how to do this. Instructions for dynamically loading a module without restarting the SMA are provided in the Solaris System Management Agent Developer’s Guide. For more information about SMA, refer to the Solaris System Management Administration Guide.

procedure icon  To Load the LDoms MIB Module Into SMA

  1. Add the following line to the SMA SNMP configuration file (/etc/sma/snmp/snmpd.conf):


    dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    

  2. Restart the SMA.


    # svcadm restart svc:/application/management/sma:default
    


Removing the LDoms MIB Package

procedure icon  To Remove the LDoms MIB Software Package

  1. Stop the System Management Agent.


    # svcadm disable svc:/application/management/sma:default
    

  2. Use the pkgrm(1M) command to remove the LDoms MIB software package (SUNWldmib.v) from the control domain.


    # pkgrm SUNWldmib
    

  3. Remove the following line from the /etc/sma/snmp/snmpd.conf file (that was previously added):


    dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
    

  4. Restart SMA.


    # svcadm restart svc:/application/management/sma:default
    


Administering the SNMP System

For more information about SNMP system administration, refer to the snmpd.conf(1M) man page.