C H A P T E R  3

Solaris 10 Operating System Installation

This chapter provides instructions for installing the Solaris 10 OS and server-specific drivers on your Sun Fire X4150, X4250, and X4450 servers server.

This chapter includes the following sections:



Note - Before you begin to install the OS you must have already configured the BIOS for your controller card (see Configuring RAID).



Installing the Solaris 10 OS

This section provides guidelines for the installation of the Solaris 10 OS. It contains the following:

Solaris 10 OS Installation Overview

The procedures in this chapter cover the installation of the Solaris OS and supported drivers for a new installation. See TABLE 3-1 for the Solaris OS installation task map.


TABLE 3-1 Task Map for Initial Solaris OS Installation

Task

Description

Instructions

Set up your server.

Install your server hardware and configure the service processor.

See your server’s installation guide

Prepare your server for OS installation.

Set the display environment.If necessary, erase the primary boot disk.

Chapter 1 Operating System Installation Overview and Preparation

Set up your system for a RAID or non-RAID configuration based on the SAS controller card.

Your server supports two SAS controller cards. RAID set up is different for each card.

Chapter 2: Configuring RAID

Review the your server’s product notes.

The product notes contain late-breaking news about the Solaris OS software and patches.

See your server’s product notes

Install the Solaris OS.

Choose an installation method and locate the installation instructions.

Solaris 10 OS Installation Methods

Install the server-specific drivers from the Tools and Drivers CD.

Install the server-specific drivers needed to run the Solaris 10 OS on the your server.

Installing Server-Specific Drivers

Install patches, if necessary.

Patches are available from the SunSolve Patch Portal at: http://www.sunsolve.sun.com

See your server’s product notes


Firmware Versions and Their Impact on Installation

The way ttya and ttyb are handled in some procedures depends on the level of firmware installed on the system. These instances are noted in the corresponding procedures.

Use TABLE 3-2 to identify whether your system has newer or older firmware:


TABLE 3-2 Release Levels for Newer and Older Firmware

System

Firmware

Systems with newer firmware

X4150

Tools and Drivers 1.3 and later, including DVD 2.0.

 

SP 4.0.08 or later

 

BIOS v022 or later

X4250

All X4250 systems have newer firmware

X4450

Tools and Drivers v1.1d or later

 

SP v4.18 or later

 

BIOS v3B17 or later

Systems with older firmware

X4150

Tools and Drivers CD v1.2 or earlier

 

SP v4.0.06 or earlier

 

BIOS v1ADQW020 or earlier

X4250

No X4250 systems have older firmware

X4450

Tools and drivers CD v1.1c or earlier.

 

SP v4.1.6 or earlier

 

BIOS v3B16 or earlier


Solaris 10 OS Installation Methods

This section describes the methods you can use to install the Solaris OS on a Sun Fire X4150, X4250, and X4450 servers server.

See TABLE 3-3 for installation methods.


TABLE 3-3 The Solaris 10 OS Installation Methods

Method

Description

Section/Procedure

Install from local or remote media.

Use the Solaris Installation Program on the CD or DVD media to install one server interactively.

Follow the instructions for x86 installation in Solaris 10 Installation Guide: Basic Installations at

http://docs.sun.com/app/docs/doc/817-0544

Install from the network by using PXE.

You need to use PXE to install the Solaris OS over the network from remote DVD or CD images or to automate the installation process and install several systems with a JumpStart installation.

To boot over the network by using PXE, you need to set up an install server and a DHCP server, and configure the BIOS on each server to boot from the network.

Follow the instructions for an x86 PXE installation, in Solaris 10 Installation Guide: Network-Based Installations at

http://docs.sun.com/app/docs/doc/817-5504

Boot from the preinstalled image.

Depending on your configuration, a Solaris OS image may be preinstalled on a hard drive.

See your server’s installation guide

Install from a serial console.

Use a serial console to install the Solaris OS in a PXE-based network installation.

