Solaris 8 Advanced Installation Guide

SPARC: Upgrading a System

If you intend to use the Solaris 8 Interactive Installation Program to upgrade Solaris software on a SPARC based system, follow the directions in this section. If you intend to install Solaris software only, go to "SPARC: Using the Solaris 8 Interactive Installation Program".

SPARC: To Get Started

  1. Check the documentation:

    • Check the Solaris 8 (SPARC Platform Edition) Release Notes and vendor release notes to ensure that the software you use is still supported in the new release.

    • Check the Solaris 8 Sun Hardware Platform Guide to make sure your hardware is still supported.

    • See the documentation that came with your system to make sure your system and devices are still supported by the new release.

    • Check for all the available patches you might need. The most recent patch list is provided at http://sunsolve.sun.com.

    • Check Table 5-2 for known problems. This list is not complete. Always check vendor and third-party software documentation for additional upgrade instructions.

      Table 5-2 SPARC: Software That Requires Changes Before Upgrading

      Software 

      Problem Summary 

      Prestoserve 

      If you start the upgrade process by shutting down the system using init 0, you can lose data. See the Prestoserve documentation for shutdown instructions.

  2. Determine the language you want to use to upgrade Solaris. You can select:

    • English

    • French

    • German

    • Italian

    • Japanese

    • Korean

    • Spanish

    • Swedish

    • Simplified Chinese

    • Traditional Chinese

  3. Make sure you have at least the following CDs:

    • Solaris 8 Software 1 of 2 SPARC Platform Edition and Solaris 8 Software 2 of 2 SPARC Platform Edition

    • Solaris 8 Languages SPARC Platform Edition

SPARC: To Back Up the System


Note -

Back up existing file systems before upgrading the Solaris operating environment. Copying them to removable media (such as tape) safeguards against data loss, damage, or corruption.


If you do not have a backup procedure in place, follow these directions to perform a full backup of file systems. Backing up a system and setting up scheduled backups are described in more detail in System Administration Guide, Volume I.

  1. Become superuser.

  2. Shut down the system:


    # init 0
    
  3. Boot the system in single-user mode:


    ok boot -s
    
  4. Do you want to check the file systems for consistency?


    Note -

    Checking the file systems for consistency ensures you back up uncorrupted data. A power failure, for example, can leave files in an inconsistent state.


    • If no, go to the next step.

    • If yes, use the fsck command with the -m option:


      # fsck -m /dev/rdsk/device-name
      
  5. Do you intend to back up the file systems onto a remote tape drive?

    • If no, go to the next step.

    • If yes:

    1. Add the following entry to the ./rhosts file of the system that is initiating the backup:


      host root
      
    2. Where host is the name of the host you want to back up. Verify that the host name added to the /.rhosts file above is accessible via the local /etc/inet/hosts file or available through an NIS or NIS+ name server.

  6. Identify the device name of the tape drive.

    The default tape drive is /dev/rmt/0.

  7. Insert a tape that is not write-protected into the tape drive.

  8. Back up file systems using one of the ufsdump commands listed in Table 5-3.

    Table 5-3 SPARC: Full Backup Commands

    To make a full backup on a 

    Use this command 

    Local cartridge tape drive 

    ufsdump9ucf /dev/rmt files_to_backup

    Remote cartridge tape drive 

    ufsdump0ucf remote_host:/ files_to_backup

  9. When prompted, remove the media and replace it with the next volume.

  10. Label the media with the volume number, level, date, system name, and file system.

  11. Press Control-D.

    The system is returned to run level 3.

  12. Verify that you successfully backed up the system:


    # ufsrestore -t
    

SPARC: To Plan for Upgrading

  1. If you intend to upgrade through the network and you have not preconfigured your system configuration information, gather the following information about the system on which you intend to upgrade the Solaris operating environment.

    Information 

    Example  

    To find the information (with Solaris installed), use  

    Host name 

    crater

    uname -n

    Host IP address 

    129.221.2.1

    ypmatch system_name hosts or

    nismatch system_name hosts.org_dir

    Subnet mask 

    255.255.255.0

    more /etc/netmasks

    Type of name service (DNS, NIS, or NIS+) 

    passwd:     files nis
    group:      files nis
    
    hosts:      xfn nis [NOTFOUND=return] files
    networks:   nis [NOTFOUND=return] files
    protocols:  nis [NOTFOUND=return] files
    rpc:        nis [NOTFOUND=return] files
    ethers:     nis [NOTFOUND=return] files
    netmasks:   nis [NOTFOUND=return] files	
    bootparams: nis [NOTFOUND=return] files
    publickey:  nis [NOTFOUND=return] files
    
    netgroup:   nis
    
    automount:  files nis
    aliases:    files nis
    
    services:   files nis
    sendmailvars:   files

    cat /etc/nsswitch.conf

    Domain name 

    lbloom.West.Arp.COM

    domainname

    Host name of name server 

    thor75

    ypwhich

    Host IP address of name server 


    129.153.75.20

    ypmatch nameserver_name hosts or

    nismatch nameserver_name hosts.org_dir