This section describes the procedures to change port numbers for SNMP.
Preparation
Decide the new port number after change.
Procedure
Execute the following command on one of the cluster nodes to stop RMS operation:
# /opt/SMAW/bin/hvshut -a
Execute the following command on each cluster node to stop the shutdown facility:
# /opt/SMAW/bin/sdtool -e
On each cluster node, change the port number of the SNMP trap receiving daemon (snmptrapd) used in the shutdown facility.
Edit the /etc/inet/services file and change the port number of the "sftrap" service.
sftrap <Changed port number>/udp
Change the port number of the SNMP agent in XSCF on each cluster node.
When changing the port number
Execute the following commands in XSCF on each node to set the changed port number:
XSCF> setsnmp remtraphost -t v2 -s FJSVcldev -p 9385 [IP address of the administrative LAN]
XSCF> setsnmp remtraphost -t v2 -s FJSVcldev -p 9385 [IP address of the asynchronous monitoring sub-LAN]
XSCF> setsnmp addtraphost -t v2 -s FJSVcldev -p <Changed port number> [IP address of the administrative LAN]
XSCF> setsnmp addtraphost -t v2 -s FJSVcldev -p <Changed port number> [IP address of the asynchronous monitoring sub-LAN]
When setting back the changed port number to 9385 used in the shutdown facility
XSCF> setsnmp remtraphost -t v2 -s FJSVcldev -p <Changed port number> [IP address of the administrative LAN] XSCF> setsnmp remtraphost -t v2 -s FJSVcldev -p <Changed port number> [IP address of the asynchronous monitoring sub-LAN] XSCF> setsnmp addtraphost -t v2 -s FJSVcldev -p 9385 [IP address of the administrative LAN] XSCF> setsnmp addtraphost -t v2 -s FJSVcldev -p 9385 [IP address of the asynchronous monitoring sub-LAN]
Execute the following command on each node to restart the system:
# /usr/sbin/shutdown -y -i6 -g0