For your convenience, the SGI Internet Server for Messaging ships with all the required software already preinstalled on your system hard drive. However, in certain circumstances, it may be necessary for you to rebuild the system disk image using CD-ROMs.
| Warning: The following covers a complete reinstall from scratch. Any data you already have on your system disk will be destroyed. If you are installing a RAID PCI card for the internal drives, all data already on the internal drives will be lost. It is up to you to back up data you cannot afford to lose before you continue. |
At the end of this process, your system disk will be functionally equivalent to the state it was in when shipped from the factory. In particular, that means you will have to reassign the hostname, network address(es) and redo the Bastille server lockdown. You will also have to reapply all patches and custom configuration changes to the application(s) included, and reinstall any third-party application(s).
This chapter covers the following:
See the SGI 1200-Family of Servers Quick Start Guide and SGI 1200-Family of Servers Errata for additional information.
The procedures in this appendix assume that you are the superuser.
You will want to reinstall from CD-ROM in the following circumstances:
Installing in a country to which SGI may not ship a prebuilt system disk image due to United States export restrictions
Installing a RAID PCI card for the internal drives
Upgrading to a faster and/or larger hard drive
Upgrading the operating system version (if approved by SGI)
Upgrading the SGI ProPack overlay version (if approved by SGI)
Customizing the partitioning scheme on your system disk
Customizing the file systems on your system disk
Recovering from a break-in
Replacing a failed system hard drive
| Note: The ISM software cannot be installed as a whole on a non-SGI system. Please consult the copyright notice enclosed with your Internet Server for Messaging CD-ROM if you are considering using this software for any purpose other than the SGI Internet Server for Messaging. |
To perform the reinstallation, you will need the following CD-ROMs:
Red Hat 6.1 (1of 2)
SGI ProPack 1.2
SGI ISE 1.1
SGI ISM 1.0
The SGI factory basic I/O system (BIOS) settings on your SGI Internet Server for Messaging allow you to boot your system off the CD-ROM drive. If you experience any problems, press F2 to enter SETUP mode during the boot process.
Inspect the Boot Device Priority in the Boot menu. The CD-ROM should appear higher up on the list than the hard disk. If in doubt, please contact SGI Customer Support.
| Note: It is recommended that you do not perform this work from a serial terminal emulator. |
To prepare the hardware for reinstallation, do the following:
Shut down the system
Power off the system
Update your hardware configuration if applicable
| Note: Some hardware components may require installation by an SGI support engineer, or your support contract may be void. If in doubt, please contact SGI Customer Support. |
Do the following to install the Linux operating system:
If you are deploying a Mylex AcceleRAID 250 PCI card, follow the installation instructions in SGI 1000 Family of Servers Internal RAID Installation and Configuration Instructions . Configure it for Logical Drive 0 Raid 5 No Spares (50.8 GBytes of usable disk space)
Insert Red Hat 6.1 CD (1 of 2)
Reset the system and boot from CD
Select “Expert Text” mode for your installation by entering expert text and pressing the Enter key, as documented on the opening screen
Follow the directions for Red Hat installation in Red Hat Linux 6.1 The Official Red Hat Linux Installation Guide
Answer the “Expert Text” questions as follows to customize your installation for SGI Internet Server for Messaging:
| Field | Response | |
| Devices: | cancel | |
| Choose a Language: | your choice of language | |
| Keyboard Type: | system keyboard type | |
| Installation Method: | local CDROM | |
| Devices - Add Device: | SCSI Mylex DAC960 RAID Controller Done | |
| Disk Setup: | fdisk (see “Partitioning the RAID LUN” for fdisk usage.) |
The remainder of this section focuses on nonstandard configuration suggestions from SGI.
| Note: See SGI 1000 Family of Servers Internal RAID Installation and Configuration Instructions for supporting information for this procedure. |
ISEM uses the following partitioning scheme:
The following is the sequence of fdisk disk setup operations you must perform to partition your RAID storage hardware:
Show help for the fdisk commands:
# m [enter] |
Print the partition table:
# p [enter] |
Delete each partition:
# d [enter] # n [enter] |
Add a new partition:
# n [enter] |
You are asked if you wish to specify an extended or primary partition (so indicated with a p). Specify primary partition 1:
# p [enter] # 1 [enter] |
Specify the default first cylinder for this partition:
# [enter] |
Specify the last cylinder for this partition:
# +133M [enter] |
Repeat step 4 for partition 2. Specify +1024M as last cylinder.
Change the ID for partition 2 to 82 - designation for Linux swap partition.
# t [enter] # 2 [enter] # 82 [enter] |
Create an extended partition (so indicated with an e) for partition 4 using all remaining disk space. The default beginning and ending cylinders will be used:
# n [enter] # e [enter] # 4 [enter] # [enter] # [enter] |
Create a new logical partition (so indicated with an l) of 45 GBytes:
# n [enter] # l [enter] # [enter] # +46084M [enter] |
Create a second logical partition of 1GByte:
# n [enter] # l [enter] # [enter] # +1024M [enter] |
Create a third logical partition of 3 GBytes:
# n [enter] # l [enter] # [enter] # +3820M [enter] |
Write all partitioning information to the disk and exit the fdisk program:
# w [enter] |
Select done.
This launches the “disk druid” program. Disk druid lets you assign devices to mount points in the filesystem. (Proceed to “Specifying Mount Points for Partitions”.)
In the “disk druid” program (a simple GUI through which you tab your entries), you specify mount points for the partitions you created in “fdisk Partitioning Operations”. The following lists the correct mount points:
| Mount Point | Device | |
| /boot | rd/c0d0p1 | |
| *swap* | rd/c0d0p2 | |
| /var/md | rd/c0d0p5 | |
| /var/spool/mqueue | rd/c0d0p6 | |
| / | rd/c0d0p7 |
Once you have specified your mount points, check Check for Bad Blocks and select OK. This will format the partitions and check bad blocks.
| Note: At this point, you will page through a number of dialogs. Select the default settings for each of these until you see ”Hostname Configuration”. Beginning at this point, you must enter values specific to your configuration. |
To install the SGI ProPack overlay, do the following:
| Note: Please refer to your ISM release notes for late information regarding this installation. You can find these notes in /usr/doc/sgi/isem-1.0/News. |
Insert the SGI ProPack 1.2 CD-ROM
Mount the CD-ROM by entering the following:
# /bin/mount /mnt/cdrom |
Change to the cdrom directory:
# cd /mnt/cdrom |
Execute the INSTALL script:
# ./INSTALL |
Select all RPMs
To install the SGI ISM software, do the following:
Insert the SGI ISM 1.0 CD-ROM
Mount the CD-ROM by entering the following:
# /bin/mount /mnt/cdrom |
Change to the cdrom directory:
# cd /mnt/cdrom |
Execute the INSTALL script:
# ./INSTALL |
To activate configuration and Bastille Linux questions upon reboot, enter the following:
# touch /root/.SGICONF |