Solaris 7 Sun Hardware Platform Guide

Chapter 7 Installing Solaris With the SPARCstorage Array

This chapter describes how to install Solaris 7 software either as a new installation or as an upgrade on systems where the SPARCstorage Array may be used as the boot device.


Note -

The installation instructions in this chapter are specific to systems configured with SPARCstorage Arrays.



Caution - Caution -

The following installation instructions should be performed by an experienced system administrator. Failure to comply with this requirement may result in a loss of data stored on your disks.


Disk Management Software


Caution - Caution -

If you are currently running disk management software on your system, refer to your disk management software documentation before proceeding with these instructions or you may lose the data on your disks.


SPARCstorage Array Firmware

In the installation and upgrade scenarios below, you will be instructed to check, and if necessary, upgrade the firmware for your SPARCstorage Array(s).

This Solaris 7 software contains SPARCstorage Array firmware revision level 3.12, which is the latest version of firmware for all SPARCstorage Array models (100 and 200 series).

If your SPARCstorage Array has a firmware revision level below 3.12, you must upgrade the firmware revision level to 3.12 as instructed.

If the firmware revision level on your SPARCstorage Array(s) is at a revision level of 3.12 or higher, you do not need to upgrade your firmware.

Installation and Upgrade Scenarios

This chapter is divided into several installation and upgrade scenarios. Refer to the tables below to select the installation or upgrade method that describes your current situation.


Note -

Read through the entire scenario before performing any installation or upgrade. A thorough comprehension of the material is necessary to ensure a successful installation.


Table 7-1 New Installations

New Installations 

Go to 

New installation of Solaris 7 on a SPARCstorage Array disk 

"Scenario 1: New Installation of Solaris 7 on Systems Booting From the SPARCstorage Array Disk"

New installation of Solaris 7 on a non SPARCstorage Array disk 

"Scenario 2: New Installation of Solaris 7 on Systems Not Booting From the SPARCstorage Array Disk"

Table 7-2 Upgrades

Upgrades: 

Go to: 

Upgrading to Solaris 7 from: 

o Solaris 2.3 

o Solaris 2.4 Hardware 11/94 

o Solaris 2.4 Hardware 3/95 

o Solaris 2.5 

o Solaris 2.5.1 

o Solaris 2.6 Hardware: 3/98 

o Solaris 2.6 Hardware: 5/98 

"Scenario 3: Upgrading to Solaris 7"

Scenario 1: New Installation of Solaris 7 on Systems Booting From the SPARCstorage Array Disk

Using the FC/S SBus Card

If the disk that you intend to use as your boot device is on a SPARCstorage Array that is connected to the system through an FC/S SBus card, note that the FC/S SBus card FCode revision level must be at 1.33 or higher to allow booting.

The following FC/S SBus cards are configured from the factory with an FCode revision level of 1.33 or higher:

To check the FCode revision level of your FC/S SBus card, refer to "Checking the FCode Level of Your FC/S SBus Card".

Using the Onboard FC Ports

If the SPARCstorage Array is connected to the system through an onboard FC port, it is not necessary to check the FCode revision level; these systems come configured from the factory with the minimum FCode revision level to allow booting.

Installing Solaris 7 on a SPARCstorage Array Disk
  1. Install the Solaris software environment with the no reboot option.

    Refer to Chapter 1, Installing Software From the Solaris CD" and the SPARC: Installing Solaris Software manual for more information.


    Note -

    Keep track of which disk you select as your boot device as you will need this information to set your boot path.



    Caution - Caution -

    Do not select the system to reboot at the end of the Solaris installation setup.


  2. Determine which level of SPARCstorage Array firmware is in each SPARCstorage Array. Type:


    # ssaadm display controller
    

    where controller is the logical controller name of the SPARCstorage Array (for example, c1). Look for the line that gives the firmware revision information, similar to the following:


    Firmware Rev: 3.12

  3. If the firmware revision is lower than 3.12, download the new firmware. Type:


    # ssaadm download -f /usr/lib/firmware/ssa/ssafirmware controller
    

  4. Set your boot device. Type:


    # ssaadm set_boot_dev <boot device pathname>
    

    Where <boot device pathname> is the path to the device you selected as your boot device in Step 1. This command is interactive and requires user confirmation before setting the boot path. This command sets the OBP environmental variable boot device to the path of the device you selected as the boot device. You should create an OBP devalias to keep track of the boot path in case of accidental loss.

  5. If you need to upgrade your FCode, use the ssaadm command:


    # ssaadm fc_download
    

  6. Halt the system. Type:


    # /usr/sbin/init 0
    

  7. If you downloaded new firmware, press the SYS OK button on the back of the SPARCstorage Array(s) to reset.


    Note -

    Before booting your system, wait for the SPARCstorage Array to complete POST.


  8. Reset and boot your system.


    ok reset
    ok boot
    


    Note -

    You have completed the new installation of Solaris 7. If you would like to install disk management software, refer to your disk management software documentation.


