Solaris 7 Sun Hardware Platform Guide

Upgrading the Sun Computer Systems Supplement Packages

You should upgrade any supplement packages your system needs from the Sun Computer Systems Supplement CD at this point in the upgrade process.

  1. Insert the Sun Computer Systems Supplement CD.

  2. Log in to the SSP as superuser and share the CD-ROM:


    ssp# share -F nfs -o ro,anon=0 /cdrom/cdrom0

  3. Create and mount the /cdrom directory and add the Sun Computer Systems Supplement packages:


    domain_name# mkdir /cdrom [if it does not already exist]
    domain_name# mount ssp_name:/cdrom/cdrom0 /cdrom
    domain_name# cd /cdrom/Product
    domain_name# pkgadd -d . SUNWabhdw
    


    Note -

    Perform this step only for those domains in which you want to use the AnswerBook files.


    The pkgadd(1M) command may display several messages and ask several installation questions for each package, some relating to space, others asking whether it is OK to continue. After answering these questions, and when you are asked whether to proceed, answer Yes.

    The pkgadd(1M) command will install the following package.

    Table 6-11 Sun Computer Systems Supplement Package

    Includes Cluster/Package 

    Description 

    SUNWabhdw

    Solaris 7 on Sun Hardware Collection AnswerBook

  4. Install the SSP 3.1 Y2000 sys_id patch:


    ssp# cd cdrom/Patches/106281-01
    ssp# ./installpatch .
    

  5. Install the SSP 3.1 Y2000 patch:


    ssp# cd ../106282-01
    ssp# ./installpatch .
    

  6. If needed, add the Online Validation Test Suite Software (SunVTS):


    ssp# cd ../../Product
    ssp# pkgadd -d . SUNWvts SUNWvtsmn SUNWvtsx
    

    The SUNWCvts cluster includes the following packages.

    Table 6-12 SunVTS Software Cluster and Packages

    Cluster Name 

    Includes Cluster/Package 

    Name 

    Description 

    SUNWCvtsx

     

     

    SunVTS Cluster 

     

    SUNWvts

    Online Validation Test Suite 

    SunVTS kernel, user interface tests and tools 

     

    SUNWvtsmn

    Online Validation Test Suite Manual Pages 

    Manual pages for SunVTS utilities and binaries 

     

    SUNWvtsx

    Online Validation Test Suite (64-bit version) 

    SunVTS kernel, user interface tests and tools 

    If you need more information about SunVTS, refer to the SunVTS 2.1 User's Guide.

  7. If necessary, install and configure the Sun Enterprise Volume Manager software.

    If you need more information about Sun Enterprise Volume Manager, refer to the Solaris 7 on Sun Hardware Collection AnswerBook.

  8. If needed, install and configure the preloaded Sun Enterprise NetBackup software.

    The Enterprise NetBackup product has been included with your system. To configure and customize the software to your requirements, refer to the Sun Enterprise NetBackup and Media Manager Installation Guide.

  9. Configure the NTP packages.

    Perform the following steps to configure the ntp.conf file, which resides at /etc/inet/ntp.conf.

    1. Log in to the domain as superuser.

    2. Open the ntp.conf file in your text editor.

    3. Edit the file so that it resembles the following example:


      # example Starfire domain /etc/inet/ntp.conf 
      # configuration file ntp.conf 
      # for Solaris 7
      # substitute actual ssp name for <ssp-name> 
      
      server <ssp-name> prefer
      # we can always fall back to the local clock.
      server 127.127.1.0
      fudge 127.127.1.0 stratum 9
       
      # Other ntp files.
      driftfile /etc/inet/ntp.drift
       
      # Encryption:
      disable auth
      controlkey 1
      requestkey 1
      authdelay 0.000793
       
      # precision declaration
      precision -18 									 		 # clock reading precision (1 usec)

      Each domain should use the SSP as its source for time, and the SSP should use at least two other sources, besides its internal clock, to avoid a single point of failure in case the SSP's clock fails. For more information about NTP commands, refer to Man Pages(1M): Network Time Protocol Commands.

  10. In the netcon(1M) window, unmount the CD:


    domain_name# cd /
    domain_name# umount /cdrom

  11. Log in to the SSP as superuser and remove the CD:


    ssp# cd /
    ssp# unshare /cdrom/cdrom0
    ssp# eject cdrom
    

  12. Install and configure any other purchased software packages.

    If you plan to upgrade the AP software, refer to the Sun Enterprise Server AP 2.2 Installation and Release Notes for more information about the upgrade.

  13. Uncomment all file systems in the /etc/vfstab file that you commented out when you prepared the domain for the upgrade.


    Caution - Caution -

    Do not uncomment any of the AP-related file systems unless you upgraded the AP software.


  14. Uncomment all swap partitions that are not on the same controller as the root disk.

  15. Set up the boot-device alias.

    1. If you are at the ok prompt, use the OBP setenv command to set the default boot-device alias to the correct device.


      ok setenv boot-device boot_device_alias
      

      Where boot_device_alias corresponds to the correct default boot-device alias.

    2. If diag-switch? is set to true, use the OBP setenv command to set the diag-device variable to the correct device.


      ok setenv diag-device boot_device_alias
      


      Note -

      If diag-switch? is set to true, OBP uses diag-device and diag-file as the default boot parameters. If diag-switch? is false, OBP uses boot-device and boot-file as the default boot parameters.


    3. If you are at the domain prompt, log in as superuser on the domain, then use the eeprom(1M) command to set the boot-device variable:


      domain_name# eeprom boot-device=boot_device_alias
      

  16. Check the operating mode:


    domain_name# isalist
    

    If you are running in 64-bit mode, you should get the following output:


    sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 
    sparcv8-fsmuld sparcv7 sparc

  17. Reboot the domain with the proper operating mode.

    For the Solaris 7 operating environment, you can use either the 32-bit mode or the 64-bit mode. The 64-bit mode is the default for most sun4u platforms.

    1. For 32-bit mode, type the following command:


      domain_name# boot boot_alias kernel/unix
      

    2. For 64-bit mode, type one of the following commands.

      If you are not already in 32-bit mode, use the following command:


      domain_name# boot boot_alias
      

      If you are switching from the 32-bit mode, use the following command:


      domain_name# boot boot_alias kernel/sparcv9/unix