Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Systems Insight Manager 5.2 Installation and Configuration Guide for Linux > Chapter 3 Installing HP SIM on the CMS for the first time

Installing and configuring the software

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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.

Automatically installing HP Systems Insight Manager

To install HP Systems Insight Manager with hpsmdb, execute the following command:

./HPSIM-Linux*.bin

Note: Refer to Step 4 for information on setting the permission on the file.

The HPSIM-Linux*.bin file will extract the RPM Package Manager (RPM) files, install hpsmdb, and then continue with the HP Systems Insight Manager installation.

NOTE: After installation is complete, log out of the operating system and then log back in to set all the correct file permissions and system environmentals.

To complete the initial set up of HP Systems Insight Manager refer to “After installing HP Systems Insight Manager”.

Manually installing HP Systems Insight Manager

  1. 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.

  2. 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.
  3. 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

  4. Verify that the hpsmdb status reads running.

    • For Red Hat Enterprise Linux (all versions):

      Note: By default, the hpsmdb service is configured to run in INIT 3 and 5 level.

      1. Execute the serviceconf command. The Service Configuration window appears.

        Note: Use the ntsysv command instead of serviceconfif you are running from a CLI prompt.

      2. Scroll down to the hpsmdb entry.

      3. Select the checkbox, save the changes, and start the service.

      4. To start hpsmdb by using the command line, execute the following command:

        /etc/rc.d/init.d/hpsmdb start

        Or

        /etc/init.d/hpsmdb start

    • For SUSE Linux Enterprise Server 9 with Service Pack 3 and SUSE Linux Enterprise Server 10 with Service Pack 1:

      1. View the status by executing the following command:

        /etc/init.d/postgresql status

      2. Configure hpsmdb to run during startup by executing the following command:

        chkconfig hpsmdb 345

      3. 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

        Note: To install HP Systems Insight Manager on a system without OpenSSH or with a purchased version of SSH, use the --nodeps option on rpm.

        For example, rpm --nodeps -ivh followed by the rpm files.

  5. 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

  6. 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

  1. If using Oracle as your database, continue with step 2. If you are using hpsmdb as your database, continue with step 3.

  2. 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.

  3. 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.

  4. 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.

  5. 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

  6. 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.

    1. 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.

    2. 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

    3. 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.

    4. Stop the SNMP daemon:

      /etc/init.d/snmpd stop

    5. 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

      1. 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.

        Note: 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.

      2. 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.

      3. 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.

    6. Start the SNMP daemon by executing the following command:

      /etc/init.d/snmpd start

    7. Start the HP Server Management Drivers and Agents daemon if it is installed on your system:

      /etc/init.d/hpasm start

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003-2008 Hewlett-Packard Development Company, L.P.