C H A P T E R  4

Installing SUSE Linux Enterprise Server 9 and 10


Note - If you want to mirror your OS, the recommended procedure is to create the RAID before you install the OS. See Configuring RAID for Any Operating System from the BIOS.


This chapter contains information about manually installing SUSE Linux Enterprise Server (SLES) 9 and 10 operating system (OS) on a Sun Blade X6220 server. It contains the following sections:



Note - If you use the Sun Installation Assistant to install SLES 10, the only section of this chapter that concerns you is: Updating the SLES 9 or 10 Operating System.


The most common methods to install SLES 9 or 10 on your server are to use:


Installing SLES 9



Note - The minimum supported SLES version is SLES 9 Service Pack 3 (SP3).


SLES 9 Installation and Configuration Documentation

Before you install SLES 9 Linux on your server, consult the following SLES 9 documentation

Task Map for SLES 9 Installation

Consult the following table to determine which procedures are relevant to the installation task(s) that you need to perform.


Installation Task

Relevant Procedure(s) or Source(s)

Collect information about your system and network.

Preparing to Install SLES 9

Install SLES 9 and SLES 9 SP3 from a local or remote CD/DVD drive.

Installing SLES 9 From Distribution Media or Installing SLES 9 Using the Remote Console Application

Install SLES 9 SP3 from an image stored on a networked system.

SUSE Linux Enterprise Server 9 Installation Manual

Install SLES 9 SP3 from a PXE server.

Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10

Update SLES 9 SP3 software.

Updating the SLES 9 or 10 Operating System


Before you install SUSE Linux from CD, from DVD, or from the network, you need to gather information about your system and your local area network.

Preparing to Install SLES 9

You can install the SLES 9 operating system (OS) from a local CD/DVD drive, remote CD/DVD drive, or the network; however, you will need to collect some information about your system before you proceed with any one of these installation methods.

Installation Prerequisites

Before installing SLES 9 on your server, verify or collect the following information:

Installing SLES 9 From Distribution Media

SLES 9 provides an easy-to-use graphical interface for installing and configuring the operating system. Whether you are using Distribution CDs to install SUSE Linux from a locally attached CD/DVD drive or from a remote CD/DVD drive attached via KVMS, the installation procedure is fundamentally the same.

Required Items

Installation from distribution media requires the following items:


procedure icon  To Perform a Basic Installation From Local CD/DVD Drive

1. Connect the USB CD/DVD drive into the USB port of the dongle.

2. Power on the system.

3. Insert the SLES 9 CD 1 (or the DVD) into your local CD/DVD drive.

SUSE Linux boots from the Distribution CD. The graphical boot loader displays several boot options.

4. During the installation process, you will be prompted to swap Distribution CDs and to remove media before reboots. Follow the prompts.



Note - You can change the video resolution of the installer by pressing the corresponding function key on your keyboard displayed on the selection menu.


5. Follow the installation instructions provided with the SLES 9 installation guide to complete installation of the system software.

Installing SLES 9 Using the Remote Console Application

This topic explains how to install the SLES 9 OS on your Sun Blade X6220 server using the ILOM Remote Console application.


procedure icon  To Install SLES 9 Using the ILOM Remote Console Application

1. Locate your SLES 9 installation CD/DVD or the equivalent ISO images.



Note - The Remote Console application can redirect ISO images.


2. Connect to the ILOM Service Processor web GUI.

See the topic that describes how to log in to and out of the Sun ILOM web GUI in the Integrated Lights-Out Manager (ILOM) Administration Guide (note that there are multiple versions of ILOM, be sure to refer to the guide that matches your server’s installed version of ILOM).

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 further instructions.

5. Click the Redirection tab.

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.

9. Start CD/DVD redirection.

From the JavaRConsole Devices menu, you can redirect the CD in two ways:



Note - Diskette redirection is also available through the JavaRConsole. See the Integrated Lights Out Manager (ILOM) Administration Guide for more details.


10. Turn on the server using the ILOM web GUI.

11. Set up the BIOS as follows:

a. Press Ctrl-E to enter BIOS Setup Utility.

b. Select the Boot menu.

c. Select CD/DVD Drives.

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 9 installation menu appears, use the arrow keys to select Installation. Do not press Enter.



Note - Make this selection quickly before another value (the default) executes.


a. (Optional) Press F2 to change the display resolution to 1024x768.

This is the default display resolution for the Remote Console application.

13. Press Enter to continue with the installation.

SLES 9 prompts you for the driver disk.

14. Switch back to the SLES 9 installation CD 1 (from the SLES 9 base media set) or ISO image 1 when the SLES 9 installation program prompts you to insert CD 1 into the drive.



Note - If SLES 9 indicates that there is not enough memory for graphical installation and that you must use text-based installation, use the Tab keys to navigate options.


15. Proceed with SLES 9 installation as usual.


Installing SLES 10

The Sun Blade X6220 supports both SLES 10 GA and SLES 10 SP1. The instructions for both are exactly the same, with one exception--the steps to update the SLES SCSI drivers differ. This is covered in Updating the SLES SCSI Drivers.

SLES 10 Installation and Configuration Documentation

You can find help in installing SUSE Linux on your server from the following locations:

Task Map for SLES 10 Installation

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.


Installation Task (Goal)

Relevant Procedure(s) or Source(s)

Install SLES 10 from local or remote CD/DVD drive.

Installing SLES 10 From Distribution Media or Installing the SLES 10 Using the Remote Console Application

Install SLES 10 from local or remote CD/DVD drive or PXE server.

SUSE Linux Enterprise Server 10 Installation Manual

Install SLES 10 from an image stored on a networked system.

Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10

Install SLES 10 from a PXE server.

Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10

Update SLES 10 software.

Updating the SLES 9 or 10 Operating System


Installing SLES 10 From Distribution Media

SLES 10 provides an easy-to-use graphical interface for installing and configuring the operating system. 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.

Required Items


procedure icon  To Install SLES 10 from Distribution Media

1. Connect the USB CD/DVD drive into the USB port of the dongle.

2. Power on the system.

3. Press F8 and select CDROM when prompted.

4. Insert the SLES 10 CD 1 into your local CD/DVD drive.

5. Follow the installation instructions provided with the SLES 10 Installation Guide to complete the installation of the system software.

Installing the SLES 10 Using the Remote Console Application

This topic explains how to install the SLES 10 OS on your Sun Blade X6220 server using the ILOM Remote Console application.


procedure icon  To Install SLES 10 from the Remote Console

1. Locate your SLES 10 installation CD/DVD or the equivalent ISO images.

2. Connect to the ILOM Service Processor web GUI.

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 that there are multiple versions of ILOM, be sure to refer to the guide that matches your server’s installed version of ILOM).

5. Click the Redirection tab.

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.

9. Start CD/DVD redirection.

From the JavaRConsole Devices menu, you can redirect the CD in two ways:



Note - Floppy diskette redirection is also available through the JavaRConsole. See the Integrated Lights Out Manager (ILOM) Administration Guide for more information (note that there are multiple versions of ILOM, be sure to refer to the guide that matches your server’s installed version of ILOM).


10. Turn on the server using the ILOM web GUI.

11. Set up the BIOS as follows:

a. Press Ctrl-E to enter BIOS Setup Utility.

b. Select the Boot menu.

c. Select CD/DVD Drives.

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 10 installation menu appears, use arrow keys to select Installation and press Enter.

13. Proceed with SLES 10 installation as usual.

 


Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10

These procedures describe how to preconfigure your network running SLES 9 or 10 software to support PXE installation of SUSE Linux software on your Sun Blade X6220 server. These procedures assume that you already have a bootable server that is running a version of the SLES 9 operating system.

Preconfiguring your network for PXE installation involves the following procedures:

Required Items

Preconfiguring your network for PXE installation requires the following items:

Copying Files From the Tools and Drivers CD

