![]() | ![]() |
|
|
HOWTO Use a Compaq Remote Insight Lights Out Edition for a Headless, Remote Linux InstallationMarc Nozell Compaq Computer Corporation
marc.nozell@compaq.com
1. IntroductionThis document is a quick guide which shows how to install Linux on a remote, headless Compaq ProLiant system equipped with a Compaq Remote Insight Lights-Out Edition (RIB/LOE) card without needing physical access to the system. This document further describes how to use a virtual floppy disk for the initial install of Linux, and to setup an Apache server to provide the distribution media for completing the installation. 1.1. TrademarksCompaq, Compaq Insight Manager, ProLiant, are registered with the United States Patent and Trademark office. Microsoft, Windows, Windows NT are trademarks and/or registered trademarks of Microsoft Corporation. Red Hat is a trademark of Red Hat, Inc., in the United States and other countries. SuSE is a trademark of SuSE GmbH. Linux is a registered trademark of Linus Torvalds. Other product names mentioned herein may be trademarks and/or registered trademarks of their respective companies. 1.2. FeedbackFeedback will make this HOWTO more useful. If you have any suggestions, corrections, or comments, send them to marc.nozell@compaq.com 1.3. Distribution PolicyCopyright (c) 2000-2002 Compaq Computer Corporation. The information in this publication is subject to change without notice and is provided "AS IS" WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK ARISING OUT OF THE USE OF THIS INFORMATION REMAINS WITH RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR ANY DIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES WHATSOEVER (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION OR LOSS OF BUSINESS INFORMATION), EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. The limited warranties for Compaq products are exclusively set forth in the documentation accompanying such products. Nothing herein should be construed as constituting a further or additional warranty. This publication does not constitute an endorsement of the product or products that were tested. The configuration or configurations tested or described may or may not be the only available solution. This test is not a determination or product quality or correctness, nor does it ensure compliance with any federal, state, or local requirements. This document may be distributed under the terms set forth in the LDP license at sunsite.unc.edu/LDP/COPYRIGHT.html. This HOWTO is free documentation; you can redistribute it and/or modify it under the terms of the Linux Document Project (LDP) license. This document is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the LDP license for more details. 2. Compaq Remote Insight Lights-Out BackgroundThe Remote Insight Lights-Out is an optional management PCI card with a dedicated LAN connection. It provides full access and control of servers even when the server is in a failed state. 2.1. Key FeaturesThe key features of the Remote Insight Lights-Out card:
To get more information about the Remote Insight Lights-Out Edition see the Compaq web page at http://www.compaq.com/lights-out 3. Linux Installation using a Remote Insight Lights-OutAfter you have installed the card into the server system you will need to set up a Linux distribution repository, build and download a special boot floppy, and drive the installation through a browser. 3.1. Hardware InstallationThe first step is to install the Remote Insight Lights-Out Edition card in a Compaq ProLiant Server and configure it for network access. Using DHCP is the easiest way to get the Remote Insight Lights-Out card on the network. 3.2. Setting up a Linux Distribution PointOn another server, make the contents of the Red Hat installation CD available via HTTP or FTP. For this example, the server is named disto.OUR-LAB.com and HTTP is used. Copy the entire CD to the local hard disk and give appropriate file protections to allow the web server to read it. For Red Hat V6.2, use the following commands.
Edit httpd.conf to add the following lines near the section wehre other Aliases are defined. The location of the configuration file varies. On a default Red Hat system, it is in /etc/httpd/httpd.conf. If the Apache server was installed from sources using the default location, it is in /usr/local/apache/conf/httpd.conf. You can also try locate httpd.conf to find it.
Restart the Apache server. If you are still running the default Apache shipped with Red Hat, do this:
Other Linux distributions may put the Apache Web Server startup script in a different place. The location of of apachectl may vary; find it with locate apachectl. If you installed the Apache server yourself, you may want to use apachectl. If you used the Apache default file locations, it would be the following.
Verify that the Red Hat content is available:
3.3. Creating a Virtual Floppy DiskCreate a special Red Hat boot floppy that can perform a network installation. The file from the Red Hat CD is in images/bootnet.img;in this example, /usr/src/distros/RH72/images/bootnet.img or http://distro.OUR-LAB.com/distros/RH72/images/bootnet.img. Other distributions can also install across the network using similar steps. From a Linux or UNIX system follow these steps. Put a floppy in the drive.
Take that special boot floppy to a Microsoft Windows system that has the CPQIMAGE program to build an IMG file from a floppy to be uploaded to the Compaq Remote Insight Lights-Out card. This is the only step that requires the use of a Microsoft platform. The CPQIMAGE program is not available on any other platform. The CPQIMAGE program for Microsoft Windows 95/98/NT 4.0/2000 is available for download from http://www.compaq.com/manage/lightsout-downloads.html. Choose the "Diskette Image Utility" download. Build a file named redhat-bootnet.img using that Windows-based application. Note for multi-system installations, this file can be reused or simply provided to the customer. 3.4. Downloading a Virtual Floppy Disk to the ServerNow that a special version of the bootnet.img has been created, it needs to be loaded into the Virtual Floppy Disk on the Remote Insight Lights-Out card.
3.5. Power on and BootingNow the system is ready to be powered. From the browser, click on the 'Virtual Power Button' and power on the server.
3.6. Post-installation configurationThe default configuration for the grub bootloader that Red Hat 7.2 installs goes into graphics mode for the boot selection. While the Remote Console will work properly, it looks nicer if there is no splash image. To do this, edit /etc/grub.conf and remove or comment out the line that looks like:
| |||||||||||||||||||||||||