Tuesday, August 29, 2017

Procedure for lupatch upgrade on Solaris

1) Copy the patch to any location, for instance /tmp/10_Recommended_CPU_2013-07

2) Stop the application

3) Edit passwd and group file to unhash entries

4) Create an alternate boot environment
     #lucreate -n zfs6BE

5) Verify the status
     #lustatus

6) Apply the patches to zfs6BE
    #luupgrade -n zfs6BE -t -s /tmp/10_Recommended_CPU_2013-07/patches/

7) Verify the BE status
     #lustatus

8) #ludelete <oldbename> //deletes oldbe and all zfs filesystem associated with it.
    #ludelete zfs3BE

9) Activate the new Boot environment
     #luactivate zfs6BE

10) Reboot
     #init 6

11) After booting , verify the patch version
      #uname -a