This section describes how to copy the required PXE configuration support files, from the Sun Blade X6220 Tools and Drivers CD to the DHCP/PXE server. You can also download the driver RPMs from the Sun Blade X6220 server module web site. The downloads links are at
http://www.sun.com/servers/blades/x6200/downloads.jsp.


procedure icon  To Copy Files From the Tools and Drivers CD

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:

# mkdir /tmp

3. Mount the CD-ROM drive. Enter the command:

# mount /dev/cdrom /mnt/cdrom

4. Depending on your OS version, enter the following commands to copy the files to the /tmp/ directory:

For SLES 9:

# cp /mnt/cdrom/support/pxeboot/sles9-pxefiles.tar.gz /tmp/

For SLES 10:

# cp /mnt/cdrom/support/pxeboot/sles10-pxefiles.tar.gz /tmp/

5. Depending on your OS version, uncompress and extract the contents of the tar file into the /tmp/ directory. Enter the following command:

For SLES 9:

# tar -zxf /tmp/sles9-pxefiles.tar.gz

For SLES 10:

# tar -zxf /tmp/sles10-pxefiles.tar.gz

When you extract the file, a directory with all required files is created at /tmp/slesX-pxefiles/. Where X is your OS version (9 or 10).

6. Unmount the CD/DVD by entering the following command:

# umount /mnt/cdrom

7. Remove the Tools and Drivers CD from the server.

Configuring a DHCP Server

Complete the following steps on the server that will be your DHCP server.


procedure icon  To Configure a 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:

# rpm -qa | grep dhcp-server

3. If the DHCP server package is not listed, install the package using YaST. Enter the following command:

# yast -i dhcp-server

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/sles9-pxefiles or /tmp/sles10-pxefiles directory.


5. In the DHCP configuration file, edit the server-identifier entry:

server-identifier n.n.n.n

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 routers 1.2.3.1;

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:

DHCPD_INTERFACE="eth0"

8. Start the DHCP service. Enter the following command:

# /etc/init.d/dhcpd start

9. Configure the server to always start DHCP. Enter the following command:

# chkconfig dhcpd on

Installing Portmap

Complete the following steps on your DHCP server.


procedure icon  To Install Portmap

1. Determine whether the portmap server package is already installed on the server. Enter the following command:

# rpm -qa | grep portmap

2. If portmap is not listed, install the package using YaST. Enter the following command:

# yast -i portmap

Configuring the TFTP Service

Complete the following steps on your DHCP server.


procedure icon  To Configure the TFTP Service

1. Determine whether the TFTP server package is already installed on the server. Enter the following command:

# rpm -qa | grep tftp

2. If the TFTP server package is not listed, install the package using YaST. Enter the following command:

# yast -i tftp

3. Edit and save the /etc/xinetd.d/tftp file.

Make the following changes:

4. Restart the inetd server. Enter the following command:

# /etc/init.d/xinetd restart

Installing and Configuring the neopxe Boot Server Daemon

Complete the following steps on your DHCP server. The neopxe server is designed for use with a DHCP server that is running on the same system.


procedure icon  To Install and Configure the neopxe Boot Server Daemon

1. If a compiler is not installed on the server, use YaST to install gcc with the following commands:

# yast -i gcc

# yast -i make

2. Install the neopxe boot server daemon onto your system that is your DHCP server. Depending on your OS version, enter the following command:

For SLES 9:

# cd /tmp/sles9-pxefiles/neopxe-0.2.0

For SLES 10:

# cd /tmp/sles10-pxefiles/neopxe-0.2.0

3. Next, enter the following commands:

# ./configure

# make

# make install

4. Append the path /usr/local/sbin/neopxe to the rc.local file by typing the following command, making sure to use two greater-than signs:

# echo "/usr/local/sbin/neopxe" >> /etc/rc.d/boot.local

5. Copy the PXE Linux image from the /tmp/ directory. Enter the following commands:

# mkdir /home/pxeboot

6. Depending on your OS version, enter the following command:

For SLES 9:

# cp /tmp/sles9-pxefiles/pxelinux.0 /home/pxeboot

