 |
» |
|
|
 |
HP SIM can be installed automatically or manually. Automatic install executes the .bin file, automatically laying down PostgreSQL and HP SIM with minimal user interaction. Manual install requires that you execute the separate steps to unpack files and install PostgreSQL and HP SIM.
Installation of HP Systems Insight Manager includes the PostgreSQL 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 by executing the following command:
./HPSIM-Linux_C.05.00.01.00.bin --keep --confirm
Note: Refer to Step 9 in the "Installing on Linux - Preparing the System" section for information on setting permissions. Respond negatively to the prompt to run scripts for an Automatic install.
The extracted files are placed in an mxserver subdirectory. To change the directory to mxserver, execute the following command:
cd mxserver
Install the PostgreSQL database, using the appropriate .rpm files in the following order.
Note: The rpm -i command installs PostgreSQL on your system. Red Hat Enterprise Linux 3 Update 3 U4 and U5 AS/ES (This command is entered with no carriage returns.)
rpm -ivh postgresql-libs-7.4.1-1PGDG.i386.rpm \
postgresql-7.4.1-1PGDG.i386.rpm \
postgresql-server. 7.4.1-1PGDG. i386 .rpm
Red Hat Enterprise Linux 4 U1 AS/ES (This command is entered with no carriage returns.)
rpm -ivh postgresql-libs-7.4.7-2PGDG.i386.rpm \
postgresql- 7.4.7-2PGDG.i386.rpm \
postgresql-server. 7.4.7-2PGDG. i386 .rpm
SUSE Linux Enterprise Server 8/UnitedLinux 1.0 Service Pack 3 (This command is entered with no carriage returns.)
rpm -ivh postgresql-libs-7.4-0.i586.rpm \
postgresql-7.4-0.i586.rpm \
postgresql-server-7.4-0.i586.rpm
SUSE Linux Enterprise Server 9 Service Pack 1 or 2 (This command is entered with no carriage returns.)
rpm -ivh postgresql-libs-7.4.2-36.3.i586.rpm \
postgresql-7.4.2-36.3.i586.rpm \
postgresql-server-7.4.2-36.3.i586.rpm
Verify that the PostgreSQL status reads running. For Red Hat Enterprise Linux (all versions): Execute the serviceconf command. The Service Configuration window appears. Scroll down to the postgresql entry. Select the checkbox, save the changes, and start the service. Verify that the PostgreSQL daemon status is running by executing the following command:
/etc/rc.d/init.d/postgresql status
For SUSE Linux Enterprise Server 8 and SUSE Linux Enterprise Server 9: View the status by executing the following command:
/etc/init.d/postgresql status
Configure PostgreSQL to run during startup by executing the following command:
chkconfig postgresql 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 8 and SUSE Linux Enterprise Server 9
/etc/init.d/postgresql start
For Red Hat Enterprise Linux (all versions)
/etc/rc.d/init.d/postgresql start
Install HP Systems Insight Manager using the .rpm files by executing the following command:
rpm -ivh hpsim-C.05.00.00.XXXXXXX.i386.rpm \
hpsim-pgsql-config-C.05.00.00.XXXXXXX.i386.rpm
Note: Both files must be installed concurrently with a single command.
Note: After installation is complete, log out of the operating system and log back in to set all the correct file permissions and system environmentals.
After Installing HP Systems Insight Manager |  |
If using Oracle as your database, continue with step 2. If you are using PostgreSQL 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 with out command line arguments.
mxoracleconfig
You will be prompted for individual information for your Oracle database.
Or
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.
–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 Acceptable 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:
/var/opt/mx/logs/initconfig.log
Verify that the mxdomainmgr 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 it 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 it is not installed, the previous command does not return a components list. If it is 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 F. 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 8, run the following command for opening this file in the vi editor:
vi /usr/share/snmp/snmpd.conf
Remove the comment symbol (#) from the trapsink line, and add the IP address of the CMS. Tthis system has HP Systems Insight Manager application running:
trapsink IPaddress
where IPaddress is the IP address of the CMS. Add the CMS to the read-only community 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.  |  |  |  |  | NOTE: Enter the information manually if it is not present. |  |  |  |  |
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
|