Trouble Booting?

If your system does not boot, check that:

Checking the FCode Level of Your FC/S SBus Card
  1. Determine your FCode level. Type the following at the ok prompt:


    ok setenv fcode-debug? true 
    ok reset
    ok show-devs
    

    When you type the show-devs command, you should see output similar to this:


    .
    .
    .
    /iommu@0,10000000/sbus@0,10001000/le@1,c00000
    /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0
    /iommu@0,10000000/sbus@0,10001000/ledma@4,8400010
    /iommu@0,10000000/sbus@0,10001000/SUNW,bpp@4,c800000
    /iommu@0,10000000/sbus@0,10001000/espdma@4,8400000
    /iommu@0,10000000/sbus@0,10001000/SUNW,DBRIe@2,10000/mmcodec
    /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0/SUNW,pln@a0000800,201cac11
    /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0/SUNW,pln@a0000800,201cac11/SUNW,ssd

  2. Look at the output from the show-devs command and find the lines for the FC/S card(s) that is attached to the SPARCstorage Array that you want to boot from.

    The output for an FC/S card will be the lines containing soc@x,x similar to:


    /iommu@0,10000000/sbus@0,10001000/SUNW,
    soc@0,0
    /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0/SUNW,pln@a0000800,201cac11
    /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0/SUNW,pln@a0000800,201cac11 SUNW,ssd

  3. To determine which version of FCode is in the FC/S card, type:


    ok cd 
    short_path
    ok sccsid type
    1.33 95/04/19
    ok device-end
    

    where short_path is the shortest line containing soc@x,x from the output. Using the previous output as an example, you would enter:


    ok cd /iommu@0,10000000/sbus@0,10001000/SUNW,soc@0,0
    ok sccsid type
    1.33 95/04/19
    ok device-end
    

If the FCode version is not at 1.33 or higher you must upgrade to the minimum FCode level.


Note -

You can upgrade your FCode after installing the Solaris 7 software.


The following part numbers refer to the FC/S SBus Cards that contain the minimum FCode revision level to allow booting:

  1. Reset your OBP environment variable fcode-debug?


    ok setenv 
    fcode-debug? false
    ok reset
    

Scenario 2: New Installation of Solaris 7 on Systems Not Booting From the SPARCstorage Array Disk

  1. Install the Solaris software environment with the no reboot option.

    Refer to Chapter 1, Installing Software From the Solaris CD" and the SPARC: Installing Solaris Software manual for more information.


    Caution - Caution -

    Do not select the system to reboot at the end of the Solaris installation setup.


  2. Determine which level of SPARCstorage Array firmware is in each SPARCstorage Array. Type:


    # ssaadm display controller
    

    where controller is the logical controller name of the SPARCstorage Array (for example, c1). Look for the line that gives the firmware revision information, similar to the following:


    Firmware Rev: 3.12

  3. If the firmware revision is lower than 3.12, download the new firmware. Type:


    # ssaadm download -f /usr/lib/firmware/ssa/ssafirmware controller
    

  4. Halt the system. Type:


    # /usr/sbin/init 0
    

  5. If you downloaded new firmware, press the SYS OK button on the back of the SPARCstorage Array(s) to reset.


    Note -

    Before you proceed, wait for the SPARCstorage Array to complete POST.


  6. Boot your system. Type:


    ok boot
    


    Note -

    You have completed the new installation of Solaris 7. If you would like to install disk management software, refer to your disk management software documentation.


Scenario 3: Upgrading to Solaris 7

If you are currently using one of the Solaris releases below and would like to upgrade to Solaris 7, follow the instructions in this section.

  1. Type su to become superuser.

  2. Back up the data on your system.

    Refer to the System Administration Guide, Volume I for information.

  3. Stop all processes (database or other applications) that are accessing SPARCstorage Array disks except /, swap, /usr, and /opt.

  4. Insert the Solaris 7 CD into the CD-ROM drive, and upgrade your system to Solaris 7.

    Refer to Chapter 1, "Installing Software from the Solaris CD" and the SPARC: Installing Solaris Software manual for more information.


    Caution - Caution -

    Do not select the system to reboot at the end of the Solaris installation setup.


  5. Determine which level of SPARCstorage Array firmware is in your SPARCstorage Array(s) by entering the following command at the prompt for each SPARCstorage Array:


    # ssaadm display controller
    

    where controller is the logical controller name of the SPARCstorage Array (for example, c1). Look for the line that gives the firmware revision information, similar to the following:


    Firmware Rev 3.12
    

  6. If the firmware revision is below 3.12, download the new firmware for each SPARCstorage Array:


    # ssaadm download -f /usr/lib/firmware/ssa/ssafirmware controller
    

  7. Halt your system. Type:


    # /usr/sbin/init 0
    

  8. If you downloaded new firmware, press the SYS OK button on the back of the SPARCstorage Array(s) to reset.


    Note -

    Before booting your system, wait for the SPARCstorage Array to complete POST.


  9. Boot your system.


    ok boot