For SLES 10:

# cp /tmp/sles10-pxefiles/pxelinux.0 /home/pxeboot

7. Configure the PXE Linux image. Enter the following commands:

# mkdir /home/pxeboot/pxelinux.cfg/

# touch /home/pxeboot/pxelinux.cfg/default

8. Edit the /usr/local/etc/neopxe.conf configuration file, which is read by neopxe at startup.

If the /usr/local/etc/ directory does not exist, create it with the following command:

# mkdir /usr/local/etc

If you need to create the neopxe.conf file, you can copy it from the /tmp/slesX-pxefiles/neopxe-0.2.0/ directory. Where X is the OS version (9 or 10).

A valid configuration file must have entries for each of the following lines, including at least one service line.

ip_addr=n.n.n.n

prompt=boot-prompt-string

prompt_timeout=timeout

service=service-number,boot-server,boot-file,label

Where:

For example:

ip_addr=192.168.0.1

prompt=Press [F8] for menu...

prompt_timeout=10

service=1,192.168.0.1,pxelinux.0,Linux

service=2,192.169.0.1,nbp.unknown,Solaris



Note - Refer to the neopxe.conf man page for more information.


9. Start the neopxe daemon. Enter the following command:

# /usr/local/sbin/neopxe

Configuring the NFS Service

Complete the following steps on your DHCP server.


procedure icon  To Configure the NFS Service

1. Determine whether the NFS service package is already installed on the server. Enter the following command:

# rpm -qa | grep nfs-utils

2. If the NFS service package is not listed, install the package using YaST. Enter the following command:

# yast -i nfs-utils

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:

# /etc/init.d/nfsserver start

5. Configure the server to always start the NFS service. Enter the following commands:

# chkconfig nfslock on

# chkconfig nfsserver on



Note - If you are using a DNS server, verify that DNS entries exist for the range of addresses defined in the PXE subnet dynamic-bootp entry in the dhcpd.conf file. If you are not using a DNS server, edit the /etc/hosts file to add the range of host addresses found in the PXE subnet dynamic-bootp entry in the dhcpd.conf file.


Disabling the Firewall

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.



caution icon Caution - Network security vulnerability. When you disable the firewall protection on the system that is your PXE server, the security of the data on that server cannot be ensured. If this server is networked outside of your local intranet, be sure to re-enable the firewall after downloading software to PXE clients.



procedure icon  To Disable the Firewall

1. Execute the YaST command. Enter the following command:

yast

2. Select Security & Users.

3. Select Firewall.


Installing SLES 9 Using PXE

PXE is a powerful and convenient solution for setting up a number of Sun Blade X6220 servers so their configuration is identical.

Before You Begin

The network interface card (NIC) in your Sun Blade X6220 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.

Task Map

To take advantage of PXE installations on your network, you need to perform the following tasks.


Task

Related Topic

Set up your Linux network and PXE server.

Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10

Install SUSE Linux images on that PXE server.

Creating a SLES 9 Service Pack PXE Install Image on the PXE Server

Configure your server to boot from or to install from a SLES 9 or SLES 9 Service Pack image on a PXE server.

Installing SLES 9, SP3 From a PXE Server


Creating a SLES 9 Service Pack PXE Install Image on the PXE Server

This procedure describes how to create a Preboot Execution Environment (PXE) install image on the same server that is your DHCP server so that it will also act as your PXE server. The PXE server provides the operating system files to your PXE client.

Before You Begin

Before you install a SLES 9 image on your PXE server, you must configure your Linux network to support PXE images. See Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10 for instructions on how to preconfigure your network to support PXE installations of SLES 9, SP3.

Required Items

The PXE installation procedure requires the following items:


procedure icon  To Create a SLES 9 SP3 PXE Install Image on the PXE Server

This section covers creating the PXE installation image, setting up and copying the SLES 9 software to a directory, and creating links to the PXE files.

Create a PXE Install Image

Follow these steps to create a PXE install image on the PXE server.