Follow the instructions for an x86 PXE installation in Solaris 10 Installation Guide: Network-Based Installations at

http://docs.sun.com/app/docs/doc/817-5504

Perform a diskless boot.

Boot the Solaris OS on a server without a hard drive. Use this method with a PXE-based network installation.

Follow the instructions for an x86 PXE installation in Solaris 10 Installation Guide: Network-Based Installations at

http://docs.sun.com/app/docs/doc/817-5504


See Choosing an OS Installation Method for a description of each method.



Note - The Solaris OS provides additional programs for installation, such as booting over a wide area network (WAN). However, the Sun Fire X4150, X4250, and X4450 servers servers support only those methods listed in this document.


Using the Direct Installation with CD/DVD Media and a Monitor

This procedure is for an installation using CD/DVD media and a monitor connected to the server video port.


procedure icon  To Use the Direct Installation with CD/DVD Media and a Monitor

1. Insert the Solaris 10 OS CD/DVD media into the CD/DVD drive.

2. Power on the server.

The system boots from the Solaris 10 OS CD/DVD.

3. Follow the installation wizard to complete the installation.

Using Direct Installation with CD/DVD Media and the Serial Port

To use the direct installation method with the serial port, you need to connect a terminal (or terminal emulation device) to the server, start the service processor, then configure the service processor to display the console output.



Note - In a normal install, you cannot use the console until after the installation is complete. If a console is required, use the Jumpstart install described in Installing Using Jumpstart Network Installation.



procedure icon  To Use Direct Installation with the Serial Port



Note - The SP in your system might be an ILOM or an ELOM. The differences are noted in the procedure. See the corresponding ILOM or ELOM documentation for additional information.


1. Connect either a terminal or a laptop running terminal emulation software directly to the serial port.

For information about connecting to the ELOM or ILOM using a serial connection, see the ELOM or ILOM documentation.

Use the following terminal settings:

2. Logon to the service processor.

a. Press the Enter key.

The SP login prompt appears.

b. Log in to the SP CLI.

The SP CLI prompt appears.
->

3. Insert the physical Solaris CD/DVD media.

4. Boot the server from the service processor.

If the system is powered on, use:

-> reset /SYS

If the system is powered off, use:

-> start /SYS

Alternatively, you can use the power button on the front of the server.

The installation process begins.

5. Start the console from the service processor. Enter the following command:

-> start /SP/console (for ILOM)

-> start /SP/AgentInfo/Console (for ELOM)

The Solaris OS grub menu appears.



Note - By default, the BIOS is configured to boot from CD/DVD drive. If this setting has been changed, you must reconfigure the BIOS.


6. Select the correct tty port from the grub menu:

See Firmware Versions and Their Impact on Installation to check your firmware levels.

Solaris installation messages appear on the terminal screen.

Installing Using Jumpstart Network Installation

The system that you use as an installation server must have a CD/DVD drive, and it must be part of the site’s network and name service. If you use a name service, the server must already be in a name service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this server by following your site’s policies.



Note - For basic instructions on setup and configuration for network installations, go to http://docs.sun.com/app/docs/doc/817-5504.



procedure icon  To Install Using Jumpstart Network Installation

1. Set up the system for viewing output.

2. On the system that is to become the installation server, log in as root (superuser).

3. Insert the Solaris 10 media in the server's CD/DVD drive.

4. Open a terminal window.

Enter the commands in this procedure in the terminal window at the system prompt.

5. Create a directory for the CD image. Enter:

# mkdir -p install_dir_path

install_dir_path The directory where the CD image is to be copied.

6. Change to the Tools directory on the mounted disc. Enter:

# cd /cdrom/cdrom0/Solaris_10/Tools

7. Check to see if enough disk space is available for the Solaris 10 sofware disc images. Use the command:

# df -kl

8. Copy the image in the drive to the installation server's hard drive. Enter:

