Saturday, 10 May 2014

How to ugrade Solaris 11.1 to Soalris 11.2 ???

1)configure publisher of solaris 11.2 repo.
# 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://xx.xx.xx.xx/ solaris
2)upgrade solaris 11.1 to solaris 11.2

# 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.
# beadm list
BE        Active Mountpoint Space Policy Created
--        ------ ---------- ----- ------ -------
newbe     -      -          64.0K static 2014-04-24 21:29
solaris   N      /          7.54M static 2013-12-20 02:18
solaris-1 R      -          9.67G static 2014-05-10 13:00
3)take reboot & check configuration

#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

NOTE:-
Now server is upgraded from solaris11.1 SRU 13.6 to Soalris 11.2

# ldm  -V
Logical Domains Manager (v 3.1.1.0.5)
        Hypervisor control protocol v 1.11
        Using Hypervisor MD v 1.4
System PROM:
        Hostconfig      v. 1.3.3.f      @(#)Hostconfig 1.3.3.f 2013/09/10 15:06
        Hypervisor      v. 1.12.3.c     @(#)Hypervisor 1.12.3.c 2013/09/10 14:48
        OpenBoot        v. 4.35.3       @(#)OpenBoot 4.35.3 2013/08/05 11:37

# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    12    19968M   1.5%  1.4%  5m
guest1           bound      ------  5001    16    8G
guest2           active     -n----  5002    16    16G      0.0%  0.0%  21m
secondary        active     -n--v-  5000    12    19G      0.0%  0.0%  13d 21h 36m

No comments:

Post a Comment