Skip Headers
StorageTek Tape Analytics Installation and Configuration Guide
Release 2.0.1
E41585-03
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

B Configuring SNMP v2c Mode

STA always attempts to communicate with libraries using the recommended SNMP v3 protocol. If v3 communication is not possible (for instance, if v3 is not configured on the library), STA will use v2c if enabled as per this appendix. Enable v2c mode if STA will be monitoring any libraries configured for v2c.

The SNMP v3 configuration process is described in Chapter 4, "Library Configuration Process," and Chapter 5, "Configuring SNMP in STA." The following sections describe the specific procedures that differ for v2c configuration.

B.1 SNMP v2c Mode Configuration Process

Use this procedure to configure STA and the libraries to use SNMP v2c for SNMP communications.

  1. In Chapter 4, follow all procedures shown in Table 4-2, "Tasks to Configure Libraries for STA", except:

  2. Follow the procedures in Chapter 5, "Configuring SNMP in STA".

B.2 Create an SNMP v2c Trap Recipient

Use this procedure to define the STA server as an authorized recipient of SNMP v2c traps and to define traps the library sends. You can use the CLI, SL Console, or SL150 browser interface, depending on library model. Note the following:

  • Separate trap levels with commas.

  • To avoid duplicate records, do not define the STA server as a trap recipient in multiple instances. For example, do not create both a v3 and v2c trap recipient definition for the STA server.

  • Trap level 4 may not be supported by older library firmware versions; however, it can always be specified when creating a trap recipient.

  • To avoid entry errors in the CLI, you can first type the command in a text file, and then copy and paste it into the CLI. For help with CLI commands, type help snmp.

With the CLI (All libraries except SL150)
  1. Use the following command to create a v2c SNMP trap recipient.

    snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45, 61,63,65,81,85,100 host STA_server_IP version v2c community community_name
    

    STA_server_IP: The IP address of the STA server.

    community_name: The v2c trap community. This can be public, or another name.

    Example B-1 SL500, SL3000, and SL8500

    SL3000> snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100 host 192.0.2.20 version v2c community public
    
  2. List the trap recipients to verify the STA server has been added correctly.

    snmp listTrapRecipients
    
With the SL Console (SL500 libraries only)
  1. From the menu, select Tools > System Detail.

  2. In the left panel, select Library.

  3. In the right panel, select SNMP > Add Trap Recipients.

  4. Enter the following information:

    Host: IP address of the STA server.

    TrapLevel: Comma-separated list of trap levels the library should send to STA: 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100

    Version: Select v2c.

    Community – This can be public, or another name.

  5. Click Apply to add the trap recipient.

With the SL150 User Interface
  1. Select SNMP from the navigation menu on the left side of the interface.

  2. Under the SNMP Trap Recipients section (or tab), select Add Trap Recipient.

  3. Complete the Add Trap Recipient fields as follows:

    Host Address: IP address of the STA server.

    Trap Level: Comma-separated list of trap levels the library should send to STA: 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100

    Version: Select v2c.

    Community Name: Can be public, or another name.

  4. Click OK to add the trap recipient.

B.3 Enable SNMP v2c Mode for STA

  1. Establish a terminal session with the STA server and log in as root.

  2. Change to the STA configuration files directory.

    # cd /Oracle/Middleware/user_projects/domains/TBI
    
  3. Edit the SNMP version properties file.

    # vi TbiSnmpVersionSupport.properties
    
  4. Ensure the value of the V2c parameter is set to true.

    V2c=true
    
  5. Save and exit the file.

  6. If you changed the value of the V2c parameter in Step 4, stop and restart all STA processes.

    # STA stop all
    # STA start all