C H A P T E R 3 |
Installing SUSE Linux Enterprise Server 10 |
Note - If you want to mirror your OS, the recommended procedure is to create a hardware RAID before you install the OS. |
This chapter contains information about manually installing SUSE Linux Enterprise Server (SLES) 10 OS on a Sun Fire X4140, X4240, or X4440 server. It contains the following sections:
Note - If you use the Sun Installation Assistant to install SLES 11, the only sections of this chapter that you will need to reference are: Preconfiguring Your Network to Support PXE Installation of SLES 11 and Updating the SLES 11 OS. |
The Sun Fire X4140, X4240, and X4440 servers support SLES 11.
The most common methods for installing SLES 11 on your server are listed below:
You can find help in installing SUSE Linux on your server from the following locations:
Consult the following table to determine which procedures documented in this help system are relevant to the installation task(s) that you need to perform.
Installing SLES 11 From Distribution Media or Installing SLES 11 Using the Remote Console Application |
|
Install SLES 11 from local or remote CD/DVD drive or PXE server. |
|
Preconfigure your network to install SLES 11 from a PXE server. |
Preconfiguring Your Network to Support PXE Installation of SLES 11 |
SLES 10 provides an easy-to-use graphical interface for installing and configuring the OS. Whether you are using Distribution CDs to install SLES from a locally attached CD/DVD drive or from a remote CD/DVD drive attached via KVMS, the installation procedure is fundamentally the same.
2. Press F8 and select CDROM when prompted.
3. Insert the SLES 11 CD 1 into your local CD/DVD drive.
4. Follow the installation instructions provided with the SLES 11 Installation and Administration Guide to complete the installation of the system software.
This topic explains how to install the SLES 11 OS on your Sun Fire X4140, X4240, or X4440 server using the ILOM Remote Console application.
1. Locate your SLES 11 installation CD/DVD or the equivalent ISO images.
2. Connect to the ILOM service processor web interface.
3. Click the Remote Control tab, then the Mouse Mode Settings tab.
4. If necessary, change the mouse mode to Relative Mouse Mode.
See the “Remote Console Application” chapter of the Integrated Lights Out Manager (ILOM) Administration Guide for more information
Note - There are multiple versions of ILOM, be sure to refer to the guide that matches your server’s installed version of ILOM. |
6. Click the Launch Redirection button to start the JavaRConsole application.
7. Log in to the JavaRConsole.
8. Start keyboard and mouse redirection.
Select Keyboard and Mouse in the Devices menu.
From the JavaRConsole Devices menu, you can redirect the CD in several ways:
10. Turn on the server using the ILOM Web Interface.
11. Set up the BIOS as follows:
a. Press Ctrl-E to enter BIOS Setup utility.
d. Set AMI Virtual CD as the first boot device.
e. Press F10 to save changes and exit.
f. Reboot and press Ctrl-P to select CD/DVD as the boot device.
12. When the SLES 11 installation menu appears, use arrow keys to select Installation and press Enter.
13. Proceed with SLES 11 installation as usual.
These procedures describe how to preconfigure your network running SLES 11 software to support PXE installation of SUSE Linux software on your Sun Fire X4140, X4240, or X4440 server. These procedures assume that you already have a bootable server that is running a version of the SLES 11 OS.
Preconfiguring your network for PXE installation involves the following procedures:
Preconfiguring your network for PXE installation requires the following items:
NIC0 -> eth2
NIC1 -> eth3
NIC2 -> eth0
NIC3 -> eth1
This section describes how to copy the required PXE configuration support files, from the Sun Fire X4140, X4240, and X4440 server Tools and Drivers CD to the DHCP/PXE server. You can also download the driver RPMs from the Sun Fire X4140, X4240, or X4440 server web site. The downloads links are at
http://www.sun.com/servers/blades/x6200/downloads.jsp.
1. Insert the Tools and Drivers CD into the DHCP/PXE server.
2. Create a temporary directory to copy the PXE support files to. Enter the following command:
3. Mount the CD-ROM drive. Enter the command:
4. Enter the following command to copy the files to the /tmp/ directory:
# cp /mnt/cdrom/support/pxeboot/tmp/
5. Uncompress and extract the contents of the tar file into the /tmp/ directory.
When you extract the file, a directory with all required files is created at /tmp/sles10-pxefiles/.
6. Unmount the CD/DVD by entering the following command:
7. Remove the Tools and Drivers CD from the server.
Complete the following steps on the server that will be your DHCP server.
1. Power on the server and log in as superuser.
2. Determine whether the DHCP server package is already installed on the server. Enter the following command:
3. If the DHCP server package is not listed, install the package using YaST. Enter the following command:
4. Set up your DHCP configuration file (for example, /etc/dhcpd.conf) so that only PXEClient requests receive PXEClient responses.
Add the following entry to the DHCP configuration file (refer to the dhcpd.conf man page for more information).
class “PXE” {match if substring(option vendor-class-identifier, 0,9) = “PXEClient”; option vendor-class-identifier “PXEClient”; vendor-option-space PXE; next-server n.n.n.n;}
Where n.n.n.n is the IP address of the server.
Note - You can start with a sample DHCP configuration file in the /tmp/sles10-pxefiles directory. |
5. In the DHCP configuration file, edit the server-identifier entry:
Where n.n.n.n is the PXE/dhcp server’s IP address.
6. Also in the DHCP configuration file, find the subnet entry fields:
subnet 1.2.3.0 netmask 255.255.255.0 {
range dynamic-bootp 1.2.3.100 1.2.3.200;
option broadcast-address 1.2.3.225;
Edit the subnet, range, router and broadcast-address entries according to the PXE/dhcp server’s network configuration.
7. Edit the /etc/sysconfig/dhcpd file and verify that the DHCPD_INTERFACE is set to the interface that is connected to the network you are planning to run the PXE server.
For example, if you are using Ethernet interface 0, the DHCPD_INTERFACE variable would be set as follows:
8. Start the DHCP service. Enter the following command:
9. Configure the server to always start DHCP. Enter the following command:
Complete the following steps on your DHCP server.
1. Determine whether the portmap server package is already installed on the server. Enter the following command:
2. If portmap is not listed, install the package using YaST. Enter the following command:
Complete the following steps on your DHCP server.
1. Determine whether the TFTP server package is already installed on the server. Enter the following command:
2. If the TFTP server package is not listed, install the package using YaST. Enter the following command:
3. Edit and save the /etc/xinetd.d/tftp file.
4. Restart the inetd server. Enter the following command:
Complete the following steps on your DHCP server.
1. Determine whether the syslinux package is already installed on the server. Enter the following command:
2. If the syslinux package is not listed, insert the RHEL CD and install syslinux by entering the following commands.
# -Uvh /mnt/cdrom/suse/x86_64/syslinux
3. Remove the CD from the server after you enter the following command:
Make sure pxelinux.0 and pxlinux.cfg/ are in the /home/pxeboot directory. If not, copy these files to the /home/pxeboot directory.
Complete the following steps on your DHCP server.
1. Determine whether the NFS service package is already installed on the server. Enter the following command:
2. If the NFS service package is not listed, install the package using YaST. Enter the following command:
3. Edit and save the /etc/exports file to add the following line to it:
/home/pxeboot *(sync,no_root_squash,no_subtree_check,insecure)
4. Start the NFS service. Enter the following command:
5. Configure the server to always start the NFS service. Enter the following commands:
If a firewall is enabled on your PXE/DHCP server, you must disable it before attempting to install a PXE image onto the client system.
1. Execute the YaST command. Enter the following command:
PXE is a powerful and convenient solution for setting up a number of Sun Fire X4140, X4240, or X4440 servers so that their configuration is identical.
The PXE installation procedure requires the following items:
The network interface card (NIC) in your Sun Fire X4140, X4240, or X4440 server supports the Preboot Execution Environment (PXE) network booting protocol. The system BIOS and network interface BIOS on your server automatically query the network for a DHCP server.
Before you perform the procedures in this section, you must have configured your Linux network to support a PXE server (see Preconfiguring Your Network to Support PXE Installation of SLES 11).
The two procedures in this section are:
To transfer the SLES 11 PXE files for installation you must:
1. Create a SLES 11 image on your PXE server.
2. Set up and copy SLES 11 software to a directory.
To Create a SLES 11 Image on Your PXE Server |
1. Insert the Tools and Drivers CD into the DVD-ROM drive.
2. Copy the PXE support files from the Tools and Drivers CD into the /tmp directory by typing the following commands:
# cp -a /mnt/cdrom/support/pxeboot/tmp
Set Up and Copy SLES 11 Software to a Directory |
The following steps explain how to create the directory setup containing SLES 11 files for PXE installation.
Note - You can use a different target directory than the /home/pxeboot/sles10/ directory shown. The examples in this procedure use this directory. |
1. Set up the directory structure that will hold the SLES 11 files. Enter the following commands:
# mkdir -p /home/pxeboot/sles10/CD1
# mkdir -p /home/pxeboot/sles10/CD2
# mkdir -p /home/pxeboot/sles10/CD3
# mkdir -p /home/pxeboot/sles10/CD4
2. Insert SLES 10 CD 1 into your server and copy its content to your PXE server. Enter the following command:
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD1/
3. Remove SLES 11 CD 1 from the server.
4. Repeat the above procedure for copying CD 2, 3 and 4 to their corresponding directories in /home/pxeboot/sles10/ as given below:
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD2/
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD3/
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD4/
Set Up PXE Files |
1. Copy the autoinst.xml file from the /tmp/sles10/ directory to the root of the PXE image. Enter the following command:
# cp /tmp/sles10/autoinst.xml /home/pxeboot/sles10/
2. On your PXE server, modify the file home/pxeboot/pxelinux.cfg/default adding the following entry to it:
Note - In the text block below, copy from “append” through “autoinst.xml” as one continuous line with no returns. |
default sles10
label sles10
kernel sles10/CD1/boot/x86_64/loader/linux
append textmode=1 initrd=sles10/CD1/boot/x86_64/loader/initrd
install=nfs://n.n.n.n/home/pxeboot/sles10/CD1
autoyast=nfs://n.n.n.n/home/pxeboot/sles10/autoinst.xml
Where n.n.n.n is the IP address of your PXE server.
This procedure describes the final step of installing the SLES 11 boot image onto your Sun Fire X4140, X4240, or X4440 server. Before proceeding with this procedure you must have done the following:
To Install SLES 11 From a PXE Server |
1. Connect the PXE client to the same network as the PXE server.
2. Power on the PXE client and press F12 to select network boot.
3. When you are prompted at the boot: prompt, enter in the label you gave the image when you installed the SLES 11 image on the PXE server (sles10 in the example above).
4. To configure your SLES 11 Linux server, refer to the Installation and Administration guide on SLES 11 CD 1.
5. Perform an Online Software Update to update the OS files (see Updating the SLES 11 OS).
The SLES OS installation media might not contain the most up-to-date versions of the SUSE software. This procedure describes how to update the SLES OS on your server after you have installed it from a PXE server or distribution CDs.
To Update Your SLES OS |
2. Enter the following command to run the YaST Online Update:
Note that YaST can operate in both text and graphical modes. These directions apply to both.
3. If you are behind a network firewall and need to use a proxy server in order to access the internet, you must first configure YaST with the correct proxy information.
a. Select the ‘Network Services’ tab on the left, then the ‘Proxy’ screen on the right. Enter the correct proxy URLs in both the HTTP and HTTPS fields.
Note - In order for the on-line update service to function correctly through a network HTTP proxy, the following additional configuration step must be performed. |
b. Exit the YaST utility and run the following command:
rug set-prefs proxy-url proxy URL
where proxy URL is the fully qualified URL of your proxy server (for example: http://proxy.yourdomain:3128/).
c. After successfully running the command, launch YaST again.
4. Register with the Novell Customer Center. Select the ‘Software’ tab on the left, then select ‘Novell Customer Center Configuration’ and follow the directions.
You will need your Novell Customer Center username and password, as well as a SLES product activation code.
5. Once registered, select the ‘Online Update’ tab to perform the software update.
To Update the SLES SCSI Drivers:
1. Insert the Tools and Drivers CD for your server.
2. Mount it onto the directory /mnt
3. Enter the following commands:
For example for SLES 11 SP1 and SP2, 64-bit:
# rpm -ivh mptlinux-4.00.43.00-1-sles10.x86_64.rpm
Note - Check the /linux/drivers directory on your Tools and Drivers CD for the specific driver file name for your operating system. |
4. Installation of the new drivers is now complete. Reboot the server for the changes to take effect. Enter:
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.