C H A P T E R 3 |
Installing SUSE Linux Enterprise Server 10 |
This chapter contains information about manually installing SUSE Linux Enterprise Server (SLES) 10 operating system (OS) on a Sun Blade X6240 server.
This chapter contains the following sections:
The most common methods for installing SLES 10 on your server are:
This section describes how to install the SLES 10 OS.
Note - The minimum supported SLES version is SLES 10 Service Pack 2 (SP2). |
Before you install SLES 10 on your server, refer to the SLES 10 documentation.
This file contains late-breaking information about system requirements and system configuration for your version of SLES 10. |
||
On the first SLES 10 installation CD under the docu directory |
||
This short manual provides a quick introduction to the installation. |
On the first installation CD under the docu directory under the appropriate language directory as the file startup.pdf. |
|
SUSE Linux Enterprise Server 10 Installation and Administration Guide |
This manual provides detailed information about planning, deployment, configuration and administration of SLES 10. |
On the first installation CD under the docu directory under the appropriate language directory as the file sles-admin.pdf. |
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/. |
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 the SLES 10 SP2 OS from local or remote CD/DVD drive. |
Preparing to Install the SLES 10 Operating System or Installing SLES 10 Operating System Using the Remote Console Application |
Install the SLES 10 SP2 OS using one of the following methods: |
|
Preparing to Install the SLES 10 Operating System or Installing SLES 10 Operating System Using the Remote Console Application |
|
SUSE Linux Enterprise Server 10 Installation and Administration Guide |
|
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. 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.
1. Connect the USB CD/DVD drive to the USB port of the dongle.
3. Press F8 and select CDROM when prompted.
4. Insert SLES 10 CD #1 into your local CD/DVD drive.
5. Follow the installation instructions provided in the SUSE Linux Enterprise Server 10 Installation and Administration Guide to complete the installation of the system OS.
This section describes how to install the SLES 10 OS on your Sun Blade X6240 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 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 for more information (820-1188).
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 in two ways:
10. Power on the server using the ILOM web interface.
11. When the SLES 10 OS installation menu appears, use the arrow keys to select Installation and press Enter.
12. Proceed with the SLES 10 OS installation as usual.
These procedures describe how to preconfigure your network running the 10 OS to support Preboot Execution Environment (PXE) installation of the SLES OS on your Sun Blade X6240 server. 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 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. 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/sles9-pxefiles or /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 routers 1.2.3.1; 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 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:
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 your DHCP server to install the portmap server package.
1. Determine whether the portmap server package is already installed on the DHCP 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 your DHCP server to configure the TFTP service.
1. Determine whether the TFTP server package is already installed on the DHCP 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 ton the DHCP server to configure the neopxe boot server daemon. 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 on the DHCP server. Depending on your OS version, type the following command:
# cd /tmp/sles9-pxefiles/neopxe-0.2.0
# 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/sles9-pxefiles/pxelinux.0 /home/pxeboot
# 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/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.
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 your 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 X6240 server module so that their configurations are identical.
The network interface card (NIC) in your Sun Blade X6240 server module supports the PXE network booting protocol. The system BIOS and network interface BIOS on the server module automatically query the network for a DHCP server.
Before you can perform PXE installations over the network, you need to complete the following tasks.
Preconfiguring the Network to Support PXE Installation of SLES 10 |
|
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 also 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.
To Set Up and Copy the SLES 10 Operating System to a 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 image. 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 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/
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 X6240 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 the Sun Blade X6240 server module.
Before performing with this procedure, you must complete the following tasks:
1. Connect the PXE client to the same network as the PXE server.
The PXE client is the target Sun Blade X6240 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 image when you installed it 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 SLES OS. 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. Type 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. Type 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.
Note - You will need your Novell Customer Center user name and password, as well as an SLES 10 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.
The SLES drivers need to be updated. Perform this procedure after you have installed and updated the SLES 10 OS.
To Update the SLES Drivers |
1. Insert the Tools and Drivers CD for Sun Blade X6240 and mount it onto the directory /mnt it by typing the following command:
2. To install the igb and nvsata drivers, type:
# cdrom/drivers/linux/suse/install.sh
3. If the server module has a REM that uses LSI drivers and you are using SLES 10, do the following:
a. Type: # cd /mnt/drivers/linux/RAID/LSI/drivers/RHEL5-SLES10
b. Unzip the file linuxmpt_RH5_SLES10_4002100-1.zip
c. Type: # rpm -ivh nvsata-rhel5u1-3.4-1.24.x86_64.rpm
4. If the server module has a REM that uses StorageTek drivers, do the following:
a. Type: # cd /mnt/drivers/linux/RAID/StorageTek/drivers/
b. Unzip the file linux_aac_1152455.zip
c. Type: # rpm -ivh aacraid-1.1.5-2455.rpm
The installation of the drivers is now complete.
5. Reboot the server module for the changes to take effect. Type:
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.