In PowerHA® SystemMirror®,
the clinfo daemon obtains data only from Simple
Network Management Protocol (SNMP). You can configure PowerHA SystemMirror to use the clinfo daemon
to receive notification of events as asynchronous messages (otherwise
known as traps).
About this task
Only one SNMP application can receive traps. If your system
is running the NetView® for AIX® licensed product, you
cannot enable the clinfo daemon to receive traps.
To
enable asynchronous event notification, complete the following steps:
Procedure
- To start the clinfo daemon, enter
chssys
-s clinfoES -a "-a" from the command line.
- To verify that the System Resource Controller (SRC) has
the correct command-line arguments for the clinfo daemon,
enter
lssrc -Ss clinfoES from the command line.
- Edit the /etc/snmpdv3.conf file on
the nodes that sends traps. As installed, traps are directed to the
loopback address. The clinfo daemon receives traps
that are generated by the Cluster Manager on the same node. Review
the comments at the beginning of the /etc/snmpdv3.conf file
for a description of all fields.
Note: SNMP version 3 is the default version that is used
by the AIX operating
system.
- Find the trap line at the end of the file. The following
code is an example of the trap line:
view 1.17.2 system enterprises view
trap public 127.0.0.1 1.2.3 fe # loopback
- Add trap lines as wanted. Multiple clinfo daemon
processes can receive traps from the Cluster Manager. Make sure that
the
1.2.3 fe field is unique.The following
is an example with two more trap lines added:
trap public 127.0.0.1 1.2.3 fe #loopback
trap public 123.456.789.1#adam
trap public 123.456.789.2#eve
- Stop the snmpd daemon on the hosts
where you changed the /etc/snmpdv3.conf file,
enter
stopsrc -s snmpd from the command line.
- Start the snmpd daemon on the hosts
where you changed the /etc/snmpdv3.conf file,
enter
startsrc -s snmpd from the command line.