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  

17 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. Its impressive to know something about your note on sun solaris Course. Please do share your articles like this your articles for our awareness. Mostly we do also provide Online Training on Cub training sun solaris course.

    ReplyDelete
  4. Collection of free full version games for Computer / PC. Download free games and play for free. Free games for kids, girls and boys The Wolf Among Us Game Free Download

    ReplyDelete
  5. Nice Post. I am really enjoying reading your well-written articles. It looks like you spend a lot of effort and time on your blog. RPA Training in Chennai | Blue Prism Training in Chennai Nice Post. I am really enjoying reading your well-written articles. It looks like you spend a lot of effort and time on your blog. RPA Training in Chennai | Blue Prism Training in Chennai

    ReplyDelete
  6. Do you understand there is a 12 word phrase you can say to your crush... that will induce intense emotions of love and impulsive appeal for you buried inside his chest?

    Because deep inside these 12 words is a "secret signal" that triggers a man's instinct to love, adore and look after you with his entire heart...

    =====> 12 Words Will Fuel A Man's Desire Response

    This instinct is so hardwired into a man's mind that it will make him work harder than before to take care of you.

    Matter of fact, fueling this influential instinct is absolutely mandatory to getting the best ever relationship with your man that the moment you send your man one of these "Secret Signals"...

    ...You'll instantly notice him expose his heart and soul for you in such a way he never expressed before and he will perceive you as the one and only woman in the world who has ever truly fascinated him.

    ReplyDelete
  7. Ok...

    This might sound a little creepy, maybe even kind of "strange"

    BUT what if you could simply click "PLAY" to LISTEN to a short, "miracle tone"...

    And miraculously attract MORE MONEY into your life???

    And I'm really talking about thousands... even MILLIONS of DOLLARS!

    Do you think it's too EASY??? Think it couldn't possibly be REAL??

    Well, Let me tell you the news..

    Usually the most magical miracles in life are the SIMPLEST!

    In fact, I'm going to provide you with PROOF by allowing you to listen to a REAL "magical money tone" I've produced...

    You simply hit "PLAY" and watch how money starts piling up around you.. starting pretty much right away..

    CLICK here to PLAY this wonderful "Miracle Wealth Building Tone" - as my gift to you!

    ReplyDelete