Red Hat 7.0 Linux Clinic for
Compaq Servers Installation Guide
Updated June 20, 2001
Created May 14, 2001


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Contents

Overview
Hardware Preparation
Notes about System Configuration Utility
Red Hat 7.0 Installation
  1. Installation Type opening screen
  2. Select Installation Type
  3. LILO Configuration (LInux LOader)
  4. Set Up Networking
  5. Choose Time Zone
  6. Account Configuration
  7. Authentication Configuration
  8. Package Group Selection
  9. This ends the installation
  10. Reset the date
  11. Reconfigure Xwindows
Compaq Health Driver and Agents Installation
  1. Downloading files needed for Installation of Health Driver and Agents
  2. Install the Compaq Health Driver and Agents
  3. Installation of Compaq Health Driver
  4. Installation of Compaq Certified e100 driver
  5. Installation of Snmpd
  6. Installation of Compaq Foundation Agents
  7. Installation of Compaq Nic Agents
  8. Installation of Compaq Storage Agents
  9. Installation of Compaq Remote Insight Board
  10. Installation of the Compaq Survey Utility
  11. Finish Installation of Compaq Health Driver and Agents
  12. Determining if agents are running
Web Console
CIM Console
Compaq Survey Utility
Compaq Remote Insight Board Driver
Compaq Hardware Drivers
  1. Compaq Network Cards and their drivers
  2. Compaq SCSI Controllers and their drivers
  3. Compaq Array Controllers: cpqarray driver
  4. Compaq Array Controllers: cciss
Clearing NVRAM though Advanced Mode of SCU
Cool Things Linux can do
Resources

CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Overview

This class is broken into the following sections:
Hands on installation of Red Hat 7.0
Hands on installation of Compaq Linux Health Driver
Hands on installation of Compaq Linux Insight Agents
Viewing Agent information using Web console
Viewing Agent information using CIM console
Demonstration of the Remote Insight Board Lights Out Edition
Viewing the Server Health Log
Questions and Answers

CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Hardware Preparation

Before we install Linux, we need to configure the server hardware.

  1. Boot to the System Erase floppy or boot to the SmartStart CD and select System Erase.
  2. Once the system is erased, insert the SmartStart CD and power on the server
  3. Set the time and date correctly.
  4. Choose Manual SmartStart Installation Path.
  5. Select Linux as the OS to install.
  6. If necessary, configure the array controller.
  7. SmartStart will finally prompt to create support software, we do not need to create any at this time.
  8. When SmartStart prompts you to remove the SmartStart CD and select Next, insert the Red Hat Network Boot Floppy, remove the SmartStart CD, and select Next.
  9. The system will now reboot and you may begin the Linux installation.

Note: Once you complete the SmartStart process to configure the hardware once, you do not need to repeat this process unless:

  1. You make major changes in the hardware prior to installing your operating system.
  2. You decide to install a different operating system other than what you had configured through SmartStart.
  3. You are unsure that SmartStart has been run correctly.

CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Notes about System Configuration Utility

System Configuration Utility is important enough to a properly running system that we make mention of it here in its own section.

On systems that use the DOS based System Configuration Utility you should make sure the F10 System Partition gets created and maintained. System Configuration Utility is the glue that holds all the hardware pieces (ROMs) together. System Configuration Utility should be AS NEW or NEWER than any ROM in the system. Problems can occur when you have an OLD System Configuration Utility and have a newer ROM in the system.


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Red Hat 7.0 Installation

Installation instructions are documented in the Installing Linux on Compaq ProLiant Servers HOWTO which is available on the web. Go to the Compaq Linux Web Site: http://www.compaq.com/linux, then click on the ProLiant server picture. This will take you to http://www.compaq.com/products/servers/linux/. Then click on installation html (http://www.compaq.com/products/servers/linux/compaq-howto.html). Archive copies of the HOWTO are located at: http://www.compaq.com/products/servers/linux/archive-howto.html.

We will discuss hardware setup, F10 partition, RBSU, partitioning choices, clearing NVRAM properly, System Erase, installation of Red Hat 7.0, recovery during or after installation of Red Hat.

Here are detailed instructions for use in this lab:

Once the installation begins, you must select a language Select Keyboard and Layout You will be asked for which type of network installation to perform You will be asked to configure the network card You will be asked for the NFS server name and path You will be asked to setup your mouse (The Third button (or Emulation) is highly recommended for use with the Linux Xwindows System)

Installation Type opening screen Select Installation Type Partition the Hard Drive(s) LILO Configuration (LInux LOader) Set Up Networking Choose Time Zone Account Configuration Authentication Configuration Package Group Selection X Configuration

