C H A P T E R  2

Solaris Operating System Installation

This chapter includes information on installing the Solaris 10 OS and system-specific drivers onto your server.



Note - If you have created a new diagnostic partition, you also need to run this script to mount the diagnostic partition. (See the Sun Fire X2100 M2 Server Service Manual, 819-6591, for information about how to create a diagnostic partition.)



The driver installation script is available on the Sun Fire X2100 M2 Server Tools and Drivers CD included with your Sun Fire X2100 M2 server. You can also download the Tools and Drivers CD .iso image from the downloads link at:

http://www.sun.com/servers/entry/x2100/downloads.jsp

This chapter includes the following topics:


Installing the Operating System

This document does not provide comprehensive instructions for installing the Solaris 10 operating system, but this section provides guidelines for the tasks involved in the OS installation and the installation methods available.

This section contains the following topics:

Operating System Installation Overview

The following procedures are for installing drivers if you are performing a fresh installation of the Solaris 10 operating system. You do not need to reinstall the drivers if you are using the preinstalled version of the operating system.

See TABLE 2-1 for the task map for operating system installation.


TABLE 2-1 Task Map for Initial Solaris OS Installation

Task

Description

Instructions

Set up your server.

Install your server hardware and configure the service processor.

Sun Fire X2100 M2 Server Installation Guide (819-6589)

Prepare your system for operating system installation.

If necessary, erase the primary boot disk, set up the BIOS, and set up the LSI RAID configuration if the LSI RAID card is installed.

Chapter 1 and Configuring Your System for RAID

Review the Sun Fire X2100 M2 Server Product Notes.

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

Sun Fire X2100 M2 Server Product Notes (819-6601)

Install the Solaris OS.

Choose an installation method and locate the installation instructions.

Operating System Installation Methods

Install the system specific drivers from the Tools and Drivers CD.

Install the system-specific drivers needed to run the Solaris 10 operating system on the Sun Fire X2100 M2 server.

Installing System-Specific Drivers

Install patches, if necessary.

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

Sun Fire X2100 M2 Server Product Notes (819-6601)


Configuring Your System for RAID

If you don't have the LSI Logic SAS3041E-R card installed in your system, and you don't plan to install it, you can skip this section.



Note - The Sun Fire X2100 M2 Server supported versions of Solaris all have the LSI boot driver included in the operating system software. The operating system will automatically recognize the LSI boot drivers.



To configure RAID for the Solaris Operating System if you have the LSI Logic SAS3041E-R card installed, follow the procedure below:

1. Install the optional LSI Logic SAS3041E-R card (Sun part number
SG-PCIE4SAS-Z).

See the Sun Fire X2100 M2 Server Service Manual for instructions on installing and cabling the card.

2. Power on the server.

3. During the boot process, press Ctrl-C to enter the LSI utility when the LSI SAS card is recognized.

4. Create your RAID.

See the LSI Integrated RAID User's Guide at

http://www.lsilogic.com/files/docs/techdocs/storage_stand_prod/ PCISCSICont/Software/ir_ug.pdf

5. Save your work and exit the utility.

6. Install the Solaris Operating System.

See Operating System Installation Methods.

7. Download the LSI utilities for managing RAID from the following site:

http://lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/lsisas3041er/index.html

Operating System Installation Methods

See the following list of installation methods to determine the type of installation that you want to do and the information source for the installation. See Choosing an Operating System Installation Method for a description of each method. If you wish to use the preinstalled Solaris 10 Operating System,
see the instructions for configuring the preinstalled image in the Sun Fire X2100 M2 Server Installation Guide.

The following methods can be used:



Note - The Solaris OS provides additional programs for installation, such as booting over a wide area network (WAN), but the Sun Fire X2100 M2 server supports only those methods listed in this document



Additional Solaris 10 documentation is available at http://docs.sun.com/

Direct Installation Using DVD or CD-ROM Media

To install Solaris 10 06/06 (or earlier version) from DVD/CD-ROM media, you will need to do one of the following to view system output and interact with the installation process:

Refer to the Embedded Lights Out Manager Administration Guide for more information.

For a serial port console installation, do the following:

a. Connect a terminal to the serial port on the service processor.

A terminal can be a VT100, a PC running terminal emulation, or a terminal server. Set the terminal to receive at 9600 baud.

b. Do one of the following:

i. Log in to the service processor as an Administrator.

ii. Type the following commands to set the ConsoleMux value.


cd /SP/AgentInfo
set ConsoleMux=system

For basic instructions on how to install Solaris 10 06/06 refer to:

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

Network Installation Using Jumpstart

For basic instructions on setup and configuration for network installations go to:

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

