Tuesday 24 December 2013

solaris 11 zones upgrade

login as: root
Using keyboard-interactive authentication.
Password:
Last login: Mon Apr 15 17:10:11 2013 from 10.48.9.36
Oracle Corporation      SunOS 5.11      11.0    November 2011
You have new mail.
root@rama:~# clear
root@rama:~# zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              solaris  shared
   1 testzone1        running    /zones1                        solaris  excl
root@rama:~# ps -aef|grep -i pkgupdate
    root  5490  5481   0 17:30:11 pts/1       0:00 grep -i pkgupdate
root@rama:~# clear
root@rama:~# pkg update *entire*
Recursing into linked image: zone:testzone1
Returning from linked image: zone:testzone1
            Packages to remove:   1
           Packages to install:   7
            Packages to update: 272
           Mediators to change:   1
       Create boot environment: Yes
Create backup boot environment:  No
Recursing into linked image: zone:testzone1
           Packages to install:  3
            Packages to update: 76
       Create boot environment: No
Create backup boot environment: No
            Services to change:  4
Returning from linked image: zone:testzone1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              280/280 13072/13072  404.9/404.9
Recursing into linked image: zone:testzone1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                79/79   5314/5314    98.9/98.9
Returning from linked image: zone:testzone1
PHASE                                        ACTIONS
Removal Phase                              2659/2659
Install Phase                              3169/3169
Update Phase                             16184/16184
PHASE                                          ITEMS
Package State Update Phase                   552/552
Package Cache Update Phase                   273/273
Image State Update Phase                         2/2
Recursing into linked image: zone:testzone1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                79/79   5314/5314    98.9/98.9
PHASE                                        ACTIONS
Removal Phase                              1327/1327
Install Phase                              2853/2853
Update Phase                               4843/4843
PHASE                                          ITEMS
Package State Update Phase                   155/155
Package Cache Update Phase                     76/76
Image State Update Phase                         2/2
Returning from linked image: zone:testzone1
A clone of bkpsoalris exists and has been updated and activated.
On the next boot the Boot Environment bkpsoalris-1 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

root@rama:~# beadm list
BE                  Active Mountpoint Space  Policy Created
--                  ------ ---------- -----  ------ -------
bkpsoalris          N      /          60.93M static 2013-04-03 22:18
bkpsoalris-1        R      -          11.65G static 2013-04-15 17:57
bkpsoalris-backup-1 -      -          58.0K  static 2013-04-04 16:54
bkpsoalris-backup-2 -      -          60.0K  static 2013-04-04 17:26
soalris             -      -          58.0K  static 2013-04-03 22:56
root@rama:~# reboot

 

No comments:

Post a Comment