Appendix C. Reinstalling from CD-ROM


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 hardware documentation for additional information.

The procedures in this appendix assume that you are the superuser.

When to Reinstall from CD-ROM

You will want to reinstall from CD-ROM in the following circumstances:

  • 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)

  • 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 ISE software cannot be installed as a whole on a non-SGI system. Please consult the copyright notice enclosed with your ISE CD-ROM if you are considering using this software for any purpose other than the SGI server.


Required CD-ROMs

To perform the reinstallation, you will need the following CD-ROMs:

  • Red Hat 6.2 CD-ROMs (both CD-ROMs)

  • SGI ProPack 1.4 CD-ROM

  • SGI Internet Server Environment CD-ROM

The SGI factory basic I/O system (BIOS) settings on your SGI server boots your system off the floppy drive. To change the boot device, press Ctrl-Alt-Esc to enter SETUP mode during the boot process.


Note: This procedure may not work from a serial terminal emulator.

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.

Preparing the Hardware

To prepare the hardware for reinstallation, do the following:

  1. Shut down the system.

  2. Power off the system.

  3. 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.


Installing the Linux Operating System

Do the following to install the Linux operating system:

  1. If you are deploying an SGI RAID controller PCI card, follow the installation instructions shipped with it.

  2. Power the system back on.

  3. Immediately after power on, insert the Red Hat CD-ROM.

  4. Select text mode for your installation by entering text and pressing the Enter key, as documented on the opening screen.

  5. Follow the directions for Red Hat installation in Red Hat Linux 6.2 The Official Red Hat Linux Installation Guide.

  6. Select the custom installation.

The remainder of this section focuses on nonstandard configuration suggestions from SGI.

Partitioning the System Disk or RAID LUN

The SGI 1100 family of servers uses the following partitioning scheme:

  • hda1: 128 Mbyte, Linux native file system, mount point /boot

  • hda5: 128 Mbyte, Linux swap

  • hda6: 1 Mbyte + grow to disk, Linux native file system, mount point/home

  • hda7: 6 Gbyte, Linux native file system, mount point /

Ideally, the total amount of swap space should be at least equal to real main memory installed in your system; this will ensure that cores can always be completely dumped. If you care about core dumps, you should create additional swap space partitions before creating the final large partition.

On a production SGI server, you generally want to avoid actual swapping to maintain nominal performance. However, the maximum size of a single block of real memory that the operating system will allocate is limited to the total amount of swap space available. For certain applications, you will want to increase the swap space allocation to 2-3 times the amount of real memory.

For more details, please see the following:

http://www.linux.com/howto/mini/Partition/index.html 

Selecting Partitions to Reformat

Reformat all partitions and check for bad blocks.

Selecting the Packages to Install

Select Everything, that is, all RPM packages.

Selecting a Mouse

The mouse port on the SGI server is PS/2 style.

Selecting a Time Zone

The clock on the SGI server implements GMT in hardware. Select the appropriate time zone if you want your time stamps in local time.

Selecting a Video Card

Select the following:

ATI RAGE 128 (Generic)

The correct card is selected automatically on other models of the SGI server.

Selecting a Monitor

Select Custom. Specify the following:

  • A resolution of 1024x768 noninterlaced at 8 bits color depth

  • 1 Mbyte video RAM

  • No special clock chip settings

  • 40-150 Hz vertical refresh rate

For more information, see the hardware documentation.

Installing the SGI ProPack Overlay

To install the SGI ProPack overlay, do the following:

  1. Insert the SGI ProPack 1.4 CD-ROM.

  2. Mount the CD-ROM by entering the following:

    # /bin/mount /dev/cdrom /mnt/cdrom

  3. Change to the cdrom directory:

    # cd /mnt/cdrom

  4. Execute the INSTALL script:

    # ./INSTALL

  5. Check Performance Tools checkbox in the Package Group Selection screen.

  6. Unmount the CD-ROM:

    # /bin/umount /mnt/cdrom

Installing ISE

To install the ISE software, do the following:

  1. Insert the SGI Internet Server Environment CD-ROM.

  2. Mount the CD-ROM by entering the following:

    # /bin/mount /dev/cdrom /mnt/cdrom

  3. Change to the cdrom directory:

    # cd /mnt/cdrom

  4. Execute the INSTALL script:

    # ./INSTALL

  5. Unmount the CD-ROM:

    # /bin/umount /mnt/cdrom

Activate Configuration and Bastille Linux Questions

To activate configuration and Bastille Linux questions upon reboot, enter the following:

# /bin/touch /root/.SGICONF

Rebooting the Server

Enter the following to reboot the SGI server:

# /usr/bin/reboot

Completing the Configuration

Follow the steps documented in the this guide and the hardware documentation.