Friday 27 December 2013

Solaris 11 SRU update procedure


To update Support Repository Update 11.1.8.4.0
i)To check current patch update
root@solaris2:/# 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.1.0.0.24.2
Packaging Date: September 19, 2012 07:01:35 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.0.0.24.2:20120919T190135Z
root@solaris2:/#
root@solaris2:/#
ii)to check local repository publisher is published or not
root@solaris2:/# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://10.66.10.105/
solaris                     origin   online F http://10.66.10.105:8082/
root@solaris2:/#
iii)it is better to take backup of be
#beadm create bkpbe
iV)update repository
SunOS solaris2 5.11 11.1 sun4v sparc SUNW,SPARC-Enterprise-T5120
root@solaris2:/# pkg update
            Packages to remove:   1
            Packages to update: 130
           Mediators to change:   1
       Create boot environment: Yes
Create backup boot environment:  No
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            131/131     5783/5783  308.9/308.9  3.9M/s
PHASE                                          ITEMS
Removing old actions                         847/847
Installing new actions                     2136/2136
Updating modified actions                  6443/6443
Updating package state database                 Done
Updating package cache                       131/131
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-2 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
http://www.oracle.com/pls/topic/lookup?ctx=E26502&id=SERNS
---------------------------------------------------------------------------
iv)after upgrading check BE

root@solaris2:/# beadm list
BE        Active Mountpoint Space  Policy Created
--        ------ ---------- -----  ------ -------
solaris   N      /          180.0K static 2013-11-01 16:22
solaris-1 -      -          590.0K static 2013-12-26 17:47
solaris-2 R      -          4.82G  static 2013-12-27 17:30

v)reboot server
#reboot

SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
Loading smf(5) service descriptions: 4/4
Loading smf(5) service descriptions: 1/1
Hostname: solaris2
Mounting ZFS filesystems: (12/12)
solaris2 console login:
vi)checking latest SRU information
root@solaris2:~# uname -a
SunOS solaris2 5.11 11.1 sun4v sparc SUNW,SPARC-Enterprise-T5120
root@solaris2:~# pkg info entire
          Name: entire
       Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.1.8.4.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.8.4.0)
 Build Release: 5.11
        Branch: 0.175.1.8.0.4.0
Packaging Date: May 31, 2013 08:34:15 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.8.0.4.0:20130531T203415Z

No comments:

Post a Comment