Page 1
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems Part No: 821–1367 September 2011, -12...
Page 2
If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Accessing the Console During Installation ................13 How to Configure the Serial Port ....................14 How to Erase Your Boot Hard Disk ................... 15 Installing Oracle Enterprise Linux ....................17 Installing OEL from Distribution Media .................. 17 Updating OEL ..........................19 Installing SUSE Linux Enterprise Server ..................
Page 4
SUSE Linux – How to Identify Logical and Physical Network Interface Names While Installing the OS ........................... 57 RHEL – How to Identify Logical and Physical Network Interface Names While Installing the OS ............................59 Index ..............................61 Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
“Download Server System Tools and Drivers” on page 7 ■ “Documents History” on page 8 ■ Related Books The following is a list of documents related to Oracle's Sun Fire X2270 M2 server. These and additional support documents are available on the library page http://www.oracle.com/pls/topic/lookup?ctx=sfx2270m2&id=homepage. Document Group...
Page 6
How to use ILOM through the web (ILOM) 3.0 Web Interface Procedures interface. Guide Oracle Integrated Lights Out Manager How to use ILOM through commands. (ILOM) 3.0 CLI Procedures Guide Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
In the Search screen, click Product or Family (Advanced Search). The screen appears with search fields. In the Product field, select the product from the drop-down list. Alternatively, type a full or partial product name (for example, Sun Fire X2270 M2) until a match appears.
Oracle Solaris Operating System Installation Guide revised for document errata. Service Manual revised for document errata. September 2011, Product Notes and OS Installation Guides updated for SW v1.3.0 release. ■ Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Introduction to Linux Installation This document provides instructions for installing Oracle Enterprise Linux, Red Hat Linux, and SUSE Linux on your server. Use the following task map as a guide when installing a supported version of Linux. Task Description Link...
The SIA is available as an option with most new x86 Sun servers. In addition, an ISO CD image of SIA is available for download from Sun. For a complete list of supported Sun server platforms, refer to the SIA information page at: Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 11
Obtaining SIA http://www.oracle.com/goto/hia See the Sun Installation Assistant 2.3 through 2.4 User’s Guide for x64 Servers for more information about SIA.
Virtually, by configuring an SSH connection to the SP, then by issuing the start ■ /SP/console command. See “Communicating With the ILOM and the System Console” in Sun Fire X2270 M2 Server Installation Guide for more details. Video port – After the SP startup is complete, the system begins POST/BIOS, and displays ■...
Use the Down arrow to highlight the External Serial Port option. e. Use the - and + key to change the External Serial Port setting from SP to System. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Accessing the Console During Installation f. To save the change and exit BIOS, press the F10 key. If the OS includes GRUB, it might be necessary to configure it as well. a. When the GRUB menu appears, press e to edit it. b.
Installing Oracle Enterprise Linux Your server is compatible for use with Oracle Enterprise Linux (OEL) 5.4 64–bit. This section provides the following topics: “Installing OEL from Distribution Media” on page 17 ■ “Updating OEL” on page 19 ■ You can also install OEL using a PXE installation, as described in “Configuring a Linux...
Page 18
Configure the server and boot it from the distribution media, as described in “Booting From OS Distribution Media”on page The server boots from the distribution media. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
For graphical mode, press Enter at the boot prompt. ■ Refer to the Oracle Enterprise Linux 5 installation article on the web at: http://www.oracle-base.com/ articles/linux/OracleEnterpriseLinux5Installation.php If you already have an operating system besides Linux installed (for example, the Solaris Note –...
Page 20
Before You Begin components. The Sun Fire X2270 M2 Server Tools & Drivers CD is provided in the Documentation and Media Kit, which is an option you can order. If necessary, you can also download an ISO image of the Tools & Drivers CD at: http://wikis.sun.com/display/SystemsComm/Sun+Fire+X2270+M2+Server...
Installing SUSE Linux Enterprise Server This topic provides information about installing the following operating systems: SUSE Linux Enterprise Server 10 SP3 (or subsequent release) for x86 (64-bit) ■ SUSE Linux Enterprise Server 11 (or subsequent release) for x86 (64-bit) ■ Sun highly recommends that you use the Sun Installation Assistant (SIA) to install the Note –...
On the local server, press the Power button (approximately 1 second) on the front panel of ■ the server to power off the server, then press the Power button again to power on the server. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 23
Installing SLES10 Using Local or Remote Media From the ILOM CLI on the server SP, type reset /SYS. ■ The BIOS screen appears. The following events occur very quickly. Watch carefully for the messages, which Note – appear on the screen for only a brief time. With the BIOS power-on self-test screen displayed, press F8 to specify a temporary boot device for the SLES installation.
Page 24
For ISO images, ensure that the ISO images are available and that the boot disc image (CD ■ labeled number 1 or DVD) has been selected in the ILOM Remote Console application (Device menu —> CD-ROM Image). Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 25
Installing SLES10 Using Local or Remote Media For additional information about how to set up the installation media, see “Installing SLES10 or SLES11 From Distribution Media” on page Reset the power on the server. For example: From the ILOM web interface, select Remote Control —> Remote Power Control, then ■...
Page 26
After completing the basic installation setup, refer to the YaST documentation to perform the following tasks: a. Create a password for your account. b. Configure and test the Internet access and network settings. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Configure the network (NFS, FTP, HTTP) server to export the installation tree. ■ Configure the files on the TFTP server necessary for PXE booting. ■ Configure the Sun Fire X2270 M2 MAC network port address to boot from the PXE ■ configuration. Configure Dynamic Host Configuration Protocol (DHCP).
Page 28
If the YaST Installation Mode screen appears, select New Installation, and then click OK to continue. The system’s hardware is detected. The YaST Installation Settings screen appears. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Post SLES Installation Tasks In the YaST Installation Settings screen, do the following: a. Click the Partitioning option. b. Select Create Custom Partition, and then click OK. c. Partition the disk as appropriate. Refer to the YaST Partitioning instructions for more information. If the Solaris OS is preinstalled on the disk, you can choose to partition the disk to Note –...
Select the Software tab on the left. b. Select Novell Customer Center Configuration and follow the directions. Once registered, select the Online Update tab to perform the software update. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Obtain the required device drivers from the Tools & Drivers CD or ISO image. ■ The Sun Fire X2270 M2 Server Tools & Drivers CD is provided in the Documentation and Media Kit, which is an option you can order. If necessary, you can also download an ISO image of the tools and drivers CD from the downloads page: http://wikis.sun.com/display/SystemsComm/Sun+Fire+X2270+M2+Server...
# sh install.sh The system device drivers are now installed. The script prompts you to reboot the system for changes to take effect. Reboot the server. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Installing Red Hat Enterprise Linux Your server supports Red Hat Enterprise Linux (RHEL) 5.4. The related topics include: “Overview of Red Hat Enterprise Linux Installation” on page 33 ■ “Installing RHEL From Distribution Media” on page 34 ■ “Updating RHEL” on page 36 ■...
“How to Install RHEL From Distribution Media” on page 35 Update the Red Hat Enterprise Linux software “How to Update the Red Hat Enterprise Linux Software” on page 36 Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 35
Installing RHEL From Distribution Media Before using either installation method on your server, you must obtain the following items: DVD-ROM drive ■ If you are installing remotely, the DVD-ROM drive, keyboard, mouse, and monitor are connected to the local system instead of the server. ISO image ■...
Answer the questions and make your choices before the packages are downloaded and installed. You should periodically update your system using yum. For more information, refer to the man page. Type: # man yum Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Booting From OS Distribution Media This topic describes how to boot locally from the OS distribution media (CD or DVD), and how to boot remotely from the OS distribution media or an equivalent ISO file. It contains the following topics. “How to Boot From OS Media Locally”...
Press F12 to boot from the network (CTRL+N on Remote Keyboard) Select a boot device from the list. To boot from a physical CD/DVD or from an ISO image, select CD/DVD. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 39
Booting From OS Distribution Media Control passes to the OS installation program on the media. Follow the steps in your vendors OS installation guide. See your ILOM documentation collection for additional details. See Also http://docs.sun.com/app/docs/prod/sf.x2270m2?l=en&a=view...
Configuring a Linux Server to Support PXE Installation This topic describes how to configure a Preboot Execution Environment (PXE) server on a Linux system and use it to install Linux on your servers. PXE is a powerful and convenient solution for setting up a number of servers so their configuration is identical.
This example uses Red Hat Enterprise Linux 4. Replace rhel4 with the file name that Note – corresponds to your version and update. Turn on the server and log in as superuser. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 43
Overview of PXE Servers Determine whether the DHCP server package is already installed on the server. # rpm -qa | grep dhcp- If the DHCP server package is not listed, install the DHCP server. a. Mount the CD/DVD drive. Type the command: # mount /dev/cdrom /mnt/cdrom b.
Mount the CD/DVD drive. # mount /dev/cdrom /mnt/cdrom b. Install the portmap server. For RHEL 4.8, insert the DVD or CD2 and type: ■ # rpm -Uvh /mnt/cdrom/RedHat/RPMS/portmap-* Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Overview of PXE Servers For RHEL 5.3, insert the DVD or CD1 and type: ■ # rpm -Uvh /mnt/cdrom/Server/portmap-* For SLES10 SP2, insert DVD1 or CD1 and type: ■ # rpm -Uvh /mnt/cdrom/suse/x86_64/portmap* For SLES11, insert DVD1 and type: ■ # rpm -Uvh /mnt/cdrom/suse/x86_64/portmap* c.
# echo "/usr/local/sbin/neopxe" >> /etc/rc.d/rc.local Copy the PXE Linux image from the /tmp/ directory. # mkdir /home/pxeboot # cp /tmp/name-pxefiles/pxelinux.0 /home/pxeboot Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Overview of PXE Servers Configure the PXE Linux image. # mkdir /home/pxeboot/pxelinux.cfg/ # touch /home/pxeboot/pxelinux.cfg/default Edit the /usr/local/etc/neopxe.conf configuration file, which is read by neopxe at startup. If the neopxe.conf file is not in the /usr/local/etc directory, you can copy it from the /tmp/name-pxefiles/neopxe-0.2.0/ directory.
Page 48
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” on page 49 Next Steps Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Disabling the Firewall Disabling the Firewall This topic describes how to disable the firewall so that PXE clients can download from the server. It includes separate procedures for SUSE Linux and Red Hat Enterprise Linux. “How to Disable the Firewall for SUSE Linux” on page 49 ■...
For example, to make the OEL 5.4 installation process fully automatic, add the following line to the end of the kickstart configuration file: key --skip Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Disabling the Firewall On your PXE server, edit and save the kickstart file: /home/pxeboot/oel5/ks.cfg. Edit the nfs line is as follows: nfs --server n.n.n.n --dir /home/pxeboot/oel5/ where n.n.n.n is the IP address of your PXE server. Ensure that the location indicated after --dir is pointing to the top level of your image.
Page 52
IP address of your PXE server. Ensure that the location indicated after --dir is pointing to the top level of your image. Add the following entry to the file /home/pxeboot/pxelinux.cfg/default: Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Creating a PXE Image for SUSE Linux Type the text block from append through ks.cfg as one continuous string with no Note – returns. default rhel4 label rhel4kernel rhel4/vmlinuz append ksdevice=eth0 console=tty0 load_ramdisk=1 initrd=rhel4/initrd.img network ks=nfs:n.n.n.n:/home/pxeboot/rhel4/ks.cfg where n.n.n.n is the IP address of your PXE server. For console-based installations, add console=ttyS0,9600 to the append line.
Page 54
Note – 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 “How to Install Linux From a PXE Server” on page 55 Next Steps Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
“Overview of Red Hat Enterprise Linux Installation”on page ■ For SUSE Linux, perform an Online Software Update to update the operating system files. ■ “How to Update the SLES Operating System”on page For Oracle Enterprise Linux, see “Updating OEL”on page ■...
Identifying Logical and Physical Network Interface Names for Linux OS Configuration While configuring an operating system for a networked server, you must provide the logical names (assigned by the OS) and the physical name (MAC address) of each network interface. This topic explains how to obtain the needed logical information in these situations.
Page 58
From the ILOM web interface, select Remote Control —> Remote Power Control —> Reset. ■ From other consoles, type reboot at the Rescue prompt (#), then press Enter. ■ Restart the Linux SUSE installation program. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Identifying Logical and Physical Network Interface Names for Linux OS Configuration ▼ RHEL – How to Identify Logical and Physical Network Interface Names While Installing the OS When you are configuring the RHEL Linux OS while installing it, you reach a point where you must enter the logical and physical names (MAC addresses) of the network interfaces.
Page 60
From the ILOM Remote Console, select Ctrl Alt Delete in the Keyboard menu. ■ From other consoles, press Ctrl —> Alt —> Delete. ■ Restart the Linux Red Hat installation program. Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Index drivers, updating Oracle Enterprise Linux, 20 AutoYaST image, 27 firewall disabling, 49 firmware upgrades using SIA, 10 BIOS and firmware upgrade using SIA, 10 boot OS, 37–39 remotely, 38–39 installing Oracle Enterprise Linux, 17–20 configuring PXE server, 41–55 Red Hat Enterprise Linux, 33–36 SUSE Linux Enterprise Server, 21–32...
Page 62
PXE server, 55 local or remote media installation, 22–24 logical and physical interface names RAID arrays, Red Hat Linux installation, 33 identifying, 57–58 Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -12...
Page 63
TFTP service, 45–46 configuring the DHCP server, 42–44 disabling the firewall, 49 installing portmap, 44–45 system device drivers, 31 system device drivers, SUSE Linux Enterprise Server, 31–32 TFTP service configuration, 45–46 updating Oracle Enterprise Linux, 19 Red Hat Enterprise Linux, 36...
Need help?
Do you have a question about the Sun Fire X2270 M2 and is the answer not in the manual?
Questions and answers