HP SIM V5.1 User Guide (356920-009, January 2007)

swinstall -s /tmp/HPSIM_download.depot B8465BA
c. Configure SNMP to send traps to the CMS:
i. 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
ii. Stop the SNMP Master agent and all subagents with the command:
/sbin/init.d/SnmpMaster stop
iii. Restart the SNMP Master agent and all subagents with the command:
/usr/sbin/snmpd
d. Configure DMI on the managed system by adding the DNS host name of the CMS.
Note: DMI must only be configured for HP-UX 11.0.
i. Stop the DMI daemon on the managed system:
/sbin/init.d/Dmisp stop
ii. Edit /var/dmi/dmiMachines by adding the host name of the CMS to the end of this file.
Save the file.
iii. Start the DMI daemon:
/sbin/init.d/Dmisp start
e. 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 <hostname> -u root -f <file_with_root_password>
or
mxagentconfig -a -n <hostname> -u root -p <root_password>
Note: Using the -p option exposes the password through ps output, so use of 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 the -p option is used, 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.
3. Sign in to the HP Systems Insight Manager GUI. For assistance with this, see “Signing in. Using the
GUI, add the default WBEM user name and password to the Global Protocol Settings page.
Note: An account for at least one of the WBEM user name and password combinations must exist on
each managed system.
Note: This step can be performed once for all the managed systems you are setting up.
a. Select OptionsProtocol SettingsGlobal Protocol Settings.
b. In the Default WBEM settings section, ensure that the Enable WBEM checkbox is selected, and
add the default WBEM user name, password, and confirmation password.
c. Click OK.
Note: An account for at least one of the WBEM user name and password combinations must exist on
each managed system. If the user in the Global Protocol Settings does not exist on the managed node
you can set per-system WBEM user names and passwords from the System Protocol Settings page.
4. To subscribe to WBEM Indications/Events:
Note: For more information about HP-UX WBEM events, go to the
WBEM Event Subscriptions for HP-UX
systems managed by HP SIM 5.0
white paper at http://h18013.www1.hp.com/products/servers/
management/hpsim/infolibrary.html.
62 Getting started