Compaq ProLiant 1000 Installation and Configuration Guide for Linux and Apache - Page 37

Configuration Utility.

Page 37 highlights

,QVWDOODWLRQ DQG &RQILJXUDWLRQ *XLGH IRU /LQX[ DQG $SDFKH :HE 6HUYHU RQ &RPSDT 3URVLJQLD DQG 3UR/LDQW 6HUYHUV 6: Compaq's testing suggests that this is the best way to install LILO on a SMART Array Controller device: # begin global section boot=/dev/ida/c0d0 map=/boot/map install=/boot/boot.b prompt timeout=50 # begin Linux section image=/boot/bzImage-2.2.5 label=2.2.5 append="mem=160M" # allow access for greater than 64 MB RAM root=/dev/ida/c0d0p1 read-only # begin Linux section The above sample shows a LILO configuration that will install to the Master Boot Record. Our testing suggests this is the best way to incorporate LILO into the SMART Array Controller. Once LILO has been patched and rebuilt, install it to /sbin (doing 'make' and 'make install' as listed above will install the patched LILO to /sbin - be sure to also copy it to /array/sbin so that it will be available after booting to the array controller device). Then, run LILO so that it changes its root to the mount point of the array controller device. Assuming that the array controller device is mounted on /array and that /array/etc/lilo.conf has been set as listed above, the following output would be expected: [root@tlaloc chstewart]# /sbin/lilo -r /array Added 2.2.5 * Once these steps are completed, it will be necessary to change to device boot order again so that the array controller device is booted first. To do this, place the SmartStart CD into the CD-ROM drive prior to re-booting the system. When SmartStart comes up, choose to run the System Configuration Utility. Accept the option to Configure Hardware, and when this is complete, choose to View or Edit Details. Scroll down to the SMART array controller entry and modify its boot order to be first. There are other ways to use RAID without booting to it. For example, HTML data files can be moved to a RAID partition that has been mounted in an appropriate portion of the file system. To do this, simply use the SCSI device to boot from, and mount the array controller at an appropriate point in the file system. For instance, if it is desired to use the array controller to protect or accelerate HTTP data for a default Red Hat-Apache web server installation, one can do the following after formatting the /dev/ida/c0d0p1 device (or other array device): [root@tlaloc] mkdir /tmphttpd [root@tlaloc] mount -t ext2 /dev/ida/c0d0p1 /tmphttpd [root@tlaloc] cp -a /home/httpd /tmphpptd [root@tlaloc] sync [root@tlaloc] umount /tmphttpd [root@tlaloc] rmdir /tmphttpd [root@tlaloc] rm -rf /home/httpd/* ECG513/0399

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

,QVWDOODWLRQ DQG &RQILJXUDWLRQ *XLGH IRU /LQX[ DQG $SDFKH :HE 6HUYHU RQ &RPSDT 3URVLJQLD DQG 3UR/LDQW 6HUYHUV
6:
ECG513/0399
Compaq’s testing suggests that this is the best way to install LILO on a SMART Array Controller
device:
# begin global section
boot=/dev/ida/c0d0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
# begin Linux section
image=/boot/bzImage-2.2.5
label=2.2.5
append="mem=160M"
# allow access for greater than 64 MB RAM
root=/dev/ida/c0d0p1
read-only
# begin Linux section
The above sample shows a LILO configuration that will install to the Master Boot Record.
Our
testing suggests this is the best way to incorporate LILO into the SMART Array Controller.
Once LILO has been patched and rebuilt, install it to /sbin (doing ‘make’ and ‘make install’ as
listed above will install the patched LILO to /sbin – be sure to also copy it to /array/sbin so that it
will be available after booting to the array controller device).
Then, run LILO so that it changes
its root to the mount point of the array controller device.
Assuming that the array controller
device is mounted on /array and that /array/etc/lilo.conf has been set as listed above, the
following output would be expected:
[root@tlaloc chstewart]# /sbin/lilo –r /array
Added 2.2.5 *
Once these steps are completed, it will be necessary to change to device boot order again so that
the array controller device is booted first.
To do this, place the SmartStart CD into the CD-ROM
drive prior to re-booting the system.
When SmartStart comes up, choose to run the System
Configuration Utility.
Accept the option to Configure Hardware, and when this is complete,
choose to View or Edit Details.
Scroll down to the SMART array controller entry and modify its
boot order to be first.
There are other ways to use RAID without booting to it. For example, HTML data files can be
moved to a RAID partition that has been mounted in an appropriate portion of the file system. To
do this, simply use the SCSI device to boot from, and mount the array controller at an appropriate
point in the file system.
For instance, if it is desired to use the array controller to protect or
accelerate HTTP data for a default Red Hat-Apache web server installation, one can do the
following after formatting the /dev/ida/c0d0p1 device (or other array device):
[root@tlaloc] mkdir /tmphttpd
[root@tlaloc] mount –t ext2 /dev/ida/c0d0p1 /tmphttpd
[root@tlaloc] cp –a /home/httpd /tmphpptd
[root@tlaloc] sync
[root@tlaloc] umount /tmphttpd
[root@tlaloc] rmdir /tmphttpd
[root@tlaloc] rm –rf /home/httpd/*