Solaris Live Upgrade 2.0 Guide

Installing Web Start Flash Archives on a Boot Environment

This section provides the procedure for using Solaris Live Upgrade to install Web Start Flash archives that are stored on the following:

Installing a Web Start Flash archive overwrites all files on the new boot environment, except for shared files.

To use the Web Start Flash installation feature, you need to have installed the master system and created the Web Start Flash archive. For more information about Web Start Flash, see “Web Start Flash Installation Feature Topics” in Solaris 8 Advanced Installation Guide.

To Install Web Start Flash Archives on a Boot Environment (Character Interface)

  1. From the Solaris Live Upgrade main menu, select Flash.

    The Flash an Inactive Boot Environment menu is displayed.

  2. Type the name of the boot environment where you want to install the Web Start Flash archive and the location of the installation media:


    Name of Boot Environment: solaris_8
    Package media: /net/install-svr/export/s8/latest
    
  3. Press F1 to add an archive.

    An Archive Selection submenu displays an empty list, the name of a single archive, or a list of a number of archives. If more than one archive is listed, you have layered archives. For an explanation of layered archives, see “Web Start Flash Overview and Planning” in Solaris 8 Advanced Installation Guide.

    You can add and remove archives from the list. The following example shows an empty list.


    Location            - Retrieval Method
    <No Archives added> - Select ADD to add archives
    • To install the list with no changes, proceed to Step 4.

    • If the Web Start Flash archives list is empty or contains an archive that you do not want to install, proceed to Step a.

    1. You can add or remove archives.

    2. On the Select Retrieval Method menu, select the location of the Web Start Flash archive.

      Media Selected 

      Prompt 

      HTTP 

      Specify the URL and proxy information that is needed to access the Web Start Flash archive. 

      NFS 

      Specify the path to the network file system where the Web Start Flash archive is located. You can also specify the archive file name. 

      Local file 

      Specify the path to the local file system where the Web Start Flash archive is located. 

      Local tape 

      Specify the local tape device and the position on the tape where the Web Start Flash archive is located. 

      Local device 

      Specify the local device, the path to the Web Start Flash archive, and the type of file system on which the Web Start Flash archive is located.  

      A Retrieval submenu is displayed similar to the following example, which depends on the media you selected.


      NFS Location: 
    3. Type the path to the archive as in the following example.


      NFS Location: host:/path/to archive.flar
      
    4. Press F3 to add the archive to the list.

    5. When the list contains the archives you want to install, press F6 to exit.

  4. Press F3 to install the archive or layered archives.

    The Web Start Flash archive or layered archives are installed on the boot environment. All files on the boot environment are overwritten, except for shareable files.

    The boot environment is ready for activation. See Activating a Boot Environment .

To Install Web Start Flash Archives on a Boot Environment (Command-Line Interface)

  1. Log in as superuser.

  2. Type:


    # luupgrade -f -n BE_name -s os_image_path -J "profile"
    

    You must specify one of these options: -a, -j, or -J.

    -f

    Indicates to upgrade an operating system from a flash archive. 

    -n BE_name

    Specifies the name of the boot environment that is to be upgraded. 

    -s os_image_path

    Specifies the path name of a directory that contains an operating system image. This can be a directory on an installation medium, such as a CD-ROM, or can be an NFS or UFS directory. 

    -Jprofile

    Entry from a JumpStart profile that is configured for a flash installation. See pfinstall(1M) and “Custom JumpStart Installation Topics” in Solaris 8 Advanced Installation Guide for information on the JumpStart software. You must specify one of -a, -j, or -J.

    -j profile_path

    Path to a JumpStart profile that is configured for a flash installation. See pfinstall(1M) and “Custom JumpStart Installation Topics” in Solaris 8 Advanced Installation Guide for information on the JumpStart software. You must specify one of -a, -j, or -J.

    -a archive

    Path to the flash archive when the archive is available on the local file system. You must specify one of -a, -j, or -J.


    Example 4–4 Installing Web Start Flash Archives on a Boot Environment (Command-Line Interface)

    In this example, a flash archive is installed on the second_disk boot environment. The -J option is used to retrieve the archives. All files are overwritten on second_disk except shareable files.


    # luupgrade -f -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image \
    -J "archive_location http://example.com/myflash.flar"