C H A P T E R 5 |
Installing SUSE Linux Enterprise Server 10 |
This chapter contains information about installing SUSE Linux Enterprise Server 10 (SLES 10).
This chapter contains the following sections:
The most common methods to install SUSE Linux Enterprise Server 10 (SLES 10) on your server are to use:
Note - The Sun Installation Assistant is a convenient, front-end application designed to assist you in installing SUSE Linux on your server. The Sun Installation Assistant supplements the standard installation utilities and procedures that ship with SLES 10; it does not replace them. Refer to Chapter 2 for more information. |
You can find information about installing SUSE Linux on your server from the following locations:
Use TABLE 5-1 to see the default disk mapping and boot disk locations for the Sun Fire X4500 server:
Note - If you add additional storage devices (such as a USB storage device), the device identifiers may change depending on which device the operating system looks at first during boot. |
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.
Install SLES 10 from local or remote CD/DVD drive or PXE server. |
|
SLES 10 provides an easy-to-use graphical interface for installing and configuring the OS. 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.
To Install SLES 10 From Distribution Media |
2. Press F8 and select CD-ROM when prompted.
3. Insert the SLES 10 CD 1 (or DVD) into your local CD/DVD drive. Then do the following:
a. When the Installation Media boot screen appears, press the "Down" arrow to select "Installation", but before pressing RETURN first type the string "driverupdate=1". After booting the installer displays a dialog "Please choose the Driver Update medium".
b. Remove the SLES 10 Distribution Media from your CD-ROM and replace it with the Driver Update CD.
c. Select the corresponding CD-ROM device on screen and press OK. The installer displays the message "Driver Updates added" to confirm the installation of the Marvell SATA Controller driver. Press OK.
d. The installer again displays the dialog "Please choose the Driver Update medium". Remove the Driver Update CD from the CD-ROM and insert back the SLES 10 Distribution Media.
e. Select "Back" and press Enter. The installation then proceeds normally.
4. Follow the installation instructions provided with the SLES 10 Installation Guide until you reach the main SLES10 installer configuration screen. Then proceed to the next step.
5. The boot device nodes are /dev/sdy which is located at slot 0 and /dev/sdac, located at slot 1. The OS must be installed on one of these two device nodes:
a. At the SLES10 installer configuration screen, select the Change Partitioning option.
b. Select "Create Custom Partition Setup", then "Custom Partitioning (for experts)".
c. Edit the partition table to ensure that you are installing on one of the two possible boot device nodes. By default, SLES10 does NOT choose one of the correct devices for you.
6. You must also ensure that the GRand Unified Bootloader (GRUB) is installed correctly on the boot device by performing the following steps:
a. At the SLES10 installer configuration screen, select the "Expert" tab. This tab must be selected.
b. Navigate to Booting options.
c. Select the Boot Loader Installation tab.
d. Change the Boot Loader Location to /dev/sdy (or /dev/sdac)
e. Click the Boot Loader Installation Details button.
f. Move /dev/sdy (or /dev/sdac) to the top of the order by selecting it and pressing the up key until it is located at the top. SLES10 does not install the bootloader if this step is not performed correctly.
This section explains how to install the SLES 10 OS on your Sun Fire X4500 server using the ILOM Remote Console application.
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 further instructions.
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 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.
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 Installation Media boot screen appears, press the "Down" arrow to select "Installation", but before pressing RETURN first type the string "driverupdate=1". After booting the installer displays a dialog "Please choose the Driver Update medium".
a. Go into the Remote Console menu and setup CD-ROM image to point to the "driverupdate.iso" Driver Update image.
b. Select the Virtual CD-ROM device on screen and press OK. The installer displays the message "Driver Updates added" to confirm the installation of the Marvell SATA Controller driver. Press OK.
c. The installer again displays the dialog "Please choose the Driver Update medium". Go into the Remote Console menu and change the CD-ROM redirection to point back to the SLES 10 Installation Media as explained in step 9.
13. Follow the installation instructions provided with the SLES 10 Installation Guide until you reach the main SLES10 installer configuration screen. Then proceed to the next step.
14. The boot device nodes are /dev/sdy which is located at slot 0 and /dev/sdac, located at slot 1. The OS must be installed on one of these two device nodes:
a. At the SLES10 installer configuration screen, select the Change Partitioning option.
b. Select "Create Custom Partition Setup", then "Custom Partitioning (for experts)".
c. Edit the partition table to ensure that you are installing on one of the two possible boot device nodes. By default, SLES10 does NOT choose one of the correct devices for you.
15. You must also ensure that the GRand Unified Bootloader (GRUB) is installed correctly on the boot device by performing the following steps:
a. At the SLES10 installer configuration screen, select the "Expert" tab. This tab must be selected.
b. Navigate to Booting options.
c. Select the Boot Loader Installation tab.
d. Change the Boot Loader Location to /dev/sdy (or /dev/sdac)
e. Click the Boot Loader Installation Details button.
f. Move /dev/sdy (or /dev/sdac) to the top of the order by selecting it and pressing the up key until it is located at the top. SLES10 does not install the bootloader if this step is not performed correctly.
16. Proceed with SLES 10 installation by following the prompts.
The on-board network interface card (NIC) in your Sun Fire X4500 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. If that DHCP server on the network has been configured to support the PXE protocol and PXE image servers on the same network, then the BIOS on your system can be used to install a bootable SUSE image on your server.
Note - PXE is a powerful and convenient solution for setting up a number of Sun Fire X4500 servers so their configuration is identical. |
To take advantage of RHEL and PXE on your network, you need to perform the following tasks.
Preconfiguring Your Network to Support PXE Installation of SLES |
|
Configure your server to install from a RHEL image on a PXE server. |
|
These procedures describe how to preconfigure your network running SLES 10 software to support PXE installation of SUSE Linux software on your Sun Fire X4500 server. These procedures assume that you already have a bootable server that is running a version of the SLES 10 operating system.
Preconfiguring your network for PXE installation involves the following procedures:
Preconfiguring your network for PXE installation requires the following items:
1. Insert the Tools and Drivers CD into the DHCP/PXE server.
You can also download the driver RPMs from the Sun Fire X4500 web site. The downloads links are at http://www.sun.com/servers/x64/x4500/support.xml
2. Create a temporary directory to copy the PXE support files to. Enter the following command:
3. Enter the following commands to copy the files to the /tmp/ directory:
# mount /dev/cdrom /mnt/cdrom
# cp /mnt/cdrom/linux/pxe/sles10/sles10-pxefiles.tar.gz /tmp/
4. Uncompress and extract the contents of the tar file into the /tmp/ directory. Enter the following command:
# tar -zxf /tmp/sles10-pxefiles.tar.gz
When you extract the file, a directory with all required files is created at /tmp/sles10-pxefiles/.
5. Unmount the CD/DVD by entering the following command:
6. Remove the Tools and Drivers CD from the 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 “PXEClinet”; 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.Edit the /etc/dhcpd.conf file |
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:
1. Determine whether the portmap server package is already installed on the DHCP server. Enter the following command:
2. If portmap is not listed, install the package using YaST. Enter the following command:
1. Determine whether the TFTP server package is already installed on the DHCP 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. The neopxe server is designed for use with a DHCP server that is running on the same system.
1. If a compiler is not installed on the DHCP server, use YaST to install gcc with the following commands:
2. Install the neopxe boot server daemon onto your system that is your DHCP server. Enter the following commands:
# cd /tmp/sles10-pxefiles/neopxe-0.2.0
3. 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
4. Copy the PXE Linux image from the /tmp/ directory. Enter the following commands:
# cp /tmp/sles10-pxefiles/pxelinux.0 /home/pxeboot
5. Configure the PXE Linux image. Enter the following commands:
# mkdir /home/pxeboot/pxelinux.cfg/
# touch /home/pxeboot/pxelinux.cfg/default
6. 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:
If you need to create the neopxe.conf file, you can copy it from the /tmp/sles10-pxefiles/neopxe-0.2.0/ directory.
A valid configuration file must have entries for each of the following lines, including at least one service line.
service=service-number,boot-server,boot-file,label
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. |
7. Start the neopxe daemon. Enter the following command:
1. Determine whether the NFS service package is already installed on the DHCP 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:
When you have completed all the previous configuration steps, do the following.
1. Reboot the PXE/DHCP server.
Proceed to the next section, Creating a SLES 10 PXE Install Image on the PXE Server.
To transfer the SLES 10 PXE files for installation you must:
You are then ready to install SLES 10 from your PXE server.
1. Insert the Tools and Drivers CD into the CD/DVD drive.
2. Copy the PXE support files from the Tools and Drivers CD into the /tmp directory by entering the following commands:
# cp -a /mnt/cdrom/linux/pxe/sles10/sles10-pxefiles.tar.gz /tmp
# cp /mnt/cdrom/linux/drivers/sles10/driverupdate.iso /tmp
# tar xfz sles10-pxefiles.tar.gz
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. Create the directory to hold the SLES 10:
# mkdir -p /home/pxeboot/sles10/CD{1,2,3,4}
2. Insert SLES 10 CD 1 into your server and copy its content to your PXE server:
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD1/
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/
5. Copy the Driver Update image containing the Marvell SATA Controller driver to the target directory. Note that the file must be named "driverupdate", without the '.iso' extension. Enter the command:
# cp /tmp/driverupdate.iso /home/pxeboot/sles10/CD1/driverupdate
1. Copy the autoinst.xml file from the /tmp/sles10/ directory to the root of the PXE image:
# cp /tmp/sles10/autoinst.xml /home/pxeboot/sles10/
2. On your PXE server, modify and save the file home/pxeboot/pxelinux.cfg/default to add the following entry to it:
Note - Enter the text block from “append” through “autoinst.xml” below as one continuous line with no returns. |
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 the server.
This procedure describes the final step of installing the SLES 10 boot image onto your Sun Fire X4500 server.
Before you configure your server to install SUSE Linux from a PXE server, you need to have:
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 OS files as described in Updating the SLES 10 OS.
The OS installation media shipped with your distribution of SLES 10 software might not contain the most up-to-date versions of the SUSE software. It is possible that there have been updates to the SLES 10 software. This procedure describes how to update the SUSE OS software on your Sun Fire server after you have installed it from a PXE server or from distribution CDs.
To Update the SLES 10 OS |
2. Enter the following command to run the YaST Online Update:
Note - 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 online 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 need your Novell Customer Center username and password, and a SLES 10 product activation code.
5. Once registered, select the ’Online Update’ tab to perform the software update.
You may need to update the SLES SCSI drivers. You can find a list of the most recent drivers, and instructions for installing them, in the linux/drivers directory of your Tools and Drivers CD.
Note - If you use SIA to install your OS, it installs the correct drivers automatically. |
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.