C H A P T E R  5

Linux Operating System Installation

This chapter contains information about installing the Red Hat Enterprise Linux (RHEL), SUSE Enterprise Linux System (SLES) and Oracle Enterprise Linux (OEL) operating systems and system-specific drivers onto your server.

This chapter includes the following sections:


Installing the Operating System

This document provides an overview of the Linux OS installation process, and is not meant be a comprehensive source of information for installing a Linux OS. This section provides installation methods and tasks for installing a supported version of Linux on your server.

This section contains the following sections:

OS Installation Overview

The following procedures are for installing drivers if you are performing a fresh installation of a Linux OS.



Note - At the time this document was written, the Sun Fire X4450 server supports Oracle Enterprise Linux (OEL) installation. The Sun Fire X4150 and Sun Fire X4250 servers do not currently support OEL.


See TABLE 5-1 for the task map for OS installation.


TABLE 5-1 OS Installation Task Map

Task

Installation Task

Instructions

Set up your server.

Install your server hardware and configure the service processor.

Server Installation Guide

Prepare your system for OS installation.

Set the display environment. If necessary, erase the primary boot disk.

Chapter 1: Operating System Installation Overview and Preparation

Set up your system for a RAID or non-RAID configuration based on the SAS controller card.

Your server supports two SAS controller cards. RAID setup is different for each card.

Chapter 2: Configuring RAID

Review your Server Product Notes.

The product notes contain late-breaking news about the Linux OS software and patches.

Server Product Notes

Install the Linux OS.

Choose an installation method and locate the installation instructions.

OS Installation Methods

Install the system-specific drivers from the Tools and Drivers CD.

Install the system-specific drivers needed to run the Linux OS on the your server.

Installing the System-Specific Drivers

Run the up2date or SUSEWatcher utility.

Patches are available from the SunSolve Patch Portal at: http://www.sunsolve.sun.com

Running the up2date Utility for the RHEL OS or Running the SuSEWatcher Utility for the SLES OS


OS Installation Methods

See the following list of installation methods to determine the type of installation that you want to do and the information source for the installation. See Choosing an OS Installation Method for a description of each method.

The following sections describe the methods that you can use:


Method

Section/Procedure

Sun Installation Assistant (SIA)

Installing Linux Using Sun Installation Assistant

CD/DVD Media

Installing Linux Using Local CD/DVD Drive

Network or PXE

Installing Linux Using PXE

Remote KVMS

Installing Linux Using Remote KVMS Over IP With Virtual CD/DVD


Installing Linux Using Sun Installation Assistant

The Sun Installation Assistant (SIA) is a convenient, front-end application designed to assist you in installing supported versions of Linux and Windows on your server. SIA supplements the standard installation utilities and procedures that ship with your operating system; it does not replace them.


procedure icon  To Install Linux Using Sun Installation Assistant

single-step bullet  See the Sun Installation Assistant for Windows and Linux User’s Guide, at:

http://www.sun.com/systemmanagement/sia.jsp



Note - At the time this document was written, Oracle Enterprise Linux cannot be installed using Sun Installation Assistant.


Installing Linux Using Local CD/DVD Drive

You can install a Linux OS using the local server DVD drive or a USB connected CD or DVD drive connected to the server.


procedure icon  To Install Linux Using Local CD/DVD Drive

single-step bullet  See the instructions for basic installation in the document that corresponds to the OS you are installing:

Installing Linux Using PXE

This section describes how to boot the Linux from a PXE network environment.

Before beginning the installation, take note of the prerequisites for the OS that you plan to install.

When the prerequisites are in place, continue with the installation instructions in To Install Linux Using PXE.

Red Hat Linux and Oracle Enterprise Linux Prerequisites

KickStart is Red Hat’s automated installation tool. It enables a system administrator to create a single image containing the settings for some or all installation and configuration parameters that are normally provided during a typical Red Hat Enterprise Linux or Oracle Enterprise Linux installation. Typically, a KickStart image is placed on a single network server and read by multiple systems for installation.

The following requirements must be met prior to performing the RHEL or OEL PXE installation:

One of the following for OEL:

One of the following for RHEL:

