Upgrade OS Solaris

Note : minimal requirements OS upgrade 11.4 version : 11.3.23.xx. if below must upgrade to version 11.3.35 before upgrade 11.4

Mount iso
mount -F hsfs /solaris11.3.iso /repofull (must fullpath)
mount -F hsfs /solaris11.3.35.iso /sru (must fullpath)

Remove existing publisher
# pkg unset-publisher solaris

Add new publisher has mounted at /repofull & /sru
# pkg set-publisher -g /repofull/repo -g /sru/repo solaris

Check publisher
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file://repofull/repo
solaris origin online F file://sru/repo

Check beadm
# beadm list
BE Active Mountpoint Space Policy Created
— —— ———- —– —— ——-
solaris – – 3.47G static 2014-07-07 01:05
solaris-1 NR / 94.03M static 2014-07-09 03:52

#pkg update –accept

After update & Reboot OS, check beadm
# beadm list
BE Active Mountpoint Space Policy Created
— —— ———- —– —— ——-
solaris – – 20M static 2014-07-07 01:05
solaris-1 – – 94.03M static 2015-04-09 06:52
solaris-2 NR / 2G static 2019-04-09 08:52
========================================================================================================
Upgrade Solaris 11.4
Mount iso
mount -F hsfs /solaris11.4.iso /repofull
mount -F hsfs /solaris11.4.20.iso /sru

Remove existing publisher
# pkg unset-publisher solaris

Add new publisher has mounted at /repofull & /sru
# pkg set-publisher -g /repofull/repo -g /sru/repo solaris

Check publisher
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file://repofull/repo
solaris origin online F file://sru/repo

Check list publisher
#pkg list -af | grep entire
FMRI IFO
pkg://solaris/entire@0.5.11,5.11-4.20.175.2.0.0.34.0 — —> will upgrade to 11.4.20
pkg://solaris/entire@0.5.11,5.11-3.35.175.2.0.0.34.0 i– —> i=existing entire installed

Update select specify entire
#pkg update –be-name solaris11.4 –accept entire@0.5.11,5.11-4.20.175.2.0.0.34.0

After update & Reboot OS
Check beadm
# beadm list
BE Active Mountpoint Space Policy Created
— —— ———- —– —— ——-
solaris – – 20M static 2014-07-07 01:05
solaris-1 – – 94.03M static 2015-04-09 06:52
solaris-2 – – 2G static 2019-04-09 08:52
solaris11.4 NR / 10.G static 2020-09-09 11:52
========================================================================================================
*If you want to destroy unused beadm
#beadm destroy solaris
#beadm destroy solaris-1