Note - Before you start this procedure, verify that your network has been preconfigured to support PXE installation. Refer to Preconfiguring Your Network to Support PXE Installation of SLES 9 or 10.


1. Reboot the PXE/DHCP server.

2. Follow the steps in To Copy Files From the Tools and Drivers CD.



Note - For installing SLES 9 SP3, you require both the SLES 9 base media set and the SLES 9 SP3 media set.


Setting Up and Copying SLES 9 Software to a Directory

The following steps explain how to create the directory setup containing both the SLES 9 base and the SLES 9, SP3 files for PXE installation.



Note - You can use a different target directory than the /home/pxeboot/sles9/ directory shown. The examples in this procedure use this directory.


1. Set up the directory structure that will hold the SLES 9 software. Enter the following commands:

# mkdir -p /home/pxeboot/sles9/sles9/CD1

# mkdir -p /home/pxeboot/sles9/core9/CD1

# mkdir -p /home/pxeboot/sles9/core9/CD2

# mkdir -p /home/pxeboot/sles9/core9/CD3

# mkdir -p /home/pxeboot/sles9/core9/CD4

# mkdir -p /home/pxeboot/sles9/core9/CD4

2. Insert the SLES 9 CD 1 into the server’s CD/DVD drive.

3. Mount and copy the contents of the CD to the PXE server directory /home/pxeboot/sles9/sles9/CD1 by entering the following commands:

# mount /dev/cdrom /mnt/cdrom

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/sles9/CD1

4. Unmount the SLES 9 CD 1 by entering:

# umount /mnt/cdrom

5. Remove the SLES 9 CD 1.

6. Repeat the above steps for mounting and copying CD media contents to corresponding directories in /home/pxeboot/sles9/core9 as given below.

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/core9/CD1

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/core9/CD2

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/core9/CD3

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/core9/CD4

i. # cp -r /mnt/cdrom/* /home/pxeboot/sles9/core9/CD5

7. Create directories for SLES 9 SP3 CDs by typing the following commands:

# mkdir /home/pxeboot/sles9/sles9-sp3/CD1

# mkdir /home/pxeboot/sles9/sles9-sp3/CD2

# mkdir /home/pxeboot/sles9/sles9-sp3/CD3

8. Insert the SLES 9 SP3 CD 1 into the CD/DVD drive

9. Mount and copy the contents of the CD to the PXE server by entering the following commands:

# mount /dev/cdrom /mnt/cdrom

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/sles9-sp3/CD1

10. Unmount the CD.

# umount /mnt/cdrom

11. Remove the SLES 9, SP3 CD 1 from the CD/DVD drive.

12. Repeat the above steps to mount, copy, and unmount the SLES 9, SP3 CD 2 and CD 3. Substitute the following copy commands for CD2 and CD3.

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/sles9-sp3/CD2

# cp -r /mnt/cdrom/* /home/pxeboot/sles9/sles9-sp3/CD3

Creating Links to PXE Files

1. Create symbol links by executing the following commands. Enter the following commands:

# cd /home/pxeboot/sles9

# ln -s ./sles9/CD1/boot/ .

# ln -s ./sles9-sp3/CD1/boot ./boot.sp3

# ln -s ./sles9/CD1/content .

# ln -s ./sles9/CD1/control.xml .

# ln -s ./sles9-sp3/CD1/driverupdate .

# ln -s ./sles9-sp3/CD1/boot/loader/initrd .

# ln -s ./sles9-sp3/CD1/boot/loader/linux .

# ln -s ./sles9/CD1/media.1 .

2. Set up the appropriate content and instorder files. Enter the following command:

# mkdir yast

# cp /tmp/sles9sp3-pxefiles/order yast/

# cp /tmp/sles9sp3-pxefiles/instorder yast/

3. Copy the autoyast.xml file from the /tmp/sles9sp3-pxefiles/ directory to the root of the PXE image. Enter the following command:

# cp /tmp/sles9sp3-pxefiles/autoyast.xml /home/pxeboot/sles9/