Follow the KickStart installation instructions in the Red Hat Enterprise Linux 4: Administration Guide (http://www.redhat.com/docs).

SUSE Linux Enterprise Server Prerequisites

AutoYaST enables you to install the SLES operating system on multiple systems. For information about how to prepare an automated installation using AutoYaST, refer to the Novell SUSE documentation collection at:

http://www.novell.com/documentation/suse.html

The following requirements must be met prior to performing the SLES installation from a PXE network book environment.

Follow the AutoYaST installation instructions in the SUSE Linux Enterprise 9 or SUSE Linux Enterprise 10 documentation.


procedure icon  To Install Linux Using PXE

1. Ensure that the PXE network environment is properly set up and the SLES installation media is available for PXE boot.

2. Reset the power on the server.

For example:

The BIOS screen appears.



Note - The next events occur very quickly; therefore, focused attention is needed for these steps. Watch carefully for the messages, as they appear on the screen for a brief time.


3. Press F8 to specify a temporary boot device.

The Please Select Boot Device menu appears listing the available boot device.

4. In the Boot Device menu, select the PXE installation boot device (physical port) that is configured to communicate with your network installation server.

The network bootloader loads and a boot prompt appears. Wait for the five second time-out and the installation kernel will begin to load.

5. Proceed with the installation as described in the OS documentation.



Note - When configuring a PXE installation using RHEL or OEL use the GigabitEthernet ports, Net 2 and Net 3. RHEL 4 drivers do not support ports Net 0 and Net 1.


Installing Linux Using Remote KVMS Over IP With Virtual CD/DVD

This method uses the RKVMS capability of the ILOM or ELOM to install the Linux OS on your server from a remote networked system. The CD/DVD drive of the remote system (virtual CD-ROM) is used to access the OS media, and all output of the server is displayed on the remote system (remote console).

Additional information about the RKVMS can be found in the ELOM or ILOM documentation.

Before You Begin

Requirements for Remote KMVS (RKVMS) over IP installation include:


procedure icon  To Install Linux Using Remote KVMS Over IP With Virtual CD/DVD

1. On a remote system, open a browser, and enter the IP address of the service processor for the server on which you want to install the OS.

The ILOM or ELOM login screen appears.

2. At the login screen, enter the user name and password for an account with administrator privileges, and click Login.

The web GUI main menu appears.

3. Disable the session timeout:

a. From the main menu, click the System Information tab, and then click the Session Time-Out submenu tab.

The Session Time-Out screen appears.

b. Click the Disable Timeout radio button, and then click Submit.

4. From the main menu, click the Remote Control tab and select Redirection.

The Screen appears with a Launch Redirection button.

5. Click the Launch Redirection button to open a remote console window.

A screen appears with a Launch button. It also identifies your current host name, IP address, and user name.

6. Click Launch.

7. Mount the OS CD/DVD or ISO file to be installed on the server onto the virtual CDROM.

a. In the Devices menu, select the following:

CD ROM if you are using a physical CD.

CD ROM Image if you are using an ISO file.

b. Depending on your selection, a dialog directs you to select either a CD/DVD drive, or a file.

a. In the remote console screen, select Storage and then select Mount Devices.

The Device Configuration screen appears.

b. In the Storage 1 Source drop-down list, select the CD/DVD drive to be used for installing the OS.

8. Click Submit.

9. Reboot the system.

The system will boot from the virtual CD.

10. Proceed with the installation as described in the OS documentation.


Installing the System-Specific Drivers

A driver installation script is available on the Tools and Drivers CD. The CD is included with your server. You can also download the latest Tools and Drivers CD ISO image from one of the following locations:

http://www.sun.com/servers/x64/x4150/downloads.jsp

http://www.sun.com/servers/x64/x4250/downloads.jsp

http://www.sun.com/servers/x64/x4450/downloads.jsp



Note - The driver installation script also mounts a diagnostic partition. If a diagnostic partition is present and running, the script creates and mounts it on diagpart.


You can use the methods described in the following sections to install system-specific drivers onto your server:


Method

Procedure

For a system without a CD/DVD or monitor attached

Installing the Drivers Using KVMS Over IP

For a system that has a CD/DVD drive and monitor attached

Installing Drivers Directly Onto the Server


Installing the Drivers Using KVMS Over IP

Before performing a remote installation, use the web GUI to disable the session timeout function. This allows the installation process to proceed without interruption.


procedure icon  To Install the Drivers Using KVMS Over IP

1. Mount the Tools and Drivers CD according to the instructions in Installing Linux Using Remote KVMS Over IP With Virtual CD/DVD.

2. Change to the /mountpoint/drivers/linux/operating_system directory.

/mountpoint The directory where the CD is mounted.
operating_system The type of Linux installed on the server (red_hat or suse).

For example:

# cd /mnt/dvdrom/drivers/linux/red_hat



Note - If you have OEL installed on the server, use the drivers in the red_hat directory.


3. Run the following command to install the drivers:

# sh install.sh



Note - If the install.sh script detects the Sun StorageTek controller card, it automatically updates to the latest driver.


4. Eject the CD after the driver installation is complete.

5. Reboot the server.

Installing Drivers Directly Onto the Server

If your server has a CD/DVD drive, you can install the drivers directly onto the server, using the Tools and Drivers CD.


procedure icon  To Install Drivers Directly Onto the Server

1. Log in to the server as root (superuser).

2. Insert the Tools and Drivers CD into the CD/DVD drive and enter:

cd /mountpoint/drivers/linux/operating_system

/mountpoint is the directory to which the CD is mounted.
operating_system is the type of Linux installed on the server (red_hat or suse).

3. If the CD does not automount, open a terminal window and mount the CD by typing the following command:

# mount /dev/cdrom /mountpoint

/mountpoint The appropriate mount point for the OS and optical drive type.

For example:

# mount /dev/cdrom /mnt/dvdrom

4. Change to the /mountpoint/drivers/linux/operating_system directory.

/mountpoint The directory where the CD is mounted.
operating_system The type of Linux installed on the server (red_hat or suse).

For example:

# cd /mnt/dvdrom/drivers/linux/red_hat



Note - If you have OEL installed on the server, use the drivers in the red_hat directory.


5. Run the following command to install the drivers:

# sh install.sh



Note - If the install.sh script detects the Sun StorageTek controller card, it automatically updates to the latest driver.


6. Eject the CD after the driver installation is complete.

7. Reboot the server.


Installing the RAID Management Utility Software

Based on your system controller card, use the one of the methods described in the following sections to install the RAID Management utility software.


Method

Procedure

For a system with a StorageTek RAID controller card.

To Install the Sun StorageTek RAID Management Utility Software

For a system with a LSI RAID controller card.

To Install the LSI RAID Management Utilities



procedure icon  To Install the Sun StorageTek RAID Management Utility Software



Note - Perform this procedure only if your server is equipped with a StorageTek RAID controller card.




caution icon Caution - If you are installing RHEL5 32-bit Linux, you must install the following package before running the Sun StorageTek Raid Management Utility:
linux/ xorg-x11-deprecated-libs-6.8.1-12.FC3.1.i386.rpm.


1. Insert the Tools and Drivers CD into the CD/DVD drive.

2. Navigate to the /drivers/linux/RAID/SunStorageTEK/ASM/[32bit|64bit] directory using the following command:

# cd /drivers/linux/RAID/SunStorageTEK/ASM/[32bit|64bit]

3. Enter the following command:

# rpm -ivh [32bit|64bit].rpm


procedure icon  To Install the LSI RAID Management Utilities

1. Insert the Tools and Drivers CD in the server’s CD/DVD drive.

2. Navigate to the /RAIDmgmt/lsi/linux/[32bit|64bit] directory and list the directory contents using the following commands:

# cd /drivers/linux/RAID/LSI/MSM

# ls -al

3. Run the .bin file, and follow the instructions to install the RAID management software.


Running Update Utilities

Choose the section that corresponds to the Linux OS that you have installed:

Running the up2date Utility for the RHEL OS

Run the up2date utility after installing the OS and drivers from the Tools and Drivers CD.


procedure icon  To Run the upd2date Utility for the RHEL OS

1. Set up the up2date utility on the server.

See the documentation included with your RHEL media kit for details.

2. Run the up2date program.

Select the kernel packages in the available package updates section.

Running the SuSEWatcher Utility for the SLES OS

Run the SuSEWatcher utility after installing the OS and drivers from the Tools and Drivers CD.


procedure icon  To Run the SuSEWatcher Utility for the SLES OS

1. Set up the SuSEWatcher utility on the server.

See the documentation included with your SLES 9 media kit for details.

2. Run the SuSEWatcher program.

Select the kernel packages in the available package updates section.