C H A P T E R 2 |
Installing Red Hat Enterprise Linux and CentOS |
This chapter provides procedures for installing Red Hat Enterprise Linux (RHEL) and CentOS onto a Sun Blade X6275 server module.
If you have installed RHEL or CentOS software on other Intel servers, then you are already familiar with how to install the OS onto a Sun Blade X6275 server module.
The procedures in this chapter support three methods for installing the operating system onto your server. They include:
This chapter contains the following sections:
The following list provides an outline of the installation procedure, including prerequisites. See the actual procedures for installation details.
1. Verify that you have the correct hardware. You need:
iv. Dongle connector to plug into the front slot of the server module.
2. Obtain a copy of the media, or the equivalent ISO file, from one of the following web sites:
A RHEL account is required to download the ISO images. An enterprise account is an account that the customer creates to access Red Hat's support network.
3. Obtain a copy of the Sun Blade X6275 Linux driver package from the Sun web site:
4. Install the RHEL or CentOS software and the Sun Linux driver package. See:
5. Update the RHEL or CentOS software. See:
6. Install the OFED software for InfiniBand devices.
See Installing OFED Software for InfiniBand Devices. If you are installing the OS from a PXE server, this is included in the initial procedure.
Before you install the RHEL software on a Sun Blade X6275 server module, consult the following documentation.
Before you install the CentOS software on a Sun Blade X6275 server module, consult the following documentation:
RHEL or CentOS provides both a text mode and an easy-to-use graphical interface for installing and configuring the operating system. At the boot prompt, you can select the interface that you want to use. Both options are shown later in this section.
To Install the RHEL OS or CentOS From the Distribution Media |
If you are using a CD/DVD drive connected to the USB:
a. Connect the USB CD/DVD drive into the USB port of the dongle.
b. Insert the first RHEL or CentOS Distribution CD/DVD into the CD/DVD drive connected to the server module.
If you are using a RKVM, mount the CD/DVD drive or an equivalent ISO image using RKVM, as described in Using a Remote Control Application (RKVM).
a. Press F8 during POST to access the BBS pop-up menu.
b. Select the CD/DVD drive from the boot list.
The server boots from the selected media and displays a boot: menu.
3. At the boot prompt, select one of the following:
4. Refer to the Installation Guide to guide you through the remainder of the installation process.
Note - Make sure your installation includes the development tools. You will need them later to install the drivers. |
5. Update the operating system.
See Updating RHEL or Updating CentOS.
6. Install the OFED software required for the InfiniBand network.
See Installing OFED Software for InfiniBand Devices.
This procedure describes how to configure your Sun Blade X6275 server module to initiate the request to download the boot image file from the Preboot Execution Environment (PXE)/DHCP server and how to install the RHEL or CentOS boot image on your Sun Blade X6275 server module.
Before you configure your server to install RHEL or CentOS from a PXE server, you need to configure your network to support a PXE server.
To Install RHEL or CentOS From a PXE Server |
1. Download the Sun Blade X6275 Linux driver package from the Sun web site:
http://www.sun.com/servers/blades/downloads.jsp
2. Patch the PXE server with OFED software for the IB network interface.
3. Connect the PXE client to the same network as the PXE server, and power on the PXE client.
The PXE client is the target Sun Blade X6275 server module to which you are installing RHEL or CentOS software.
4. During the BIOS POST, press the F8 key and select the nic interface of your choice.
The PXE client connects to the PXE server and attempts to obtain an IP address from the DHCP server.
5. At the boot: prompt, type the label you gave the image when you installed the RHEL or CentOS image on the PXE server.
The RHEL or CentOS install image is downloaded onto the target Sun Blade X6275 server module.
6. Follow the system prompts to install or configure your operating system.
7. Update the operating system files.
See Updating RHEL.
This procedure describes how to update the RHEL operating system.
Because software is constantly being updated, your distribution media might not contain the most up-to-date versions of the operating system.
Follow this procedure after your operating system is installed.
To Update RHEL |
1. After completing the basic Red Hat installation setup, perform the following post-installation tasks:
a. Configure your system for automatic updates.
Refer to Red Hat documentation for more information.
b. If required, download and install the latest errata and bug fixes for RHEL5.3 (or subsequent release).
Refer to Red Hat documentation for more information.
c. Review and, if necessary, perform the post installation tasks described later in this chapter.
Refer to Post RHEL Installation Tasks in Sun Blade X6275 Server Module Linux, VMware, and Solaris Operating Systems Guide (820-6176).
This procedure describes how to update the CentOS operating system.
Because software is constantly being updated, your distribution media might not contain the most up-to-date versions of the operating system.
Follow this procedure after your operating system is installed.
To Update CentOS |
1. Use the yum update command.
The command yum is provided to help you install, update or to remove software. For more information about the yum command, see:
http://www.centos.org/docs/5/html/yum/
This procedure describes how to install OFED software for RHEL 5.3 and CentOS 5.3 for InfiniBand devices. Follow this procedure after your operating systems is updated, as described in Updating RHEL or Updating CentOS.
To Install OFED Software |
You can perform this procedure using an RKVM session. See Using a Remote Control Application (RKVM) for details.
For additional information, see the Mellanox documentation located in the docs directory on the ISO image.
1. Download the Sun Blade X6275 Linux driver OFED package from the Sun web site to your host:
http://www.sun.com/servers/blades/downloads.jsp
From the Tools and Drivers DVD: Copy the OFED ISO from the /linux/drivers/ofed directory and download it to your server. Run the mount command from the directory in which the file was copied.
From Linux tar file: You can download a Linux-only tar file that contains the driver, extract the contents, navigate to /linux/drivers/ofed, and run the mount command.
mount -o ro,loop ISO_image_name.iso /mnt
mount -o ro,loop <MLNX_OFED_LINUX-1.4-rhel5.3.iso /mnt
3. Run the installation script mlnxofedinstall. Use the command:
The script displays a question.
The installation starts. Messages about installing RPMs scroll by. When it is done, the installation is complete.
The installation performs the following actions:
Note - See the Mellanox documentation for information on how to add your kernel version. |
The following is an example of the installation process:
The script displays messages about installing RPMs. When it is done, it displays text similar to the following:
5. We recommend that you reboot your host when the installation is finished.
6. Configure the ib0 port IP address.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.