Manually setting up an hp-ux managed system, Configuring snmp to send traps to the cms, Configuring ssh access – HP Systems Insight Manager User Manual
Page 31: Subscribing to wbem indications/events
Manually setting up an HP-UX managed system
Although chapters 4-7 explain how to finish configuring managed systems from the HP SIM GUI,
this section describes how to perform some of these same steps from the command line for HP-UX
systems. You do need to first supply credentials and discover the systems, as described in Chapter
4
and Chapter 6
. Then you can do the following
actions from the command line, if desired.
You can use the HP SIM Configure or Repair Agents tool to configure HP-UX managed systems
simultaneously, or you can configure each managed system manually.
Configuring SNMP to send traps to the CMS
•
On the managed system, add the full host name or IP address of the CMS as a trapdest in
the following file:
/etc/SnmpAgent.d/snmpd.conf
trap-dest: hostname_or_ip_address
•
Stop the SNMP Master agent and all subagents with the command:
/sbin/init.d/SnmpMaster stop
•
Restart the SNMP Master agent and all subagents with the command:
/usr/sbin/snmpd
Configuring SSH access
On the CMS, copy the SSH-generated public key from the CMS to the managed system using the
mxagentconfig
:
Use one of the following commands:
•
mxagentconfig -a -n
•
mxagentconfig -a -n
NOTE:
Using the -p option exposes the password through ps output, so using the -f option
(with a file only readable by root, and containing only the managed system root password)
is highly recommended when using mxagentconfig -a. If you use the -p option, enclose
the password in single quotes if the password has any special characters, such as & or $. For
more information and options, see the mxagentconfig manpage with man
mxagentconfig
.
Subscribing to WBEM indications/events:
NOTE:
For more information about HP-UX WBEM events, see the HP SIM online help.
Procedure 4 Subscribing to WBEM indications/events
1.
From the managed system, be sure WBEM is installed.
swlist -l bundle B8465BA
Setting up HP-UX servers to be managed by HP SIM
31