Install HP Systems Insight Manager:
swinstall -s /directory/depot –x autoreboot=true HPSIM-HP-UX
where directory is the path to the depot file and depot is the name of the depot file. For example:
swinstall -s /tmp/HPSIM_download.depot –x autoreboot=true HPSIM-HP-UX
Note: All required dependencies are selected automatically for installation.
(Optional, required only if you plan to use an Oracle database.) Configure HP SIM to use a newly created Oracle database using the following command:
/opt/mx/bin/mxoracleconfig
The command executes and asks for user information for the following host/port/Database/Username/Password/Jar file path with the file name.
mxoracleconfig
Or
mxoracleconfig -h hostname -n portnumber -d databasename -u username \
-p password -j driverjarfilelocation [-f ]
Test the prerequisites:
/opt/mx/bin/mxinitconfig –l
This verifies that the prerequisites are present. You can review the log file found in /var/opt/mx/logs/initconfig.log to verify that the initialization completed.
Note: HP SIM recommends resolving any warnings before continuing with the setup process.
Initialize HP Systems Insight Manager:
/opt/mx/bin/mxinitconfig -a
Note: The initialization of HP SIM is done in the background, which takes several minutes. To verify if the initialization is 100% complete, view the file
/var/opt/mx/logs/initconfig.log.
Note: After upgrading from a previous version of HP SIM, if you notice a pre-existing collection returning an unexpected result, and HP SIM has not been restarted since the upgrade, then stopping and restarting the HP SIM service should resolve this problem.
Verify that the
mxdomainmgr and mxdtf daemons are running:
ps -ef | grep mx
If they are not running, start them:
/opt/mx/bin/mxstart
(Optional) To use the CMS as a managed system, install WBEM, if it is not already installed. Because WBEM requires OpenSSL, be sure OpenSSL is installed on the CMS by running:
swlist OpenSSL
If this command returns "Error: Software "OpenSSL" was not found on host," then OpenSSL is not installed.
OpenSSL is available on Software Depot at
http://www.hp.com/go/softwaredepot or on your operating system media.
Install the OpenSSL Software:
swinstall -s/directory/OpenSSL_depot OpenSSL
where directory is the path to the depot file, and OpenSSL_depot is the name of the OpenSSL depot file.
Now, install WBEM:
swinstall -s /directory/depot B8465BA
where directory is the path to the depot file and depot is the name of the depot file. For example:
swinstall -s /tmp/WBEM_download.depot B8465BA
Note: To verify if WBEM (cimserver, cimserverd) daemons are running:
ps -ef | grep wbem.
On HP-UX 11i v2 (September 2004 or later) (B. 11 .23) WBEM is installed by default.
(Optional) Configure the CMS to send SNMP traps to itself.
Add the name of the CMS as a trapdest in the file /etc/SnmpAgent.d/snmpd.conf
trap-dest: <cms_full_hostname_or_ip_address>
Stop the SNMP Master agent and all subagents with the following command:
/sbin/init.d/SnmpMaster stop
Restart the SNMP Master agent and all subagents with the following command:
/usr/sbin/snmpd