Solaris System Management Agent Administration Guide

Platforms and Packages

The System Management Agent is bundled with this Solaris release. To install the System Management Agent on the Solaris software, follow the standard procedures for bundled products. These procedures are described in the Solaris 10 Installation Guide: Basic Installations and in the Solaris 10 Installation Guide: Custom JumpStart and Advanced Installations. Note that you only need to use the pkgadd command to install the packages of the System Management Agent if you have previously removed these packages.

All of the packages of the System Management Agent are bundled with this Solaris release. These packages are automatically installed when you boot your Solaris system.

The SMA package is divided into two parts, because the Solaris 10 Operating System is supported on the SPARC and x86 platforms.

The runtime SMA product includes the following unique packages:

SUNWsmaS

The SUNWsmaS package contains the source files that are needed to rebuild the System Management Agent. These source files comprise the source code of Net-SNMP version 5.0.9. The files contained in SUNWsmaS are useful for configuring a lightweight daemon. As a source code package, SUNWsmaS is not installed by default with the Solaris software. You can install this package from the mounted CD, by using the pkgadd command:


# pkgadd -d /sol_10_sparc_2/Solaris_10/Product SUNWsmaS
SUNWsmagt

The SUNWsmagt package contains the 32–bit and 64–bit libraries. In addition, this package contains both the snmpd agent and the snmptrapd trap daemon. The package also contains header files, which are required to build the SMA.

SUNWsmcmd

The SUNWsmcmd package contains the SMA SNMP applications and utilities. These applications and utilities include developer tools such as snmpget, and Perl scripts such as mib2c. In addition, the SUNWsmcmd package contains the SDK demo modules. The SDK demo modules illustrate how to implement some types of data modeling. For more information about the demo modules, see the Solaris System Management Agent Developer’s Guide.

SUNWsmdoc

The SUNWsmdoc package contains the HTML documentation files for the SMA. These files are generated from Net-SNMP source. Do not confuse these generated HTML files with the product documentation for the SMA. The product documentation for the SMA includes this document, the Solaris System Management Agent Developer’s Guide and the man pages. This product documentation is provided by Sun.

SUNWsmmgr

The SUNWsmmgr package contains all files that are installed under /etc/sma, including:

Removing Packages

If you remove the packages that are mentioned in this chapter, you remove all files related to the System Management Agent.


Note –

Ensure that you stop the System Management Agent before uninstalling it. Failure to stop the agent before removing the packages can cause agent files in various locations to remain installed even after the packages are removed. Stop the agent before removing packages, to remove those files created the first time that the agent was initially started. For information about stopping the agent, see Starting and Stopping the System Management Agent.


Before uninstalling any packages, log in as root. Then use the following procedure to uninstall the packages.

Provided that you stopped the System Management Agent before removing these SUNW packages, the following files and their persistent stores are removed if they exist:

ProcedureTo Uninstall the Packages of the System Management Agent

  1. As root, stop the SMA service.


    # svcadm disable svc:/application/management/sma:default
    
  2. Remove the SUNWsmaS package.


    # pkgrm SUNWsmaS
    
  3. Remove the SUNWsmdoc package.


    # pkgrm SUNWsmdoc
    
  4. Remove the SUNWsmcmd package.


    # pkgrm SUNWsmcmd
    
  5. Remove the SUNWsmmgr package.


    # pkgrm SUNWsmmgr
    
  6. Remove the SUNWsmagt package.


    # pkgrm SUNWsmagt