A script enabled browser is required for this page to function properly.
Skip to main content
STA Reference Guide, v1.0.2
E28382-03
Table of Contents Previous Next Index


Managing Library SNMP Connections : SNMP Connection Management Tasks : ▼ Re-establish SNMP Connectivity After Changing the STA Server IP Address

Re-establish SNMP Connectivity After Changing the STA Server IP Address

Use this procedure to ensure SNMP connectivity between STA and all monitored libraries after the IP address of the STA server has been changed. You must perform the entire procedure in the order shown. The procedure is divided into the following parts:

Confirm Network and SNMP Connectivity on the STA Server

Log in to the Linux command prompt on the STA server and perform these steps for each monitored library.

Note – If you have configured STA to support Redundant Electronics or Dual TCP/IP on an SL3000 or SL8500 library, perform each of these steps twice: once for the primary library IP address and once for the secondary IP address.

1.
# snmpget -v3 -u SNMP_user -a SHA -A auth_pwd -x DES ‑X priv_pwd ‑l authPriv library_IP_addr 1.3.6.1.4.1.1211.1.15.3.1.0 

Where:

SNMP_user is the SNMP v3 user.
SHA indicates the authentication protocol.
auth_password is the authorization password.
DES indicates the privacy protocol.
priv_password is the privacy password.
authPriv indicates that privacy is performed on the command.
library_IP_addr is the IP address of the public port on the library.
2.
# snmpget -v2c -c public -l authPriv library_IP_addr 
Where: 
library_IP_addr is the IP address of the public port on the library.
3.
# traceroute -I library_IP_addr 
Where: 
‑I indicates to use Internet Control Message Protocol (ICMP) echo request packets instead of User Datagram Protocol (UDP) datagrams.
library_IP_addr is the IP address of the public port on the library.
4.
# tcpdump –v host library_IP_addr > /var/tmp/file_name & 
Where: 
‑v indicates verbose output.
host indicates to collect packets to or from the indicated host only (in this case, the library).
library_IP_addr is the IP address of the public port on the library.
file_name is the name of the file to which you want to save the output.

Update SNMP Settings on the Library

On each monitored library, log in to the library CLI and perform these steps to update the SNMP trap recipient settings.

Note – See “Configuring the Libraries for STA” in the STA Configuration Guide for complete details about the referenced commands.

1.

Note the index number of the STA trap recipient in the displayed output.

snmp listTrapRecipients 

Example Command:

ADMIN> snmp listTrapRecipients 
  requestId
requestId 1
Attributes Auth SHA
AuthPass *****
Engine Id 0x80001f88807ad87e39453f
Host 10.80.123.92
Index 1
Name STAuser
Port 162
Priv DES
Priv Pass *****
Trap Level 1,2,3,4,11,21,25,27,41,45,61,63,65,81,85,100
Version v3
Object Snmp snmp
Done
Failure Count 0
Success Count 1
COMPLETED
2.
snmp deleteTrapRecipient id index 

Where:

index is the index number of the trap recipient to be deleted.

Example Command:

ADMIN> snmp deleteTrapRecipient id 1 
   requestId    1
requestId 2
Device 1,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED
3.
a.
snmp addTrapRecipient trapLevel 1,2,3,4,11,21,25,27,41,45, 61,63,65,81,85,100 host STA_server_IP version v3 name recipient_name auth SHA authPass auth_password priv DES privPass priv_password engineId library_engineID 

Where:

STA_server_IP is the IP address of the STA server.
recipient_name is the SNMP user name for the STA server.
auth_password is the authorization password.
priv_password is the privacy password.
library_engineID is the library engine ID.

Note – You must include the 0x prefix.

Example Command:

ADMIN> snmp addTrapRecipient trapLevel 1,2,3,4,11,21,25,27,41,45,61,63,65,81,85,100 host 10.80.125.23 version v3 name STAuser auth SHA authPass authpwd1 priv DES privPass privpwd1 engineId 0x81031f88804b7e542f49701753 
   requestId
requestId 12345
Device 1,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED
b.
snmp addTrapRecipient trapLevel 1,2,3,4,11,21,25,27,41,45, 61,63,65,81,85,100 host STA_server_IP version v2c community public

Where:

STA_server_IP is the IP address of the STA server.

Example Command:

ADMIN> snmp addTrapRecipient trapLevel 1,2,3,11,21,25,27,41,45,61,63,65,81,85,100 host 10.80.125.23 version v2c community public 
   requestId
requestId 12345
Device 1,0,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED

Update SNMP Settings in the STA Application

Log in to the STA user interface and perform these steps for each monitored library.

1.
2.
3.

Table of Contents Previous Next Index Link to documentation
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.