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.0 Installation and User Guide > Chapter 5 Installing on Linux

Preparing the System

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This procedure verifies that your system meets the minimum requirements, and prepares your system for HP Systems Insight Manager installation.

NOTE: The “\“ at the end of each command line represents that the command is on the same line.

To verify and prepare your system:

  1. Verify your system meets the minimum requirements. Refer to “System requirements” for details.

  2. Verify that HP Servicecontrol Manager is not installed by executing the following command:

    rpm -qa | grep mx

    This command determines if mxcms, mxagent, or mxrepository are installed. If they are installed, it returns the list of components starting with package name "mx." To remove them, execute the following command:

    rpm -e mxcms mxagent mxrepository

  3. Verify that earlier versions of PostgreSQL are not installed, or if you plan to use an Oracle database, refer to your Oracle provider for instructions.

    Note: If this is a clean install of HP Systems Insight Manager and if PostgreSQL is installed, even if it is a supported version, you must remove it and let the HP SIM installer install a supported version unless you are installing over a previous version of HP SIM (4.0.1, 4.1 and 4.2). Refer to Chapter 8 “Upgrading HP SIM 4.x to HP SIM 5.0 ” for details.

    Note: Removing PostgreSQL will remove your current database. If the current database must be saved, back it up before PostgreSQL is removed.

  4. To back up your database, execute the following command:

    cp –rp /var/lib/pgsql /var/lib/pgsql.oldl

    The p retains the permission, time, and date of all files and folders.

  5. Verify if PostgreSQL is installed by executing the following command:

    rpm -qa | grep postgresql

    If PostgreSQL is not installed, the previous command does not return any results. Proceed to Step 8 for more information. If PostgreSQL is installed, the previous command returns the list of components starting with package name "PostgreSQL."

  6. To remove PostgreSQL-server, execute the following command:

    rpm –qa | grep postgresql | xargs rpm -e

    This command queries the installed component, starting with "postgresql" as the name, and removes the installed component.

  7. Execute the following command to remove the PostgreSQL folder:

    rm –rf /var/lib/pgsql

    Note: The saved database file might not be compatible with the newer version of PostgreSQL that is installed with HP Systems Insight Manager. If you must access the data in this file, use a system that has the older version of PostgreSQL installed.

    For Oracle:

    Install Oracle on the local system before installing HP Systems Insight Manager. Create a database user name with DBA privileges, or if you plan on using Oracle as the remote database, you must have the database and user name with DBA privilege to configure HP Systems Insight Manager. Refer to After Installing HP Systems Insight Manager to configure HP Systems Insight Manager to use a newly created Oracle database.

  8. Download the HP Systems Insight Manager software, or locate a copy on a depot server. To download the software, refer to http://www.hp.com/go/hpsim, and on the upper-left of the page under HP management software, select Download. The HP Systems Insight Manager's Download Page appears. Under HP Systems Insight Manager and related components, select HP SIM-Linux and Download latest version of HP SIM-Linux for a full product install.

  9. In the directory where you downloaded or copied the files, change user permissions from read to read/write, and execute the bin file:

    chmod +x *.bin

    or

    chmod +x HPSIM-Linux_C.05.00.01.00.bin

  10. Verify that the following required software dependencies are available on your system, and install any that are not already installed.

    1. Verify that SSH is installed by executing the following command:

      rpm -qa | grep ssh

      If SSH is not installed, the previous command does not return any results. Install SSH from your Linux operating system CD before continuing with the HP Systems Insight Manager installation.

    2. Verify that SNMP is installed by executing the following command:

      rpm -qa | grep snmp

      If it is not installed, the previous command does not return any results. Install SNMP from your Linux operating system CD before continuing with the HP Systems Insight Manager installation.

    3. Verify that standard C++ libraries (compat-libstdc++-7.3) are installed:

      rpm -qa | grep compat

      If they are not installed, the previous command does not return any results. Install them from your Linux operating system CD before continuing with the HP Systems Insight Manager installation.

    4. Verify that the Linux glibc library is installed. If you plan to install Mozilla on your Central Management Server (CMS), the library must be installed first.

      rpm -qa | grep glib

      If it is not installed, the previous command does not return any results. Install it from your Linux operating system CD before continuing with the HP Systems Insight Manager installation.

    5. For Red Hat Enterprise ES Linux 3, verify that the GDK library (gdk-pixbuf-0.22.0-3.0) is installed. If you plan to install Mozilla on your CMS, this library must be installed first.

      rpm -qa | grep gdk-pixbuf

      If it is not installed, the previous command does not return any results. Install it from your Linux operating system CD before continuing with the HP Systems Insight Manager installation.

  11. (Optional) If you are planning to run the Mozilla browser on the CMS, verify that Mozilla 1.7.3 or later is installed. To verify which version is installed, open the Mozilla browser, and select Help->About Mozilla.

    Note: Mozilla is not required on the CMS. It can be used to access HP Systems Insight Manager from any network client. Most Linux distributions install Mozilla 1.0 as part of the base operating system.

    To upgrade your version of Mozilla:

    1. Download the latest version for Linux at http://www.mozilla.org/download or http://www.mozilla.org/releases. Create a temporary directory called mozillatemp, and place the downloaded .GZIP file in that directory.

    2. Navigate into the mozillatemp directory, and decompress the archive:

      cd path/mozillatemp

      tar -zxvf moz*.tar.gz

      where path is the location of the temporary directory you created in the previous step.

    3. Navigate into the mozilla-installer subdirectory that was created in the previous step, and run the installer:

      cd mozilla-installer

      ./mozilla-installer

      Follow the Mozilla install wizard to complete the remainder of the process.

    4. Verify that Mozilla installed correctly by running the browser:

      /usr/local/mozilla/mozilla

      The path /usr/local/mozilla is the default install directory. If you changed the install directory during the installation, this command must reference your path instead.

      Note: If you are running GNOME or another desktop, you can edit the properties of the Mozilla icon to point to the version that you just installed.

    Note: Use the Tab key to help enter in long commands accurately. Pressing the Tab key after entering the first letter or so of each directory name automatically fills in the rest of the name.

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