Friday, 7 December 2012

Solaris Live Upgrade Procedure for Patching

      Normally  CPU cluster patching for Solaris OS have taken an hour to complete, it increase the maintenance downtime window. In order to overcome that Solaris having the feature called  "LIVE UPGRADE" .
         The main advantages of Live upgrade is minimizing the downtime and providing the system admin to revert the original OS in case of any patching failure.
       In general, the Live Upgrade is briefly categorized as follows
  • Create a new boot environment if you haven't already.
  • Patch the new boot environment.
  • Boot from the new boot environment.
  • Check your results for the changes and see if they are acceptable 

Following are the steps to perform Solaris Live Upgrade for Patching

Step 1: Verify Live Upgrade packages are installed
           #pkgchk -v SUNWlucfg SUNWlur SUNWluu

Step 2: Create a current & new boot environment within the same root pool (rpool)
                #lucreate -c BE_APP01  -n new new_BE_APP01

Step 3: Verify step 2
           #zfs list 
          #lustatus

Step 4: Apply CPU onto the new boot environment 
           #cd 10_Recommend
           #./installpatchset -B new_BE_APP01 --s10patchset

Step 5: Activate the new boot environment
           #luactivate -s new_BE_APP01

Step 6: Reboot the server to boot to the new boot environment
           #shutdown -i 6 -g 0 -y

   Note: Do NOT use any other commands to reboot the server. you must use the above-mentioned command. Be patient, wait at least 5-10mins. if it still does not reboot, kindly type the command "reboot"

Step 7: Verify the status
           #lustatus 

Post Live Upgrade Procedures
  • If there are no problems, you can delete the former boot environment to  save disk space by issuing the comman
          #ludelete BE_APP01  
  • For furture patching, you only need to create a new boot environment within the same root pool (rpool), by issuing the command.
         #lucreate -n BE_APP01_yyyymmdd  

3 comments:

  1. Thanks, NIX. I've posted a link to your post on the Oracle Technology Network, under "From the Community" (http://www.oracle.com/technetwork/systems).

    By the way, here are some system requirements for Live Upgrade: http://docs.oracle.com/cd/E19455-01/806-7933/6jgp914ao/index.html

    ReplyDelete
  2. LinuxPune.com Linux Admin Training Session – Batch Status – Started – Can join max till end of July – Backup provided

    Batch Starting Date – 16th July 2013 , Batch Timing 2:00PM-5PM ,SAT-SUN – 8 Weekends

    About Technical Facilitator - Rahul has been a Redhat ,SUSE and Solaris Implementor for Mid and High range server and bring abroad the experience in application deployment . Has been in a technical consultant with us from last 4 years and helped many freshser achieve their dream job and after job support too.

    Placement Coordinator – Kamran has been associated and will be supporting the placement coordination for any new requirement , before starting any batch we request all the participant looking forward for the placement from us to submit the resume to Kamran as well as send a soft copy to info@linuxpune.com

    ReplyDelete
  3. We also have become a favorite destination for IT job seekers across Pune.

    We are sure of our ability to provide you with the candidate of your choice. We would appreciate it if you would give us an opportunity to work with you as an authorized vendor for recruitment and Staff hiring. We are hereby enclosing our company profile for your kind perusal and records & hope to get your valuable order at the earliest.

    Hoping for best and your positive reply as soon as possible.




    LinuxPune – Inspired by Open Source Technology
    Infrastructure | Outsourcing | Training | Placement
    301,Kamala Arcade,Jangali Maharaj Road, Shivaji Nagar,
    Opp BalGandharva Rang Mandir,Pune, Maharashtra
    Ph: 91 808 71 71 71 0 / Ekta -020 41007600
    info@linuxpune.com , www.linuxpune.com

    ReplyDelete