Appendix C. Reinstalling from CD-ROM

For your convenience, the SGI server ships with all the required software 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 and network addresses and redo the Bastille server lockdown. You must also 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.


Note: 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 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)

  • 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 SGI Internet Server for e-commerce software cannot be installed as a whole on a non-SGI system. Please consult the copyright notice enclosed with your CD-ROMs 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 (both CD-ROMs)

  • SGI ProPack 1.4

  • SGI Internet Server for E-commerce Disk #1, Open-Source Apache and SSL Software

  • SGI Internet Server for E-commerce Disk #2, SGI Internet Server Environment and Mercantec Softcart Software

The SGI factory basic I/O system (BIOS) settings allow you to boot your system off the CD-ROM. To change the boot device, press Ctrl-Alt-Esc 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: This may not work from a serial terminal emulator.


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

  3. Immediately after power on, insert the Red Hat 6.2 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 Internet Server for e-commerce uses the following partitioning scheme:

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

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

  • hda6: 512 Mbyte, Linux swap

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

Ideally, the total amount of swap space should be at least equal to real main memory installed in your system; this ensures that core files can 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 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

Do the following to select a video card:

ATI RAGE 128 (Generic)

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, change to the cdrom directory, and execute the INSTALL script by entering the following:

    # /bin/mount /dev/cdrom /mnt/cdrom
    # cd /mnt/cdrom
    # ./INSTALL

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

  4. Unmount the SGI ProPack 1.4 CD-ROM:

    # /bin/umount /mnt/cdrom

Installing the SGI Internet Server for E-commerce Software

To install the SGI Internet Server for e-commerce software, do the following:

  1. Insert the SGI Internet Server for E-commerce Disk #1, Open-Source Apache and SSL Software CD-ROM.

  2. Mount the CD-ROM, change to the cdrom directory, and execute the UPGRADE script by entering the following:

    # /bin/mount /dev/cdrom /mnt/cdrom
    # cd /mnt/cdrom
    # ./UPGRADE

  3. Unmount the Disk #1 CD-ROM:

    # /bin/umount /mnt/cdrom

  4. Insert the SGI Internet Server for E-commerce Disk #2, SGI Internet Server Environment and Mercantec Softcart Software CD-ROM.

  5. Mount the CD-ROM, change to the cdrom directory, and execute the INSTALL script by entering the following:

    # /bin/mount /dev/cdrom /mnt/cdrom
    # cd /mnt/cdrom
    # ./INSTALL

  6. Unmount the Disk #2 CD-ROM:

    # /bin/umount /mnt/cdrom

Activating Configuration and Bastille Linux Questions

Enter the following to activate configuration and Bastille Linux questions upon reboot:

# /bin/touch /root/.SGICONF

Rebooting the SGI Server

Enter the following to reboot the SGI server:

# /usr/bin/reboot

Completing the Configuration

Follow the steps documented in this guide (see “What Do I Need to Do?” in Chapter 1) and the hardware documentation.