Solstice Enterprise Agents 1.0 User Guide
この本のみを検索
この本を見る:
PDF 文書ファイルをダウンロードする (575 KB)

Chapter 2 Installing Enterprise Agents

2.1 Installing Enterprise Agents Overview

Installing Solstice Enterprise Agents (SEA) on the Solaris operating system follows Standard Solaris conventions, as described in the following sections.

The SEA package is divided into two major parts:

  • SNMP

  • DMI

2.2 Platforms and Packages

This product is supported on the following platforms:

  • Sparc (Solaris 2.4, 2.5, and 2.6)

  • IA (Solaris 2.4, 2.5, and 2.6)

The runtime product includes the following unique packages:

  • SUNWsacom

  • SUNWsasnm

  • SUNWsadmi

  • SUNWmibii

  • SUNWsasdk (optional package for agent development)

The following sections describe the details of each package.

2.2.1 SUNWsacom

The SUNWsacom package contains all the configuration files corresponding to the other three packages. The files in this package are installed in the /root and /var file systems. These files include configuration files and other common files.

2.2.2 SUNWsasnm

The SUNWsasnm package includes:

  • snmpdx – Master Agent executable

  • init.snmpdx – Startup script file

  • snmpdx.mib – Master Agent MIB file

  • Libraries

2.2.3 SUNWsadmi

Within SUNWsadmi, the package includes:

  • dmispd – DMI Service Provider (SP) executable

  • DMI libraries – See Table 2–3

  • snmpXdmid – DMI/SNMP mapper executable

  • init.dmi – Startup script file

  • ciinvoke – Script to invoke CI agents, from init.dmi

  • Script to invoke CI agents – Invoked by ciinvoke

  • dmi_cmd and dmiget – Command line MI utilities

2.2.4 SUNWmibii

The SUNWmibii package contains the mibiisa MIB II subagent. The subagent provides MIB II functionality. The functionality provided by MIB II subagent is the same as that provided by the snmpd agent released with Domain Manager.

2.2.5 SUNWsasdk

This package contains SNMP Toolkit and the DMI Toolkit to build the subagents.

SNMP Toolkit contains:

  • mibcodegen

  • Header files

  • Standard MIB files

  • Sample MIB and Example Code

DMI Toolkit includes:

  • miftomib compiler

  • libdmi

  • libci

  • libmi

  • sp.mif

  • Sample files for CI and MI

2.3 Installation Procedure

Packages are installed using the pkgadd command and are removed by the pkgrm command.


Note –

The snmpXdmid must be configured properly in the Master Agent configuration files.


2.3.1 Remove Existing Packages


Caution – Caution –

Before starting your installation procedure, be sure you log in as root. Then follow the procedures below.


If these packages don't exist, you don't have to remove them.

2.3.2 Add New Packages

With the addition of each package, you receive both the English and French copyrights, then a series of prompts that you can either answer specifically or accept the default.

  1. Add SUNWmibii:

    pkgadd -d . SUNWmibii

  2. Add SUNWsasnm:

    pkgadd -d . SUNWsasnm

  3. Add SUNWsadmi:

    pkgadd -d . SUNWsadmi

  4. Add SUNWsacom:

    pkgadd -d . SUNWsacom

  5. Add SUNWsasdk

    pkgadd -d . SUNWsasdk

    When you add the SUNWsadmi package, the dmispd and snmpXdmid processes start upon reboot of the system.

    The SUNWsacom package consists of two script files; init.dmi and init.snmpdx. The SNMP daemon, snmpdx, is invoked by init.snmpdx. The snmpdx process automatically starts the mibiisa daemon.

    The dmispd process is invoked through the RC script files when the system is booted, as is snmpdx. The snmpXdmid mapper process is invoked after the dmispd has been invoked.


    Note –

    When deleting or adding packages, be sure you follow the order described above.


2.4 SNMP Default Software Locations

Table 2–1 shows a list of default software locations within SNMP.

Table 2–1 Default SNMP Locations

Label

Directory

SEA_SNMPLibrary_Directory

/usr/lib

SEA_SNMPConfiguration_Directory

/etc/snmp/conf

SEA_SNMPMibs_Directory

/var/snmp/mib

Table 2–2 provides the list of SNMP component names and their default locations.

Table 2–2 SNMP Package Components

Component Name

Label/Directory

Description

snmpdx

/usr/lib/snmp

Master Agent executable

mibiisa

/usr/lib/snmp

MIB II snmp daemonpwd

snmp_trapsend

/usr/sbin

Utility for sending traps

mibcodegen

/usr/bin

Code generator executable

snmpdx.rsrc

SEA_SNMPConfiguration_Directory

Master Agent resource file

snmpdx.reg

SEA_SNMPConfiguration_Directory

Registration file for agents

snmpdx.acl

SEA_SNMPConfiguration_Directory

Master Agent access control file

snmpd.conf

SEA_SNMPConfiguration_Directory

SNMPD configuration file

mibiisa.reg

SEA_SNMPConfiguration_Directory

MIB II subagent registration file

mibiisa.rsrc

SEA_SNMPConfiguration_Directory

MIB II agent resource file

snmpdx.st

SEA_SNMPRun_Time_Directory

Master Agent status file

libssasnmp.so.1

SEA_SNMPLibrary_Directory

SSA SDK SNMP library

libssagent.so.1

SEA_SNMPLibrary_Directory

SSA SDK Agent library

enterprises.oid

SEA_SNMPConfiguration_Directory

Default enterprise-name OID map

sun.mib

SEA_SNMPMibs_Directory

Sun MIB

snmpdx.mib

SEA_SNMPMibs_Directory

Snmpdx MIB

2.5 DMI Default Software Locations

Table 2–3 provides a list of default software locations for the DMI portion of the product.

Table 2–3 Default Locations for DMI

Label

Location

SEA_DMILibrary_Directory

/usr/lib

SEA_DMIConfiguration_Directory

/etc/dmi/conf

SEA_DMIRunTime_Database_Directory

/var/dmi/db

SEA_DMIRunTime_MAP_Directory

/var/dmi/map

SEA_DMIMif_Directory

/var/dmi/mif

Table 2–4 provides a list of DMI component names and their default locations.

Table 2–4 DMI Package Components

Component name

Label/Directory

Description

snmpXdmid

/usr/lib/dmi

Mapper executable

dmispd

/usr/lib/dmi

DMI Service Provider executable

dmi_cmd

/usr/sbin

DMI command utility

dmiget

/usr/sbin

DMI command utility

snmpXdmid.conf

SEA_DMIConfiguration_Directory

Mapper configuration file

dmispd.conf

SEA_DMIConfiguration_Directory

DMI SP configuration file

map files

SEA_DMIRunTime_MAP_Directory

Map files

libdmi.so.1

SEA_DMILibrary_Directory

SSA SDK DMI generic library

libci.so.1

SEA_DMILibrary_Directory

SSA SDK CI library

libdmimi.so.1

SEA_DMILibrary_Directory

SSA SDK MI library

sp.mif

SEA_DMIMif_Directory

MIF files

ciinvoke

/etc/dmi/ciagent

DMI component interface invocation script