C H A P T E R 2 |
Installation |
This chapter describes how to install the management software.
The chapter contains the following sections:
Before installing SNMP Management Agent, ensure that your system complies with the prerequisites and dependencies discussed in this section.
Refer to the system manuals for your platform for Solaris operating system requirements. See Related Documentation of the Preface.
At least 10 Mbytes must be available on the server.
The following patches must be installed in addition to the standard Solaris Operating System software:
Writers note: Bryan...are there any required patches?
Installation packages (TABLE 2-1) are supplied in the tar archive bundle SUNWmasf.<ver>.tar.Z, where <ver> is the version number. At the time of publication of this document, the version is 1.4 Update 2. Always use the latest version of this file for installation.
Additional required packages (TABLE 2-2) are available from the Solaris 10 Operating System DVD, under:
/cdrom/cdrom0/s0/Solaris_10/Product
These additional packages, as well as the packages listed in the following note, must be installed to enable support of the SNMP Management Agent.
Note - TABLE 2-1 lists all packages contained in the tar archive bundle. However, the Sun Fire V1280, E2900, and Netra 1280 and 1290 servers require only the SUNWmasf and SUNWmasfr packages. |
Note - The packages listed in TABLE 2-2 must be installedto enable support of the SNMP Mangement Agent. |
To upgrade the software, you must remove the existing software before reinstalling the new version (see Chapter 5).
A new startup file is created in /etc/init.d, as shown in TABLE 2-3, with links to /etc/rc<n>.d..
After installation, the following MIBs, supported by the agent, are located in the directory /opt/SUNWmasf/lib/mibs:
Models network interfaces (note, this agent only supports system part) |
|
Extends the Entity MIB to provide additional information about hardware components |
This section describes the procedure for installing the monitoring software.
Before installing the software, ensure that:
When you are certain that your system meets all these requirements, you can proceed to install the SNMP software.
|
1. Unpack the tar file by typing:
2. Ensure you are the root user before proceeding with installation.
3. Change to the directory where the tar file was extracted (at the root of the packages provided by the tar file).
If you wish to start installation from a different directory, when using pkgadd you must specify the path of the root of the directory hierarchy where the files where extracted using the -d option (rather than -d . as shown in step 4).
Caution - If you have installed Sun |
4. Install the support for platform instrumentation:
For the Sun Fire V1280, E2900 and Netra 1280 and 1290 servers, skip to Step 5.
5. Install the SNMP agent by typing:
After installation, the agent must be configured before you attempt to start it. A full description of the configuration options for the SNMP agent is provided in Chapter 3.
Before using the agent, you must assign it a network port to use. In deciding which network port to use, consider:
The conventional port for SNMP access is port 161 for data. By default, the Solaris snmpdx daemon uses this port. You must make sure that this port is available for use by other agents, such as snmpdx and Sun Management Center, by using a port other than 161 for SNMP access to the agent provided by this product.
Configure the SNMP agent using the /etc/opt/SUNWmasf/conf/snmpd.conf file. To set the port number, add a line to the file in the form:
This enables the agent to communicate on the port 9161. Make sure that the port you select is not currently in use by another application. If you are using SNMPv1 or SNMPv2c, no further configuration is required unless you wish to use traps, in which case you must specify the trap destinations. See Chapter 3 for more information.
|
You can confirm that the agent is correctly running by typing:
You should see a line of the form:
If you do not see this output, review the /var/adm/messages logfile to locate any error messages from the agent. For more information on troubleshooting, see Chapter 4.
On subsequent reboots the agent starts automatically without any user intervention.
Copyright © 2006, Sun Microsystems, Inc. All Rights Reserved.