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
- Installation Type opening screen
- Select Installation Type
- LILO Configuration (LInux LOader)
- Set Up Networking
- Choose Time Zone
- Account Configuration
- Authentication Configuration
- Package Group Selection
- This ends the installation
- Reset the date
- Reconfigure Xwindows
Compaq Health Driver and Agents Installation
- Downloading files needed for Installation of Health Driver and Agents
- Install the Compaq Health Driver and Agents
- Installation of Compaq Health Driver
- Installation of Compaq Certified e100 driver
- Installation of Snmpd
- Installation of Compaq Foundation Agents
- Installation of Compaq Nic Agents
- Installation of Compaq Storage Agents
- Installation of Compaq Remote Insight Board
- Installation of the Compaq Survey Utility
- Finish Installation of Compaq Health Driver and Agents
- Determining if agents are running
Web Console
CIM Console
Compaq Survey Utility
Compaq Remote Insight Board Driver
Compaq Hardware Drivers
- Compaq Network Cards and their drivers
- Compaq SCSI Controllers and their drivers
- Compaq Array Controllers: cpqarray driver
- 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.
- Boot to the System Erase floppy or boot to the SmartStart CD and select System Erase.
- Once the system is erased, insert the SmartStart CD and power on the server
- Set the time and date correctly.
- Choose Manual SmartStart Installation Path.
- Select Linux as the OS to install.
- If necessary, configure the array controller.
- SmartStart will finally prompt to create support software, we do not need to create any at this time.
- 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.
- 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:
- You make major changes in the hardware prior to installing your operating system.
- You decide to install a different operating system other than what you had configured through SmartStart.
- 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
- Choose English.
- Click 'Next'. NOTE: Only click 'Next' once, some screens take a few seconds to respond.
Select Keyboard and Layout
- Choose US Keyboard and 101 key layout.
- Click 'Next'.
You will be asked for which type of network installation to perform
- Choose NFS image
- Click 'Next'.
You will be asked to configure the network card
- Choose to use Dynamic IP Configuration
- Click 'Next'.
You will be asked for the NFS server name and path
- Enter server in the server name box
- Enter /var/ftp/pub/rh70respin/i386 in the Red Hat Directory box
- Click 'Next'.
You will be asked to setup your mouse
- Choose your mouse type (a 2 Button PS/2), and make sure that the box for 'Emulate 3 Buttons' is selected if you do not have a three button mouse.
- Click 'Next'
(The Third button (or Emulation) is highly recommended for use with the Linux Xwindows System)
Installation Type opening screen
- On the System Installer screen click 'Next'.
Select Installation Type
- Select Installation type, for the class we will choose 'Custom System', click 'Next'.
Partition the Hard Drive(s)
- If asked, click on the "Initialize" button to create a new partition table.
- Select "Manually partition with Disk Druid", click 'Next'.
- (/boot = 30M) Create the /boot partition first in the Disk Druid Screen. Create a bootable partition that is completely contained below the 1024 cylinder boundary. This will be your boot partition. Click 'Add', Set it's mount point to '/boot'. This partition should be of type "Linux native". A boot partition is usually between 30 and 60 MB. Click 'OK'.
- (swap 256M) Create a primary or a logical partition to be used as swap space. Click 'Add'. Then at Partition type 'Linux native', click the button and select 'Linux swap' as the partition type. You will not be able to set a mount point or make this partition bootable. As a rule this partition should be twice the size of your installed memory, but the optimal size will be dictated by the intended use of the server. Click 'OK'.
- (/ 4096M) Create the root ( / ) partition. You may select the option 'Use Remaining Space' to utilize the whole hard disk. Click 'OK'. OR…
- If you intend to create more than 4 total partitions, then you should next create an Extended partition, which contains the rest of the drive. NOTE: Red Hat will create the Extended partitions for you as you "ADD" the partitions. You can then create the rest of your partitions as Logical partitions contained within this Extended partition. Please note that in some instances, there will exist partitions for other operating systems already installed on the system.
- Create a logical partition for storing your user applications. The mount point for this partition should be "/usr". This partition should be large enough to store all applications you may want to install on the system, plus 200 ~ 1GB of default applications which you may choose to load as part of the standard installation. If you do not create a separate partition for /usr it will be contained in the partition of its parent directory.
- Create a logical partition for storing your user's personal files also known ass home files. The mount point for this partition should be "/home". This partition should at a minimum allow 100MB per user, and can be as large as 2 ~ 5 GB per user if the system resources allow it. If you do not create a separate partition for /home it will be contained in the partition of its parent directory.
- Create a logical partition for any other directories you may want. What you separate out and how big to make the partition is dictated by the use of the server and an individual's administration style.
- Click 'Next'.
- Choose partitions to format, make sure that all partitions are selected. NOTE: Swap partition is automatically selected and is not listed in the table. Do NOT select "Check for Bad Blocks" for this class.
- Click 'Next' to continue.
LILO Configuration (LInux LOader)
- Choose to install LILO on the "first sector of partition" to preserve the functionality of "F10". For installation on an RBSU unit (units that do not support the Compaq F10 System Partition), select to install the LILO boot record on "/dev/hde Master Boot Record (MBR)". Take the default selections for the other items on this screen.
- Click 'Next'.
Set Up Networking
- If a DHCP server is used:
- For eth0, select 'Configure Using DHCP' and 'Activate on boot".
- For eth1, Make sure that both boxes are not selected, as we are not going to use the second NIC.
- Click 'Next'.
- If Static IP Addresses are used, you will need the following information:
- Set eth0 IP Address to ____________________
- Set eth0 Netmask to ________________________
- Select eth0 to "Activate on boot"
- For eth1, Make sure that both boxes are not selected as we are not going to use the second NIC
- Click 'Next'.
Choose Time Zone
- Pick your time zone. For the class click on the UTC tab, then click "central", "Use DST", "Use UTC".
- Click 'Next'.
Account Configuration
- Set Root Password: Choose your root password, and remember it!!! Set it to 'compaq' for this class.
- Set Account Login Names:
- Enter account names and passwords for users on your system.
- Enter at least one user for this class
- Make sure you click 'Add'.
- Click 'Next'.
Authentication Configuration
- Select "Enable MD5 Passwords".
- Select "Enable Shadow Passwords".
- Click 'Next'.
Package Group Selection
- Scroll down to bottom of list, select "Development" and "Kernel Development".
- Click 'Next'.
X Configuration
Select your monitor:
- Select Compaq, and choose your monitor from the list
- If your monitor is not in the list, choose the model that best matches your monitor.
- Click 'Next'.
Select your Video Card type and Hardware details:
- The installation program automatically probes your hardware and determines your video details.
- Click 'Test this configuration'.
- If you are satisfied with the results of the test, click 'yes', otherwise, click 'no' and check your system documentation to set the appropriate video chipset and memory values.
- Select "Custom X Configuration"
- Make sure that the default desktop is set to 'Gnome'
- Click 'Next'.
- For this class, select '800x600' in all 3 columns of the Custom X Configuration screen
- Click 'Test this configuration'; click 'Yes' if you are satisfied with test results.
- Click 'Next' to continue
Begin Red Hat 7.0 Packages Installation
- Click 'Next' to begin the installation. Red Hat 7.0 should install the packages in approximately 4 to 10 minutes. NOTE: If your installation appears to progressing more slowly than indicated here, the media may be damaged and you will need to reinstall.
- Watch for the progress bar to reach 100%. You must choose Finish to continue. (This will reboot your server).
- Make sure you remove your Red Hat Network Boot Floppy.
This ends the installation.
- The System will start the LINUX OS you just loaded.
- Log in as root.
- Type 'startx' to start X windows.
Reset the date.
- Type date to see the current date
- Reset to the correct time, for example: date 052412002001
- Push the date to the hardware clock: hwclock -utc -systohc
Reconfigure Xwindows.
- As the root user run the command Xconfigurator
- Press OK
- At the PCI Probe screen press OK
- At the Monitor Probe screen press OK or choose your monitor
- At the video memory screen accept either 1M (PL1850R) or 4M (DL360)
- At the clockchip setting screen choose "no clockchip setting"
- On the resolution screen choose 16bit 800x600
- At the starting X screen press OK
- If you can see the message then click yes
- Servers normally do not have X-windows starting by default so choose NO
- On the finished screen press OK.
- Now log back in as a normal user and run X-windows by running the command startx.
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:
- Compaq Health Driver
- Compaq Foundation Agent
- Compaq Server Agent
- Compaq Storage Agent
- 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:
- CTRL+ALT+DEL
- reboot
- shutdown -r now
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
- You can log in on 6 different virtual consoles (text based)
- You can have 6 separate windows sessions running at the same time (all can be by different persons and can have their own personal screen saver and password) - great for sharing a box without logging off to let someone else log on - just lock your X-windows and then switch consoles.
- The [TAB] key will do file name completion for you.
- You can run an application on one machine, but display the results on another machine.
- The equivalent of the "Ghost" package (the ability to "ghost" a drive to the network and back) is built in to the basic utilities of Linux.
- With all the source code being open source, it makes it really easy to customize Linux to do what you want it to do - or to just see what it is actually doing.
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