The following table lists the tasks that you can use to install and configure the Oracle VM Server for SPARC MIB software.
|
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 .
# uname -r
# pkgadd -d . SUNWldmib.v
# 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.
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.
# uname -r
Append the following line to the /etc/sma/snmp/snmpd.conf configuration file:
dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
Append the following line to the /etc/net-snmp/snmp/snmpd.conf configuration file:
dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
# svcadm restart svc:/application/management/sma:default
# svcadm restart svc:/application/management/net-snmp:default
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.
# svcadm disable svc:/application/management/sma:default
# svcadm disable svc:/application/management/net-snmp:default
# pkgrm SUNWldmib
# pkg uninstall system/ldoms/mib
Remove the line that you added to the /etc/sma/snmp/snmpd.conf file during installation.
dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
Remove the line that you added to the /etc/net-snmp/snmp/snmpd.conf file during installation.
dlmod ldomMIB /opt/SUNWldmib/lib/ldomMIB.so
# svcadm restart svc:/application/management/sma:default
# svcadm restart svc:/application/management/net-snmp:default