# cp ./setup_install_server install_dir_path

install_dir_path The directory where the CD image is to be copied.

9. Change directories to root (/). Enter:

# cd /

10. Eject the Solaris 10 media.

11. Proceed with the instructions in Installing Using the Serial Console or Installing Using a Local Console or Remote KVM.

Installing Using the Serial Console

Please note the following before performing this procedure:


procedure icon  To Install Using the Serial Console

1. On the system that is to become the installation server, log in as root (superuser).

2. Insert the Solaris 10 OS media in to the server CD/DVD drive.

3. Create a directory for the CD image. Enter:

# mkdir -p install_dir_path

install_dir_path The directory where the CD image is to be copied.

4. Change to the Tools directory on the mounted disc. Enter:

# cd /cdrom/cdrom0/Solaris_10/Tools

5. Check to see if enough disk space is available for the Solaris 10 sofware disc images. Use the command:

# df -kl

6. Copy the image in the drive to the installation server's hard disk. Enter:

# cp ./setup_install_server install_dir_path

install_dir_path The directory where the CD image is to be copied.

7. Change directories to root (/). Enter:

# cd /

8. Eject the Solaris 10 media.

9. Edit the files that are located in the miniroot on the network installation image that was created by setup_install_server.

To edit a Solaris 10 for x86 miniroot, your server must be running the Solaris 10 (or later) for x86 release.

a. Unpack the network installation boot archive. Enter:

# /boot/solaris/bin/root_archive unpackmedia \

install_dir_path destination_dir

install_dir_path The path to the x86 network installation image.

destination_dir The path to the directory that contains the unpacked boot archive.

b. Modify the server files to enable serial console redirection.



Note - Changing the tty value should only be necessary on systems with older firmware, as listed below. On systems with newer firmware, this step should be unnecessary, as the tty value should be set properly by default. .


If necessary, edit the following lines in the /destination_dir/boot/solaris/bootenv.rc file to read as follows:

setprop input-device ttyn
setprop output-device ttyn
setprop console ttyn
setprop ttyn-mode 9600,8,n,1,- 

where n is

See Firmware Versions and Their Impact on Installation to identify your system firmware levels.

c. Pack the x86 boot archive. Enter:

# /boot/solaris/bin/root_archive packmedia \

d. If necessary, copy the patched miniroot to the installation image on the install server.

If you patched the miniroot on a remote Solaris 10 x86 system, you must copy the patched miniroot to the install server by entering the following command:

# cp remote_install_dir_path/boot/x86.miniroot \ install_server_path/install_dir_path/boot/x86.miniroot

install_server_path The path to the install server system on your network.
install_dir_path The path to the x86 network installation image.

10. Depending on your server’s firmware version, run one of the following commands:

# add_install_client -B console=ttya, input-device=ttya,\ output device=ttya

# add_install_client -B console=ttyb, input-device=ttyb,\ output device=ttyb

See Firmware Versions and Their Impact on Installation to identify your system firmware levels.

The output of the installation appears on the serial port.

11. Install the Solaris 10 OS.

Installing Using a Local Console or Remote KVM

This installation method includes directing the server output to the local console or to a remote console (RVKM) when the local CD/DVD drive is used.


procedure icon  To Install Using a Local Console or Remote KVM

single-step bullet  See the instructions at http://docs.sun.com/app/docs/doc/817-5504.



Note - Before performing a remote installation, use the web GUI to disable the session timeout function.


Installing Using Remote KVMS Over IP With Virtual CD/DVD

This method includes using a remote networked server to install the OS onto your server. The CD/DVD drive of the remote system (virtual CDROM) is used to access the OS media, and all output of the server is displayed on the remote system (remote console).

Information about the using keyboard, mouse, video, storage (KVMS) over IP can be found in the ELOM or ILOM documentation.

Before You Begin

Requirements for Remote KVMS Over IP installation:


