 |
» |
|
|
 |
HP SIM can be installed automatically or manually. Automatic install executes the .bin file, automatically installing hpsmdb (HP SIM private version of PostgresSQL) and HP SIM with minimal user interaction. Manual install requires that you execute the separate steps to unpack files and install hpsmdb and HP SIM. If you are installing HP SIM with an Oracle database, HP recommends the manual install. Installation of HP Systems Insight Manager includes the hpsmdb software dependency. Manually installing HP Systems Insight Manager |  |
Extract the .rpm files from the .bin file. Set the permissions to include the right to execute the .bin file by executing the following command:
chmod u+x HPSIM-Linux_C.05.*.bin --noexec --target mxserver
 |  |  |  |  | NOTE: Refer to Step 4 for information on setting permissions. |  |  |  |  |
To change the directory to mxserver, execute the following command:
cd mxserver
 |  |  |  |  | NOTE: If you are using hpsmd as your database, continue with Step 3 through Step 5. If you are using Oracle as your database, skip to Step 6. |  |  |  |  |
Install the hpsmdb database, using the appropriate .rpm files in the following order.  |  |  |  |  | NOTE: The rpm -i hpsmdb-*.rpm command installs hpsmdb on your system. |  |  |  |  |
For 32-bit and 64-bit Red Hat Enterprise Linux 5 Update 1 AS/ES
rpm -ivh hpsmdb-rhel5-*.rpm
postgresql-7.4.1-1PGDG.i386.rpm \
Red Hat Enterprise Linux 4 U3 AS/ES
rpm -ivh hpsmdb-rhe14-*.i386.rpm
SUSE Linux Enterprise Server 9 (32-bit) with Service Pack 3
rpm -ivh hpsmdb-sles9-*.x86_64.rpm
64-bit SUSE Linux Enterprise Server 9 Service Pack 3
rpm -ivh hpsmdb-sles9-*.x86_64.rpm
SUSE Linux Enterprise Server 10 with Service Pack 1
rpm -ivh hpsmdb-sles10-*.i586.rpm
64-bit SUSE Linux Enterprise Server 10 with Service Pack 1
rpm -ivh hpsmdb-sles10-*.x86_64.rpm
Verify that the hpsmdb status reads running. For SUSE Linux Enterprise Server 9 with Service Pack 3 and SUSE Linux Enterprise Server 10 with Service Pack 1: View the status by executing the following command:
/etc/init.d/postgresql status
Configure hpsmdb to run during startup by executing the following command:
chkconfig hpsmdb 345
If the status is unused in any version of Red Hat Linux or SUSE Linux, start the daemon by executing the following command: For SUSE Linux Enterprise Server 9 with Service Pack 3 and SUSE Linux Enterprise Server 10 with Service Pack 1
/etc/init.d/hpsmdb start
For Red Hat Enterprise Linux (all versions)
/etc/rc.d/init.d/hpsmdb start
Or
/etc/init.d/hpsmdb start
If you are using hpsmdb as your database and hpsmdb is configured properly and running, install HP Systems Insight Manager using the .rpm files by executing the following command:
rpm -ivh hpsim*.rpm
If you are using Oracle as your database, install HP Systems Insight Manager using .rpm files by executing the following command:
rpm -ivh hpsim-C.05*.rpm --nodeps
 |  |  |  |  | NOTE: After installation is complete, log out of the operating system and log back in to set all the correct file permissions and system environments. |  |  |  |  |