4. On your PXE server, modify and save the file /home/pxeboot/pxelinux.cfg/default to add the following entries:



Note - Enter the text block from append through autoyast.xml as one continuous line with no returns.


default sles9

label sles9

kernel sles9/linux

append textmode=1 initrd=sles9/initrd install=

nfs://n.n.n.n/home/pxeboot/sles9

autoyast=nfs://n.n.n.n/home/pxeboot/sles9/autoyast.xml

Where n.n.n.n is the IP address of your PXE server.



Note - For console-based installations, add console=ttyS0,9600 to the append line.


Installing SLES 9, SP3 From a PXE Server

This procedure describes how to configure your Sun Blade X6220 server to initiate the request to download the boot image file from the PXE/DHCP server and how to install the SLES 9 SP3 boot image onto your Sun Blade X6220 server.

Before You Begin

Before you configure your server to install SUSE Linux from a PXE server, you need to have done the following:


procedure icon  To Install a SLES 9 SP3 Image From a PXE Server

1. 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 X6220 server to which you are installing the SLES 9 software.

2. When the PXE client prompts you for a network boot, press the F12 key.

The PXE client connects to the PXE server and attempts to obtain an IP address from the DHCP server.

3. Press the F8 key to begin the downloading of the PXE boot image.

4. At the boot: prompt, enter in the label you gave the image when you installed a SUSE image on the PXE server.

The SLES 9 SP3 install image downloads onto the target Sun Blade X6220 server.

5. To configure the Linux operating system for your server, refer to the manual that is shipped with your SLES 9 media kit.

6. Update the operating system files.

See Updating the SLES 9 or 10 Operating System.


Installing SLES 10 Using PXE

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 9 or 10).

The two procedures in this section are:

Required Items

The PXE installation procedure requires the following items:

Creating a SLES 10 PXE Install Image on the PXE Server

To transfer the SLES 10 PXE files for installation you must:


procedure icon  To Create a SLES 10 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:

# mount /dev/cdrom /mnt/cdrom

# cp -a /mnt/cdrom/support/pxeboot/sles10-pxefiles.tar.gz /tmp

# cd /tmp

# tar xfz sles10-pxefiles.tar

# umount /mnt/cdrom

Set Up and Copy SLES 10 Software to a Directory

The following steps explain how to create the directory setup containing SLES 10 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 10. 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:

# mount /dev/cdrom /mnt/cdrom

# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD1/

# umount /mnt/cdrom

3. Remove SLE S10 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/

Setup 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 - Enter the text block from “append” through “autoinst.xml” below 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.

3. Save and exit the file.

Installing SLES 10 From a PXE Server

This procedure describes the final step of installing the SLES 10 boot image onto your Sun Blade X6220 server. Before proceeding with this procedure you must have done the following:


procedure icon  To Install SLES 10 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 install the SLES 10 image on the PXE server (sles10 in the example above).

4. To configure your SLES 10 Linux server, refer to the Installation and Administration guide on SLES 10 CD 1.

5. Perform an Online Software Update to update the operating system files (see Updating the SLES 9 or 10 Operating System).


Updating the SLES 9 or 10 Operating System

The SLES operating system 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.


procedure icon  To Update Your SLES Operating System

1. Log in as the superuser.

2. Enter the following command to run the YaST Online Update:

# you

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

Updating the SLES SCSI Drivers

To Update the SLES SCSI Drivers:

1. Insert the Tools and Drivers CD for Sun Blade X6220 module.

2. Mount it onto the directory /mnt

# mount /dev/cdrom /mnt

3. Enter the following commands:

a. For SLES9 SP4 and older

# cd /mnt/Linux/drivers

# rpm -ivh mptlinux-sles9.0-3.12.27.00-2.x86_64.rpm

b. For SLES 10 and SLES 10 SP1, 64 bit

# cd /mnt/Linux/drivers

# rpm -ivh mptlinux-4.00.22.00-1-sles10.x86_64.rpm

4. Installation of the new drivers is now complete. Reboot the server for the changes to take effect. Enter:

# reboot