procedure icon  To Install Using Remote KVMS Over IP With Virtual CD/DVD

1. On a remote system, open a browser, and enter the IP address of the service processor of the server on which you want to install the OS.

The login screen appears.

2. Enter a user name and password that has administrator privileges.

The web GUI main screen appears.

3. Disable the session timeout.

a. To access the Session Time-Out screen, click the System Information tab, and then click the Session Time-Out submenu tab.

The Session Time-Out screen appears.

b. Click the Disable Timeout radio button, and then click Submit.

4. From the main menu, click the Remote Control tab and select Redirection.

The Redirection screen appears with a Launch Redirection button.

5. Click the Launch Redirection button to open a remote console window.

A screen appears with a Launch button. It also identifies your current host name, IP address, and user name.

6. Click Launch.

7. Insert the OS CD/DVD to be installed on the server into the local CD/DVD drive.

8. In the remote console window, select Storage, and then select Mount devices.

The Device Configuration window appears.



Note - If the local server has a CD/DVD drive, be sure that it does not contain bootable medium, or configure the server’s BIOS so that the virtual CD/DVD drive is higher on the boot list than the local CD/DVD drive.


9. In the Storage 1 Source field, from the drop-down list, select the CD/DVD drive that you are using to install the OS.

10. Click Submit.

11. The instructions for installing the OS are the same as the instructions for using a local CD/DVD drive and monitor. See Using Direct Installation with CD/DVD Media and the Serial Port.


Installing Server-Specific Drivers

You can use the methods described in the following sections to install server-specific drivers onto your server:

Using the Driver Installation Script

The driver installation script is available on the Sun Tools and Drivers CD, which is included with your server. You can download an ISO image of the Tools and Drivers CD ISO at:

http://www.sun.com/servers/x64/x4150/downloads.jsp

http://www.sun.com/servers/x64/x4250/downloads.jsp

http://www.sun.com/servers/x64/x4450/downloads.jsp



Note - The driver installation script also mounts a diagnostic partition. If a diagnostic partition is present, running the script creates and mounts it on diagpart.


Installing the Drivers Using KVMS Over IP

This method is for installing the drivers on a server without a CD/DVD drive or KVM attached.

See the instructions in Installing Using Remote KVMS Over IP With Virtual CD/DVD or the ELOM or ILOM documentation for details.

Installing Drivers Directly Onto the Server

If your server has an onboard CD/DVD drive or attached CD/DVD drive, you can install the drivers directly, using the Tools and Drivers CD.


procedure icon  To Install Driver Directly Onto the Server

1. Log in to the server as root (superuser).

2. Insert the Tools and Drivers CD into the CD/DVD drive.

The CD is automatically mounted by the Solaris 10 OS.

3. Change to the /cdrom/cdrom0/drivers/sx86 directory by entering the following command:

# cd /cdrom/cdrom0/drivers/sx86

4. Run the installation script by entering the following command:

# sh install.sh

The AST2000 VGA drivers are now installed.

The script prompts you to reboot the server for changes to take effect.

5. Reboot the server.

6. When Xserver choices are displayed, select the default Xorg.

7. When prompted for networking information about your server, enter the networking information for your server.

Installing the RAID Management Utility Software

If your server is equipped with a Sun StorageTek RAID controller card, perform the following procedure, To Install Driver Directly Onto the Server. LSI does not provide Solaris support for its RAID management software. If your server is equipped with an LSI SAS3081E-S controller card, you must manage RAID using the controller card’s BIOS.



Note - Perform this procedure only if you are using the StorageTek RAID controller card.



procedure icon  To Install the Sun StorageTek RAID Management Utility Software

1. Insert the Tools and Drivers CD into the CD/DVD drive.

2. Navigate to the RAIDmgt/SunStorageTEK/sx8 directory using the following command:

# cd /cdrom/cdrom0/RAIDmgt/SunStorageTEK/sx8

3. Enter the following command:

# pkgadd -d