JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Storage Archive Manager 5.3 Configuration and Administration Guide     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  About SAM-QFS

2.  Configuring Storage Devices for Archiving

3.  Performing Additional SAM-QFS Configuration

Sharing the File System With NFS Client Systems

How to NFS Share the File System

How to Mount the File System on Clients

Editing the defaults.conf File

Features You Can Control From defaults.conf

Barcodes

Drive Timing Values

How to Customize Default Values

Configuring the Remote Notification Facility

How to Enable Remote Notification

How to Disable Remote Notification

Adding the Administrator Group

How to Add the Administrator Group

How to Enable System Logging

Configuring Other Sun Storage Products

4.  Creating Parameters Files for Network-Attached Automated Libraries

5.  Checking the Drive Order in Libraries

6.  Populating the Catalog

7.  Managing Automated Libraries and Manually Loaded Drives

8.  Managing Vendor-Specific Libraries

9.  About Archiving

10.  Configuring the Archiver

11.  Archive Directives (archiver.cmd)

12.  Archive Set Directives (archiver.cmd)

13.  Data Integrity Validation in SAM-QFS

14.  About Releasing

15.  Configuring the Stager

16.  Configuring the Recycler

17.  Advanced SAM-QFS Topics

18.  Using the Sun SAM-Remote Software

Configuring the Remote Notification Facility

The software can be configured to notify you when potential problems occur in its environment. The system sends notification messages to a management station of your choice. The Simple Network Management Protocol (SNMP) software within the software manages the exchange of information between network devices such as servers, automated libraries, and drives.

The Sun SAM Management Information Base (MIB) defines the types of problems, or events, that the Sun SAM software can detect. The software can detect errors in configuration, tapealert events, and other atypical system activity. For more information, see the /var/snmp/mib/SUN-SAM-MIB.mib file.

The following procedures describe how to enable and disable remote notification.

How to Enable Remote Notification

Before You Begin

Ensure that the management station is configured and known to be operating correctly.

  1. Examine the /etc/hosts file contents to ensure that the management station to which notifications should be sent is defined.

    The following sample file defines a management station with a host name of mgmtconsole.

    999.9.9.9       localhost
    999.999.9.999   loggerhost      loghost
    999.999.9.998   mgmtconsole
    999.999.9.9     samserver
    • If the management station is defined, close the file.

    • If the management station is not defined, add a definition and save and close the file.

  2. Open the /etc/opt/SUNWsamfs/scripts/sendtrap file and evaluate the TRAP_DESTINATION= 'hostname' directive.

    This line specifies that remote notification messages be sent to port 161 of the server upon which the Sun Storage Archive Manager software is installed.

    • If you want to change the host name or port, replace the TRAP_DESTINATION directive line with TRAP_DESTINATION="mgmt-console-name:port". Note the use of quotation marks (" ") rather than apostrophes (` ') in the new directive.

    • If you want to send remote notification messages to multiple hosts, specify the directive in the following format:

      TRAP_DESTINATION="mgmt-console-name:port [mgmt-console-name:port]"

      For example:

      TRAP_DESTINATION="localhost:161 doodle:163 mgmt_station:1162"
  3. Evaluate the COMMUNITY="public" directive. This line acts as a password that prevents unauthorized viewing or use of SNMP trap messages.

    Do one of the following, depending on the community string value of your management station:

    • If your management station's community string is also set to public, you do not have to edit this value.

    • If your management station's community string is set to a value other than public, edit the directive to replace public with the value that is used in your management station.

  4. Save your changes to /etc/opt/SUNWsamfs/scripts/sendtrap and exit the file.

How to Disable Remote Notification

The remote notification facility is enabled by default. If you want to disable remote notification, perform this procedure.

  1. If the /etc/opt/SUNWsamfs/defaults.conf file does not exist, use the cp command to copy /opt/SUNWsamfs/examples/defaults.conf to /etc/opt/SUNWsamfs/defaults.conf.
  2. In the /etc/opt/SUNWsamfs/defaults.conf file, find the line that specifies SNMP alerts.
    # alerts=on
  3. Remove the # symbol and change on to off.

    After editing, the line is as follows:

    # alerts=off
  4. Save your changes and exit the file.
  5. Use the pkill command to send a SIGHUP signal to the sam-fsd daemon.
    # pkill -HUP sam-fsd

    This command restarts the sam-fsd daemon and enables the daemon to recognize the changes in the defaults.conf file.