Apply a Patch for Solaris Jumpstart Installation

If you choose to use NVIDIA NICs (LAN-2 and LAN-3) for performing a Solaris Jumpstart installation, you will need to apply a patch. If you are using Broadcom NICs for the Jumpstart Installation, go to Serial Console or Local Console or Remote KVM.

The patch number is 122530-02 and you can download it from:

http://sunsolve.sun.com



Note - This procedure is not needed unless you want to use the NVIDIA NICs to perform a Solaris Jumpstart installation.



The system that you use as an installation server must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system 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 system by following your site's policies.

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

2. Insert the Solaris 10 1/06 (or later version) media in the system's drive.

3. Create a directory for the CD image.


# mkdir -p install_dir_path

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

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


# cd /cdrom/cdrom0/Solaris_10/Tools

5. Copy the image in the drive to the install server's hard disk.


# ./setup_install_server install_dir_path

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



Note - The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.



6. Change directories to root (/).


# cd /

7. Eject the Solaris 10 media.

8. Patch the files that are located in the miniroot on the net install image that was created by setup_install_server.



caution icon

Caution - Read the patchadd -Ccommand README or contact your local Sun support office before running the patchadd -Ccommand as instructed in this procedure.



To patch a Solaris 10 1/06 for x86 miniroot, your system must be running the Solaris 10 1/06 (or later) for x86 release.

a. If the installation server is not running the Solaris 10 1/06 for x86 release, log in as superuser to another system on the network that is running the Solaris 10 1/06 for x86 release.

i. Change to the Tools directory of the installation image that you created in Step 5.


# cd install_server_path/install_dir_path/Solaris_10/Tools

install_server_path specifies the path to the install server system on your network, for example, /net/installserver-1.

install_dir_path specifies the directory where the CD image was copied.

ii. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


# ./setup_install_server remote_install_dir_path

remote_install_dir_path specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

This command creates a temporary installation image on the Solaris 10 1/06 for x86 system to enable you to patch this image.

b. Unpack the network installation boot archive.


# /boot/solaris/bin/root_archive unpackmedia \
install_dir_path destination_dir

install_dir_path specifies the path to the x86 network installation image. If you created a new installation image in Step a, specify the path to the new image on the Solaris 10 1/06 x86 system.

destination_dir specifies the path to the directory to contain the unpacked boot archive.

c. Patch the unpacked boot archive.


# patchadd -C destination_dir path_to_patch/122530-02

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

path_to_patch specifies the path to the patch that you want to add, for example, /var/sadm/spool.

122530-02 is the patch ID that you want to apply.

You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).



caution icon

Caution - Do not use the patchadd -Ccommand unless you have read the Patch README instructions or have contacted your local Sun support office.



d. Pack the x86 boot archive.


# /boot/solaris/bin/root_archive packmedia \
install_dir_path destination_dir

install_dir_path specifies the path to the x86 network installation image.

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

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

If you patched the miniroot on a remote Solaris 10 1/06 for x86 system, you must copy the patched miniroot to the install server.


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

install_server_path specifies the path to the install server system on your network.

install_dir_path specifies the path to the x86 network installation image.

9. Proceed with the instructions in Serial Console or Local Console or Remote KVM.

Serial Console

Please note the following before performing this procedure:

The system that you use as an installation server must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system 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 system by following your site's policies.

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

2. Insert the Solaris 10 1/06 (or later version) media in the system's drive.

3. Create a directory for the CD image.


# mkdir -p install_dir_path

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

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


# cd /cdrom/cdrom0/Solaris_10/Tools

5. Copy the image in the drive to the install server's hard disk.


# ./setup_install_server install_dir_path

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



Note - The setup_install_server command indicates whether you have enough disk space available for the Solaris 10 Software disc images. To determine available disk space, use the df -kl command.



6. Change directories to root (/).


# cd /

7. Eject the Solaris 10 media.

8. Edit the files that are located in the miniroot on the net install image that was created by setup_install_server.

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

a. If the installation server is not running the Solaris 10 1/06 for x86 release, log in as superuser to another system on the network that is running the Solaris 10 1/06 for x86 release.

i. Change to the Tools directory of the installation image that you created in Step 5.


# cd install_server_path/install_dir_path/Solaris_10/Tools

install_server_path specifies the path to the install server system on your network, for example, /net/installserver-1.

install_dir_path specifies the directory where the CD image was copied.

ii. Create a new installation image, and place that image on the system that is running the Solaris 10 1/06 for x86 release.


# ./setup_install_server remote_install_dir_path

remote_install_dir_path specifies the path on the Solaris 10 1/06 for x86 system in which to create the new installation image.

