How To Update and Upgrade OS SOLARIS
How to Update Solaris
-Mount iso-
mount -F hsfs /solaris11.3.iso /repofull
mount -F hsfs /solaris11.3.35.iso /sru
Note : use full path in source
-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
-Crosscheck publisher Before Update-
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file://repofull/repo
solaris origin online F file://sru/repo
-CrossCheck beadm before Update-
# 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
-Update OS Solaris Using pkg update-
#pkg update –accept
-After update & Reboot OS, check using command “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
How To Upgrade Solaris
-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
-CrossCheck publisher existing-
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file://repofull/repo
solaris origin online F file://sru/repo
-CrossCheck 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
Note:
Nanti yang pas bagian update OS ke 11.4 sesuaikan entire nya dengan yang ada di list disana
# pkg update –be-name solaris11.4 –accept entire@11.4-11.4.50.0.1.126.3
-After update & Reboot OS-
-CrossCheck beadm After Upgrade OS-
# 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 configuration
#beadm destroy solaris
#beadm destroy solaris-1