C H A P T E R 3 |
Linux OS Installation |
This chapter includes information about installing the Red Hat Enterprise Linux (RHEL) and SUSE Enterprise Linux System (SLES) operating systems and system-specific drivers onto your server.
This chapter includes the following sections:
This section provides guidelines for installation methods and the tasks involved in the OS installation.
This section contains the following subsections:
The following procedures are for installing drivers if you are performing a fresh installation of a Linux OS. You do not need to reinstall the drivers if you are using the preinstalled version of the OS.
See TABLE 3-1 for the task map for OS installation.
Install your server hardware and configure the service processor. |
||
If necessary, erase the primary boot disk and set up the BIOS, and set up the LSI RAID configuration, if the LSI RAID card is installed. |
Chapter 1 and Section 3.1.2, Configuring Your Linux OS System for RAID. |
|
The product notes contain late-breaking news about the Solaris OS software and patches. |
||
Choose an installation method and locate the installation instructions. |
||
Install the system-specific drivers from the Tools and Drivers CD. |
Install the system-specific drivers needed to run the Linux OS on the Sun Fire X2200 M2 server. |
|
Patches are available from the SunSolve Patch Portal at: http://www.sunsolve.sun.com |
Section 3.3.1, Running the up2date Utility for the RHEL OS or Section 3.3.2, Running the SuSEWatcher Utility for the SLES OS |
If you don’t have the LSI Logic SAS3041E-R card installed in your system, and you don’t plan to install it, you can skip this section. If you have the LSI Logic SAS3041E-R card installed, use the procedure below to configure RAID for your Linux OS system.
Note - The Sun Fire X2200 M2 Server supported versions of Linux all have the LSI boot driver included in the OS software. The OS automatically recognizes the LSI boot drivers. |
To Configure Your Linux OS System for RAID |
1. Install the optional LSI Logic SAS3041E-R card (Sun part number
SG-PCIE4SAS-Z).
See the Sun Fire X2200 M2 Server Service Manual for instructions on installing and cabling the card.
3. During the boot process, press Ctrl-C to enter the LSI utility when the LSI SAS card is recognized.
See the LSI Integrated RAID User’s Guide at:
http://www.lsi.com/documentation/storage/hbas/sas/IR-SAS_UserGuide.pdf
5. Save your work and exit the utility.
See Section 3.1.3, OS Installation Methods.
7. Download the LSI utilities for managing RAID from the following site:
http://lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/lsisas3041er/index.html
See the following list of installation methods to determine the type of installation that you want to do and the relevant procedure.
See Section 1.4, Choosing an OS Installation Method for a description of each methods.
Installing the Linux OS using the direct installation method, involves setting up the server to view the console and using CD/DVD OS installation media in a locally attached CD/DVD drive. You can then install the OS using the instructions for basic installation in the document that corresponds to the OS you are installing:
http://www.redhat.com/docs/manuals/enterprise/
http://www.novell.com/documentation/sles9/pdfdoc/sles_9_admin_guide/sles_9_admin_guide.pdf
1. Set up the server so you can view the console output, by doing one of the following:
a. Connect a terminal to the serial port on the service processor.
A terminal can be a VT100, a PC running terminal emulation, or a terminal server. Set the terminal to receive at 9600 baud.
b. Redirect the console by doing one of the following:
i. Log in to the service processor’s (SP) command-line interface (CLI) using a user account that has administrator privileges.
For information about logging in to the CLI, see the Sun Fire X2200M2 Server Embedded Lights Out Manager Administration Guide.
ii. At the CLI prompt, enter the following commands to set the ConsoleMux value.
-> cd /SP/AgentInfo
-> set ConsoleMux=system
2. To complete the installation process, follow the procedures in the basic installation document for your OS.
See the instructions for network installation in the document that corresponds to the OS you are installing:
These are the guidelines for NIC ports available for PXE installation:
RHEL 3.7[1] |
Only the Broadcom NICs (LAN-0 and LAN-1) are available for PXE installation |
Only the Nvidia NICs (LAN-2 and LAN-3) are available for PXE installation |
|
Support for all NICs, so PXE can be performed with any of the Ethernet ports with these versions |
This method involves using a remote networked system and the SP ELOM web GUI’s Remote Console application to install the OS onto the Sun Fire X2200 M2 server. The CD or DVD drive of the remote system is used to access the OS media. All output of the Sun Fire X2200 M2 server is displayed on the remote system (Remote Console).
For information about the Remote Console application and RKVMS, see the Sun Fire X2200 M2 Server Embedded Lights Out Manager Administration Guide.
Requirements for Remote KMVS Over IP installation include:
1. On a remote system, open a browser and type the IP address of the ELOM SP for the Sun Fire X2200 M2 server on which you want to install the OS.
2. Enter the user name and password for an account with administrator privileges, and click Log In.
3. In the main ELOM window, click Launch to open a remote console window.
4. Insert the OS CD/DVD to be installed on the Sun Fire X2200 M2 server into the local CD/DVD drive.
5. In the remote console window, select Storage, and then select Mount devices.
The Device Configuration windows appears.
6. In the Storage 1 Source field, from the drop-down menu, select the CD/DVD drive to be used for installing the OS.
8. Configure the BIOS to boot from the remote (virtual) CD or DVD.
a. Go to the ELOM main page, and select Control -> Power Control ->
Reset.
The Sun Fire X2200 M2 system restarts and you can view the POST process from the Remote Console screen.
b. As the system is restarting, go back to the Remote Console screen and press F2 when the Sun Microsystems splash screen appears.
The BIOS setup utility appears.
c. Use the keyboard arrow keys to navigate to the Boot screen, and then select Boot Device Priority.
d. Change the first boot driver to Virtual CD/DVD.
Note - Make sure that the hard disk is still listed in the boot order. |
e. Press F10 to save your changes and exit the BIOS.
The server boots from the virtual CD-ROM. The instructions for installing the OS are exactly the same as the instructions for using a local CD/DVD drive and monitor.
Note - After the OS is installed, remember to change back to the local CD-ROM in the BIOS if you want to use a CD or DVD device installed or connected to your system. |
If you have an installation server you can use the serial redirection method. This method involves using a terminal (or terminal emulator) connected to the server’s serial port to select the PXE network installation option from the BIOS prompt.
To Install Linux Using Serial Redirection and an Installation Server |
1. Connect a terminal to the serial port on the service processor.
A terminal can be a VT100, a PC running terminal emulation, or a terminal server.
2. Set the terminal to receive at 9600 baud.
3. Set up your OS to boot from an installation server.
See the instructions for serial redirection in the document that corresponds to the OS you are installing. There are OS specific changes that need to be performed in order for console redirection to work:
4. Login to the SP’s command-line interface (CLI) using an account with administrator privileges.
6. Boot the Sun Fire X2200 M2 server.
To boot via PXE, press F12 at the BIOS prompt.
7. After the OS is installed, log into the server.
The following methods can be used to install system-specific drivers onto your Sun Fire X2200 M2 Server:
See the instructions in Section 3.1.3.3, Installing Linux Using RKVMS.
If your server has an onboard CD/DVD drive, you can install the drivers directly onto the server, using the Sun Fire X2200 M2 Server Tools and Drivers CD.
To install the video drivers and mount the diagnostic partition directly onto the server when running a Linux operating system:
1. Log in to the Sun Fire X2200 M2 server as root (superuser).
2. Insert the Sun Fire X2200 M2 Server Tools and Drivers CD into the DVD drive and type:
mountpoint is the directory 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:
/mountpoint/device_type is the appropriate mount point for the OS and optical drive type.
4. Change to the /mountpoint/drivers/linux/operating_system directory.
mountpoint is the directory that the CD is mounted to.
operating_system is the type of Linux installed on the server.
Your OS options are red_hat or suse.
5. Run the installation script by typing the following command:
This script is not executed if the X server is running.
6. If the script exits and you receive an error message, perform the following steps to disable the X server:
a. Type the following at the system prompt:
b. Log in as root (superuser).
7. Eject the CD after the driver installation is finished.
Choose the section that corresponds to the Linux OS that you have installed:
Run the up2date utility after installing the OS and drivers from the Sun Fire X2200 M2 Server Tools and Drivers CD.
To Run the upd2date Utility |
1. Set up the up2date utility on the server.
See the documentation included with your Red Hat Enterprise Linux media kit for details.
Select the kernel packages in the available package updates section.
Run the SuSEWatcher utility after installing the OS and drivers from the Sun Fire X2200 M2 Server Tools and Drivers CD.
To Run the SuSEWatcher Utility. |
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.
Copyright © 2008, Sun Microsystems, Inc. All Rights Reserved.