StorageTek Tape Analytics Installation and Configuration Guide Release 2.0.1 E41585-03 |
|
Previous |
Next |
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.
Use this procedure to configure STA and the libraries to use SNMP v2c for SNMP communications.
In Chapter 4, follow all procedures shown in Table 4-2, "Tasks to Configure Libraries for STA", except:
Replace "Create an SNMP v3 Trap Recipient" with Appendix B, "Create an SNMP v2c Trap Recipient."
After completing the process in Table 4-2, follow the procedure in Appendix B, "Enable SNMP v2c Mode for STA."
Follow the procedures in Chapter 5, "Configuring SNMP in STA".
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
.
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.
List the trap recipients to verify the STA server has been added correctly.
snmp listTrapRecipients
From the menu, select Tools > System Detail.
In the left panel, select Library.
In the right panel, select SNMP > Add Trap Recipients.
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.
Click Apply to add the trap recipient.
Select SNMP from the navigation menu on the left side of the interface.
Under the SNMP Trap Recipients section (or tab), select Add Trap Recipient.
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.
Click OK to add the trap recipient.
Establish a terminal session with the STA server and log in as root.
Change to the STA configuration files directory.
# cd /Oracle/Middleware/user_projects/domains/TBI
Edit the SNMP version properties file.
# vi TbiSnmpVersionSupport.properties
Ensure the value of the V2c parameter is set to true.
V2c=true
Save and exit the file.
If you changed the value of the V2c parameter in Step 4, stop and restart all STA processes.
# STA stop all # STA start all