Updating Solaris 11.X to 11.3
Download Repository Certificates accessing with MOS user
https://pkg-register.oracle.com/register/certificate/
Upload them to the server and rename as below
pkg.oracle.com.certificate.perm
pkg.oracle.com.key.perm
root@:~# pkg unset-publisher
This option below delete the currently repository and add the new one
root@:~# pkg set-publisher -k /root/pkg.oracle.com.key.pem -c /root/pkg.oracle.com.certificate.pem -G "*" -g https://pkg.oracle.com/solaris/support/ solaris
root@:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/support/
root@# pkg update
Validate previous boot environment
root@:~# beadm list
BE Flags Mountpoint Space Policy Created
-- ----- ---------- ----- ------ -------
solaris NR / 12.58G static 2016-03-15 07:11
root@:~#
root@:~#
PHASE ITEMS
Removing old actions 1586/1586
Installing new actions 835/835
Updating modified actions 13469/13469
Updating package state database Done
Updating package cache 195/195
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
# init 6
HOW TO UPDATE SRU Solaris 11.3.1.5.0 to 11.3.2.4.0
Update SRU Oracle Solaris 11.3 to 11.3.2.4.0 Support Repository Update (Oracle Solaris 11.3 SRU 2.4.0) You can download the current release 11.3.7.5.0 too
Download https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=366867058234531&parent=DOCUMENT&sourceId=2077717.1&id=2045311.1&_afrWindowMode=0&_adf.ctrl-state=u9wbgy5db_118
Upload to the server that you need to update SRU
p22168727_1100_SOLARIS64.zip
Unzip de file in my case /var/tmp/solaris/
Delete Publisher that is pointing to Oracle Support
root@:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/support/
root@:~#pkg unset-publisher solaris
Configure Publisher to point to local respository
root@:~# pkg set-publisher -g file:///var/tmp/solaris solaris
root@:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///var/tmp/solaris/
root@:~#
Updating SRU in the server
root@:~# pkg update --accept
root@:~# pkg update
Packages to update: 95
Create boot environment: Yes
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 95/95 3428/3428 264.6/264.6 0B/s
PHASE ITEMS
Removing old actions 586/586
Installing new actions 835/835
Updating modified actions 3469/3469
Updating package state database Done
Updating package cache 95/95
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
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.
Updating package cache 1/1
---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
http://www.oracle.com/pls/topic/lookup?ctx=solaris11&id=SERNS
---------------------------------------------------------------------------
When the SRU is updated you can validate de new boot environment
root@:~#
root@:~# beadm list
BE Flags Mountpoint Space Policy Created
-- ----- ---------- ----- ------ -------
solaris N / 3.09M static 2016-03-15 07:11
solaris-1 R - 13.82G static 2016-05-10 15:46
Finally reboot
root@:~# init 6
If you need to boot using the old boot environment for any reason you can use beadm activated
root@:~# beadm activate solaris
root@:~# init 6
Comments