Select your monitor:


Select your Video Card type and Hardware details:

Begin Red Hat 7.0 Packages Installation This ends the installation. Reset the date. Reconfigure Xwindows.
CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Compaq Health Driver and Agents Installation

Instructions are available on the web: http://www.compaq.com/products/servers/linux/.

Note: There are 5 components as follows:

  1. Compaq Health Driver
  2. Compaq Foundation Agent
  3. Compaq Server Agent
  4. Compaq Storage Agent
  5. Compaq NIC Agent
These components, even though they are separate downloads, should be put in all at once (in order), then started (in order).

Before we install the NIC agent we should have the e100 driver installed if the system contains a Compaq NIC with an Intel chipset.

Before installing the Foundation Agent we should have snmp installed.

Downloading files needed for Installation of Health Driver and Agents

Here are instructions on what to download and from where:

First, create a folder to hold all the downloads:
mkdir /tmp/compaq
Then start Netscape and browse to the following addresses and download the following files into the /tmp/compaq folder:

From ftp.compaq.com grab the following:
/pub/softpaq/sp14001-14500/sp14477.tgz
/pub/softpaq/sp14001-14500/s p14478.tgz
/pub/softpaq/sp14001-14500/s p14479.tgz
/pub/softpaq/sp14001-14500/s p14480.tgz
/pub/softpaq/sp16001-16500/s p16250.tgz
/pub/softpaq/sp16001-16500/s p16262.tgz
/pub/softpaq/sp16001-16500/s p16355.tgz
/pub/cpqhealth-2.0.0-11.Redhat7_0.i386.rpm
From the Red Hat CD (browse to ftp://server) grab the following:
/pub/rh70respin/i386/RedHat/RPMS/ucd-snmp-4.1.2-8.i386.rpm
From the Red Hat SRPMS CD (browse to ftp://server) grab the following:
/pub/rh70respin/SRPMS/SRPMS/ucd-snmp-4.1.2-8.src.rpm
Install the Compaq Health Driver and Agents

Here are detailed instructions for installing the health driver and agents in this class:

Installation of Compaq Health Driver
cd /tmp/compaq
rpm -ivh cpqhealth-2.0.0-11.Redhat7_0.i386.rpm
Installation of Compaq Certified e100 driver

Note: The e100 driver is a better driver than the eepro100. If you are using the eepro100 you should upgrade to the e100.
cd /tmp/compaq
tar -xzvf sp16262.tgz
cd e100-1.3.19/src
make
#Stop the network on your server using the following command
/etc/rc.d/init.d/network stop
#Remove the eepro100 module from memory using the following rmmod command
#Note: lsmod doesn't do anything, it just shows you what is going on.
lsmod
rmmod eepro100
lsmod
#See if the new e100 module will load by using the following insmod command
insmod e100.o
#Check to see if it loaded by using the lsmod command
lsmod
#If the e100 driver loaded successfully, then use either pico or vi to edit /etc/modules.conf and replace eepro100 with e100.
pico /etc/modules.conf (or vi /etc/modules.conf)
#Use the following "make install" command to install the new e100 driver in its proper location.
make install
#Remove the e100 driver from memory with the following rmmod command
rmmod e100
lsmod
#Start networking and see if it uses your new module
/etc/rc.d/init.d/network start
lsmod
Installation of Snmpd
cd /tmp/compaq
rpm -ivh ucd-snmp-4.1.2-8.i386.rpm
#Set snmpd to load on startup using the following chkconfig commands
chkconfig --list snmpd
chkconfig --level 2345 snmpd on
chkconfig --list snmpd
Installation of Compaq Foundation Agents
cd /tmp/compaq
tar -xzvf sp14477.tgz
rpm -ivh cmafdtn-5.00-1.i386

#Modify cmahostd so that it will monitor snmpd for memory leaks
pico (or vi) /opt/compaq/foundation/etc/cmahostd
find the line that says PFLAGS="-p 15 -s OK" and add a "-z" so that it looks like PFLAGS="-p 15 -s OK -z"

#Set up the snmpd.conf configuration file
cp /opt/compaq/foundation/etc/snmpd.conf.cma /usr/share/snmp/snmpd.conf
pico (or vi) /usr/share/snmp/snmpd.conf
Modify the following lines:
YourLocalWriteCommunityString -- public
ManagementConsoleIPAddress -- 192.168.0.2
YourWriteCommunityString -- public
#rocommunity public    -- rocommunity public (remove the hash mark)
YourDefaultTrapCommString -- public
TrapDestinationIPAddress -- 192.168.0.2
 
#Build a new snmpd for use with Compaq Agents:
cd /tmp/compaq
rpm -ivh ucd-snmp-4.1.2-8.src.rpm
cd /usr/src/redhat/SOURCES
tar -xzvf ucd-snmp-4.1.2.tar.gz
patch -p0 <ucd-snmp-4.1.2-rpm40.patch
#Then run the command to rebuild snmpd
/opt/compaq/foundation/etc/snmpdbld
Provide the following answers:
Notify: root
Location: CCA8850
yes, replace the old snmpd
Installation of Compaq Server Agents
cd /tmp/compaq
tar -xzvf sp14478.tgz
rpm -ivh cmasvr-5.00-1.i386.rpm
Installation of Compaq Nic Agents
cd /tmp/compaq
tar -xzvf sp14479.tgz
rpm -ivh cmanic.rpm
Installation of Compaq Storage Agents
cd /tmp/compaq
tar -xzvf sp14480.tgz
rpm -ivh cmastor-5.00-1.i386.rpm
Installation of Compaq Remote Insight Board
#sp16250 is for the crid driver, This driver won't be used during this lab.
Installation of the Compaq Survey Utility
cd /tmp/compaq 
tar -xzvf sp16355.tgz
rpm -ivh survey.rpm
Finish Installation of Compaq Health Driver and Agents Now that we have all the components in place (Health, Foundation Agents, Nic, Server, and Storage Agents, and Survey) lets reboot the Linux Server to make sure everything loads correctly on a normal boot up.

Use one of the following methods to reboot your server:

Determining if agents are running After your system reboots, determine if the agents are running.

To determine if the Agents are running you may use the following commands. You should get back 4 entries for each command:

ps ax | grep cma | grep -v grep | grep fdtn
ps ax | grep cma | grep -v grep | grep svr
ps ax | grep cma | grep -v grep | grep nic
ps ax | grep cma | grep -v grep | grep stor
You may also use lsmod to check on the health driver

You may also use rpm to see if any components are installed:
rpm -qa | grep cma

CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Web Console

The Web Console is used to view information provided by the Insight Agents.

Open your web browser and browse to http://localhost:2301

You will be able to maneuver around in the Web Console as the anonymous user.

The administrator account has a default name and password of administrator administrator.

Passwords may be changed by clicking onto the login screen, then don't log in, but click on the "changed" hyperlink. In this new login screen you will be able to log in as administrator and change an accounts password.


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


CIM Console

The CIM Console is used to view information provided by the Insight Agents. The CIM console is usually installed on a Windows workstation. CIM can optionally page or email someone depending on severity and schedule.
CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Compaq Survey Utility

The Compaq Survey Utility allows for the gathering of information similar to that of the diagnostic inspect report; however, since survey runs in the operating system, it is also able to report driver versions, operating system error messages and boot logs.

Survey reports that are generated are placed into /var/compaq/survey.

You may generate a new survey report at any time by running the survey command.


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Compaq Remote Insight Board Driver

This driver allows for snmp traffic (port 2301) to flow through the nic port of the Remote Insight Board controller card. This driver was generated for those cases where you've used up all your NIC ports for real network traffic and you don't have any left for management.
CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Compaq Hardware Drivers

Compaq Network Cards and their Drivers

AMD pcnet32, TLAN, eepro100, e100, e1000.

Compaq SCSI Controllers and their Drivers

Ncr53c8xx, sym53c8xx, sim710, aic7xxx.

Major number is 8

Compaq Array Controllers: cpqarray Driver

Cpqarray: All except 5xxx series.

Major number is 72, 73, and 74

Compaq Array Controllers: cciss Driver

Cciss: 5xxx series and higher.

Major number is 104, 105, and 106.


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Clearing NVRAM though Advanced Mode of SCU

Clearing NVRAM is a good maintenance task to do every once in a while. NVRAM can get corrupted by an operating system, by drivers, by static electricity, and by other means. Instructions can be found at http://geocities.datacellar.net/rlcomp_1999/nvram.html.
CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Cool Things Linux can do


CONTENTS OVERVIEW HWPREP SCU RH70INST CPQHEALTH WEBCONSOLE CIMCONSOLE SURVEY RIB DRIVERS NVRAM COOL RESOURCES


Resources

The Compaq Linux Web Site: http://www.compaq.com/linux, then click on ProLiant.

Compaq Server Downloads: http://www.compaq.com/support/files/server/us/index.html

My Compaq and Linux web site that I (Richard Black) maintain is located at http://geocities.datacellar.net/rlcomp_1999




Homepage: http://geocities.datacellar.net/rlcomp_1999












1