After installing HP Systems Insight Manager |  |
If using Oracle as your database, continue with step 2. If you are using hpsmdb as your database, continue with step 3. For an Oracle database, run one of the following commands:
mxoracleconfig
located at /opt/mx/bin before proceeding with the following steps. This command can be invoked with or without command line arguments.
mxoracleconfig
You will be prompted for individual information for your Oracle database.
Host: Enter the IP address or host name of the Oracle server.
Port [1521]: Enter the same port number, then press Enter.
Database name: Enter your database name.
Username: Enter the username of your database.
Password: Enter the password of your database.
Oracle driver jar file: Enter the full location of the Oracle jar file.
Force [N]: Press Enter. Or You can use the mxoracleconfig command with all parameters as shown below:
mxoracleconfig –h hostname [-n port number] –d database name –u username – p password [–j driver jar file location] [-f ]
–h Hostname
Full DNS name or IP address of the Oracle server.
-n Port number
Port number to be used to connect to the oracle instance. Default port is 1521.
–d Database name
Name of database instance.
–u Username
Database user name.
–p Password
Database password for the corresponding user name.
–j Driver file location
Full path to thin driver .jar file. This is not required if the .jar file is already in the class path for HP Systems Insight Manager and JBoss. Mxoracleconfig reports an error if the driver class cannot be loaded. Mxoracleconfig will not copy over a .jar file if it already exists in the classpath for HP Systems Insight Manager and JBoss.  |  |  |  |  | NOTE: By default, the ojdbc14.jar file is not shipped with HP SIM. |  |  |  |  |
–f Force flag to force a re-run.
Typically, this command is run only once. This flag is provided if a re-run is required because of some type of user error such as specifying the wrong Oracle server or database instance.  |  |  |  |  | NOTE: Execute the mxoracleconfig command before the mxinitconfig command so that mxinitconfig will use Oracle as the database. |  |  |  |  |
Test the prerequisites by executing the following command:
/opt/mx/bin/mxinitconfig -l
This utility should report that all server components are OK and that it completed all tasks successfully.  |  |  |  |  | NOTE: HP recommends resolving any warnings before continuing with the initializing and configuring HP Systems Insight Manager process. |  |  |  |  |
Initialize and configure HP Systems Insight Manager by executing the following command:
/opt/mx/bin/mxinitconfig -a
 |  |  |  |  | NOTE: The initialization of the upgrade is done in the background, which takes several minutes. To verify if the upgrade is 100% complete, view the file by executing the following command: |  |  |  |  |
more /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, mxinventory and mxdtf daemons are running by executing the following command:
ps -ef | grep mx
If they are not running, start them by executing the following command:
/opt/mx/bin/mxstart
Configure the system to send SNMP traps.  |  |  |  |  | NOTE: These steps might vary slightly, depending on your version of Linux. Refer to your Linux provider for details if these file paths and file names do not exist on your system. |  |  |  |  |
Verify that SNMP is installed by executing the following command:
rpm -qa | grep snmp
If SNMP is not installed, the previous command does not return a components list. Refer to your Linux provider for information on installing SNMP. Verify if the HP Server Management Drivers and Agents from the ProLiant Support Pack for Linux is installed by executing the following command:
rpm -qa | grep hpasm
If the drivers and agents are is not installed, the previous command does not return a components list. If they are installed, verify that the HP Server Management Driver and agent daemon are running by executing the following command:
/etc/init.d/hpasm status
If the the HP Server Management Drivers and Agents daemons are running, stop them using the following command:
/etc/init.d/hpasm stop
 |  |  |  |  | NOTE: If the HP Server Management Drivers and Agents daemon is not installed, omit this step and step g. |  |  |  |  |
Stop the SNMP daemon:
/etc/init.d/snmpd stop
Edit the snmpd.conf file using any text editor. For Red Hat Linux, run the following command for opening this file in the vi editor:
vi /etc/snmp/snmpd.conf
For SUSE Linux Enterprise Server 9 Service Pack 3, run the following command for opening this file in the vi editor:
vi /etc/snmpd.conf
For SUSE Linux Enterprise Server 10 with Service Pack 1, run the following command for opening this file in the vi editor:
vi /etc/snmp/snmpd.conf
Remove the comment symbol (#) from the trapsink line, and add the IP address of the CMS. This system has HP Systems Insight Manager application running:
trapsink IPaddress
where IPaddress is the IP address of the CMS.  |  |  |  |  | NOTE: If snmpd is already installed, type man snmpd and read the manpage to determine how to configure the trapsink parameter.If the trapsink entry is not available in the snmpd.conf, enter it manually using the following command: |  |  |  |  |
trapsink CMS IP
where CMS IP is the location you want to send the traps from the managed nodes. If the following line exists in the read-only community:
community CommunityName IPaddress
Change it to: rocommunity CommunityName IPaddress
If the line is not present, enter the CMS to the read-only community manually by adding the line:
rocommunity CommunityName IPaddress
where CommunityName is the SNMP community string used by the CMS and IPaddress is the IP address of the CMS. Save the changes to the file. To save and close this file using the vi editor, press the Esc key, enter :wq!, and press the Enter key.
Start the SNMP daemon by executing the following command:
/etc/init.d/snmpd start
Start the HP Server Management Drivers and Agents daemon if it is installed on your system:
/etc/init.d/hpasm start
|