This command creates a temporary installation image on the Solaris 10 1/06 for x86 system to enable you to patch this image.

b. Unpack the network installation boot archive.


# /boot/solaris/bin/root_archive unpackmedia \
install_dir_path destination_dir

install_dir_path specifies the path to the x86 network installation image. If you created a new installation image in Step a, specify the path to the new image on the Solaris 10 1/06 x86 system.

destination_dir specifies the path to the directory to contain the unpacked boot archive.

c. Modify the System files to enable serial console redirection.

Make edits to the following files:

destination_dir specifies the path to the directory to contain the unpacked boot archive.

d. Pack the x86 boot archive.


# /boot/solaris/bin/root_archive packmedia \
install_dir_path destination_dir

install_dir_path specifies the path to the x86 network installation image.

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

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

If you patched the miniroot on a remote Solaris 10 1/06 for x86 system, you must copy the patched miniroot to the install server.


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

install_server_path specifies the path to the install server system on your network.

install_dir_path specifies the path to the x86 network installation image.

9. Run the following command


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

The output of the installation will push to the serial port.

10. Install the Solaris 10 operating system.

Local Console or Remote KVM

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

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

Remote KVMS over IP with Virtual CD-ROM

This method includes using a remote networked system to install the operating system onto the Sun Fire X2100 M2 server. The CD or DVD drive of the remote system (virtual cdrom) is used to access the operating system media, and all output of the Sun Fire X2100 M2 server is displayed on the remote system (remote console).

Specific details on the using keyboard, mouse, video, storage (KVMS) over IP in the Embedded Lights Out Manager (LOM) can be found in the Embedded Lights Out Manager Administration Guide.



Note - This procedure assumes that you are familiar with the Embedded LOM WebGUI administration. More information can be found in the Embedded Lights Out Manager Administration Guide.



Requirements for Remote KMVS Over IP installation include:

1. On a remote system, open a browser and type the IP address of the Embedded LOM service processor for the Sun Fire X2100 M2 server on which you want to install the operating system.

2. Type your user name and password at the login screen.

3. In the main Embedded LOM window, click Launch to open a remote console window.

4. Insert the Operating System CD/DVD to be installed on the Sun Fire X2100 M2 server into the local CD/DVD drive.

5. In the remote console window, select Storage -> Mount devices.

The Device Configuration windows appears.

6. In the Storage 1 Source field, from the drop down arrow menu, select the CD/DVD drive to be used for installing the operating system.

7. Click Submit.

8. Configure the BIOS to boot from the remote (virtual) CD or DVD.

a. Go to the Embedded LOM main page, and select Control -> Power Control ->
Reset.

The Sun Fire X210 M2 system will be restarted and you can view the POST process from the Remote Console screen.

b. As the system is restarting, go back to the Remote Console screen and press F2 when the Sun Microsystems splash screen appears.

The BIOS setup utility displays.

c. Select Boot -> Boot Device priority and change the first boot driver to Virtual CD/DVD.



Note - Make sure that the hard disk is still listed in the boot order.



d. Press F10 to save your changes and exit the BIOS.

When the server is rebooted, it will boot from the virtual CD-ROM. The instructions for installing the operating system will be the exactly same as the instructions for using a local CD/DVD drive and monitor.



Note - After the OS is installed, remember to change back to the local CD-ROM in the BIOS if you want to use a CD or DVD device installed or connected to your system.




Installing System-Specific Drivers

The following methods can be used to install system-specific drivers onto your Solaris 10 Sun Fire X2100 M2 server:

Installing the Drivers Using a KVMS Over IP

This method is for installing the drivers on a system without a DVD/CD or monitor attached.

See Remote KVMS Over IP With Virtual CD-ROM or the Embedded Lights Out Manager Administration Guide, 819-6588, for specific details.

Installing Drivers Directly Onto the Sun Fire X2100 M2 Server

If your server has an onboard DVD drive or attached CD drive, you can install the drivers directly, using the Sun Fire X2100 M2 Server Tools and Drivers CD.

To install the drivers and mount the diagnostic partition directly onto the Sun Fire X2100 M2 server running the Solaris 10 Operating System:

1. Log in to the Sun Fire X2100 M2 server as root (superuser).

2. Insert the Sun Fire X2100 M2 Server Tools and Drivers CD into the DVD drive.

The CD is automounted by the Solaris 10 Operating System.

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


# cd /cdrom/cdrom0/drivers/sx86

4. Run the install script by typing the following command:


# sh install.sh

The networking and sound drivers are now installed.

The script prompts you to reboot the system 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 on your system, enter the networking information for your server.