Jun 8, 2014

How to ugrade from Solaris 11.1 to Soalris 11.2


Organizations that want to keep a stricter control on what Oracle Solaris packages are being used on their systems, should consider setting up their own repository. This can be done by directly with Oracle’s hosted repository, or using the downloads below.

To set up the repository, follow the instructions in the README by downloading the assembly script, MD5 checksums and 4 repository parts. The repository will contain both SPARC and x86 packages.

Whats new in Solaris 11.2 beta

Download Repository Assembly Script (install-repo.ksh)
Download MD5 Checksums
Download Oracle Solaris 11.2 Beta Repository (Part 1) (1.7 GB)
Download Oracle Solaris 11.2 Beta Repository (Part 2) (1.8 GB)
Download Oracle Solaris 11.2 Beta Repository (Part 3) (1.8 GB)
Download Oracle Solaris 11.2 Beta Repository (Part 4) (1.6 GB)

install-repo.ksh README

This command will unzip and install zipped IPS repository image components
into the designated directory.

The script will perform the following functions:

    Validate checksums of downloaded files (optional)
    uncompress each part into a specified directory
    verify the repository image (optional)
    create an ISO file for mounting and distribution (optional)

In addition, if the selected destination already contains a repository, you
will be given the option of adding the new repository contents to the existing
repository (and rebuild the catalog and index files).

Note that if the option to create an ISO image is used, the README for it's
use is contained at the top level of the destination as supplied by the -d
option.

USAGE:
install-repo.ksh -d dest [-s zipsrc] [-i image-name] [-c] [-v] [-I]

-d dest   = destination directory to hold repository
-s zipsrc = full path to directory holding zip files. default: current
directory
-i image  = name of image: e.g. sol-11_2-beta. default: name found in directory
-c        = compare checksums of downloaded zip files
-v        = verify repo after unzipping
-I        = create an ISO image

Destination directory will contain top-level ISO files including README.
Repository is directly under destination.
ISO image is created in current directory, or zipsrc directory from -s
argument.

Here is a sample output using the checksum and repo verification flags, as
well as creating an ISO image. The selected destination already contains a
repository.

$ install-repo.ksh -d /tank/repos/dev -I -v -c

Comparing checksums of downloaded files...done. Checksums match.
IPS repository exists at destination /tank/repos/dev
Current version: 0.175.2.0.0.24
Do you want to add to this repository? (y/n) y
Uncompressing sol-11_0-beta-repo-1of4.zip...done.
Uncompressing sol-11_0-beta-repo-2of4.zip...done.
Uncompressing sol-11_0-beta-repo-3of4.zip...done.
Uncompressing sol-11_0-beta-repo-4of4.zip...done.
Repository can be found in /tank/repos/dev.
Initiating repository rebuild.
Initiating repository verification.
Building ISO image...done.
ISO image and instructions for using the ISO image are at:
/tank/downloads/sol-11_0-beta-repo.iso
/tank/downloads/README-repo-iso.txt

Options:
Use the -s (source) option specify a location for the downloaded zip files
that is different than the location of the install-repo.ksh script. Otherwise,
it is assumed that the script and the zip files are all within the current
working directory.

The -i option can be used to specify one of multiple releases that might
reside in the same download directory. For example, if the download files from
Solaris 11.2 Beta and the Solaris 11.2 final release reside in the same
directory, then "-i sol-11_2-beta" will select the Solaris 11.2 beta files.
By default, even with multiple releases, the newest download is selected.

If an existing repository is selected as the destination, then the user is
prompted to add onto the repository. If the answer is "yes", then the contents
of the downloaded zip files are added to the existing repository, and the
catalog and search indices are rebuilt to include the new packages.
 

Ugrade Solaris 11.1 to Soalris 11.2

First you need to configure publisher of solaris 11.2 repo. Proceed with the following commands.

# pkg info entire
Name: entire
Summary: entire incorporation including Support Repository Update Oracle Solaris 11.1.13.6.0).
Description: This package constrains system package versions to the same build.  WARNING: Proper system update and correct package selection depend on the presence of this incorporation. Removing this package will result in an unsupported system.
For more information see https://support.oracle.com/CSP/main/article
      ?cmd=show&type=NOT&doctype=REFERENCE&id=1501435.1.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11 (Oracle Solaris 11.1.13.6.0)
 Build Release: 5.11
        Branch: 0.175.1.13.0.6.0
Packaging Date: Fri Nov 08 21:15:57 2013
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.13.0.6.0:20131108T211557Z
 
# pkg set-publisher -G '*' -g http://172.22.10.100/ solaris 

# pkg update --accept
            Packages to remove:   3
           Packages to install:  94
            Packages to update: 447
           Mediators to change:   1
       Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            544/544   34949/34949  635.2/635.2  3.2M/s

PHASE                                          ITEMS
Removing old actions                       8266/8266
Installing new actions                   26008/26008
Updating modified actions                25534/25534
Updating package state database                 Done
Updating package cache                       450/450
Updating image state                            Done
Creating fast lookup database                   Done

A clone of solaris exists and has been updated and activated.
On the next boot the Boot Environment solaris-1 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.
 
# reboot
# pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.2.0.0.37.1
Packaging Date: Wed Apr 23 18:15:13 2014
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.37.1:20140423T181513Z

 
You have successfully upgraded from Solaris 11.1 to Solaris 11.2 beta 

Post a Comment

 
TECH SUPPORT © 2012 - Designed by INFOSBIRD