C H A P T E R 3 |
Installing SUSE Linux Enterprise Server 10 |
This chapter provides information about installing SUSE Linux Enterprise Server (SLES) 10 operating system (OS) on a Sun Blade X6440 server module.
This chapter contains the following sections:
The most common methods for installing the SLES OS on your server module are:
This section describes how to install the SLES 10 OS.
Before you install the SLES 10 OS on your server module, consult the following SLES 10 documentation.
This file contains late-breaking information about system requirements and system configuration for your version of SLES 10. |
||
This short manual provides a quick introduction to the installation. |
On the SLES 10 CD #1 under the docu directory, as the file startup.pdf under the appropriate language directory. |
|
SUSE provides considerable technical information about the SLES OS at its product and support web sites. |
See the SLES 10 home page at http://www.novell.com/products/server/ for additional support information. |
Consult the following table to determine the procedures that 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. |
|
Install the SLES 10 OS from an image stored on a networked system. |
Preconfiguring the Network to Support PXE Installation of SLES 10. |
You can install the SLES 10 OS from a local CD/DVD drive, remote CD/DVD drive, or the network; however, you need to collect some information about your system before you proceed with any one of these installation methods.
Before installing SLES 10 on your server, verify or collect the following information:
The SLES 10 OS provides an easy-to-use graphical interface for installing and configuring the OS. Regardless of whether you are using distribution CDs to install the SLES 10 OS 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 the SLES 10 Operating System From Distribution Media |
1. Connect the multi-port dongle cable to the connector on the front of the Sun Blade X6440 server.
2. Connect the USB CD/DVD to the USB port on the dongle.
2. Press F8 and select CDROM when prompted.
3. Insert SLES 10 CD #1 (or DVD) into your local CD/DVD drive.
4. Follow the installation instructions provided with the SLES 10 Installation Guide to complete the installation.
This topic explains how to install the SLES 10 OS on your Sun Blade X6440 server module using the ILOM Remote Console application.
1. Locate your SLES 10 OS installation CD/DVD or the equivalent ISO images.
2. Connect to the ILOM service processor web interface.
See the topic that describes how to log in to the Sun ILOM web interface in the Sun Integrated Lights Out Manager 2.0 User’s Guide (820-1188).
Note - There are multiple versions of ILOM. Be sure to refer to the guide that matches your server’s installed version of ILOM. |
3. Select the Remote Control tab, then select the Mouse Mode Settings tab.
4. If necessary, change the mouse mode to Relative Mouse Mode.
See the “Remote Console Application” chapter of the Sun Integrated Lights Out Manager 2.0 User’s Guide (820-1188) for further instructions.
5. Select 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.
From the JavaRConsole Devices menu, you can redirect the CD/DVD drive in two ways:
10. Power on the server using the ILOM web interface.
11. Configure the BIOS to use CD/DVD a the boot device.
a. Press Ctrl-E to enter the 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 10 OS installation menu appears, use the arrow keys to select Installation and press Enter.
13. Proceed with the SLES 10 OS installation as usual.
These procedures describe how to preconfigure your network to support Preboot Execution Environment (PXE) installation of SLES OS on your Sun Blade X6440 server module. These procedures assume that you already have a bootable server that is running a version of the SLES 10 OS.
Preconfiguring your network for PXE installation involves the following procedures:
Preconfiguring your network for PXE installation requires the following items:
Complete the following steps on the server that will be the 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. Type the following command:
3. If the DHCP server package is not listed, install the package using YaST. Type the following command:
4. Set up the 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. 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;
7. Edit the subnet, range, router and broadcast-address entries according to the PXE/DHCP server’s network configuration.
8. Edit the /etc/sysconfig/dhcpd file and verify that the DHCPD_INTERFACE is set run on the network on which you are planning to run the PXE server.
For example, if you are using Ethernet interface 0, the DHCPD_INTERFACE variable should be set as follows:
9. Start the DHCP service. Type the following command:
10. Configure the server to always start DHCP. Type the following command:
Complete the following steps on the DHCP server to install the portmap server package.
1. Determine whether the portmap server package is already installed on the server. Type the following command:
2. If portmap is not listed, install the package using YaST. Type the following command:
Complete the following steps on the DHCP server to configure the TFTP service.
1. Determine whether the TFTP server package is already installed on the server. Type the following command:
2. If the TFTP server package is not listed, install the package using YaST. Type the following command:
3. Edit and save the /etc/xinetd.d/tftp file. Make the following changes:
4. Restart the inetd server. Type the following command:
Complete the following steps on the DHCP server to configure the neopxe boot 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 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. Depending on your OS version, type the following command:
# cd /tmp/sles10-pxefiles/neopxe-0.2.0
3. Type the following commands:
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. Type the following commands:
6. Depending on your OS version, type the following command:
# cp /tmp/sles10-pxefiles/pxelinux.0 /home/pxeboot
7. Configure the PXE Linux image. Type 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:
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. |
9. Start the neopxe daemon. Type the following command:
Complete the following steps on the DHCP server to configure the NFS service.
1. Determine whether the NFS service package is already installed on the server. Type the following command:
2. If the NFS service package is not listed, install the package using YaST. Type 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. Type the following command:
5. Configure the server to always start the NFS service. Type 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. Type the following command:
PXE is a powerful and convenient solution for setting up a number of Sun Blade X6440 server modules so that their configurations are identical.
The network interface card (NIC) in your Sun Blade X6440 server module supports the PXE network booting protocol. The system BIOS and network interface BIOS on your server module automatically query the network for a DHCP server.
Before you can perform PXE installations on your network, you need to complete the following tasks.
Preconfiguring the Network to Support PXE Installation of SLES 10 |
|
Configuring a SLES 10 PXE Installation Image on the PXE Server |
|
Configure your server to boot from or to install from a SLES 10 image on a PXE server. |
The PXE installation procedure requires the following items:
This procedure describes how to configure a PXE install image on the DHCP server so that it can act as your PXE server. The PXE server provides the OS files to your PXE client.
Perform the following procedures to create an SLES 10 image on the PXE server:
The following procedure describes how to create and set up the directory that will contain the SLES 10 files for PXE installation and how to copy the SLES 10 OS to the directory.
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. Type 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. Type the following command:
# cp -r /mnt/cdrom/* /home/pxeboot/sles10/CD1/
3. Remove SLES 10 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/
Perform the following procedure to create links to the PXE files.
1. Copy the autoinst.xml file from the /tmp/sles10/ directory to the root of the PXE image. Type 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 - Type 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 your PXE server.
This procedure describes how to configure your Sun Blade X6440 server module to initiate the request to download the boot image file from the PXE/DHCP server and how to install the SLES 10 boot image onto your Sun Blade X6440 server module.
Before continuing with this procedure you must have done the following:
1. Connect the PXE client to the same network as the PXE server.
The PXE client is the target Sun Blade X6440 server module to which you are installing the SLES 10 OS.
2. Power on the PXE client and press F12 to select network boot.
3. When you are prompted at the boot: prompt, type in the label you gave the SLES 10 image when you installed it 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 (see Updating the SLES 10 Operating System).
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 the SLES Operating System |
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 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.
Note - You will need your Novell Customer Center user name and password, as well as a SLES product activation code. |
a. Select the Software tab on the left.
b. Select Novell Customer Center Configuration and follow the directions.
5. Once registered, select the Online Update tab to perform the software update.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.