Solved

Live upgrade with Solaris 10 issues

Posted on 2015-02-11
3
375 Views
Last Modified: 2015-02-18
I have to test a live uprade patch with solaris 10. But it looks like its not running as it expected i beleive. It shows some dependency issue.

I have downloaded the latest Patch bundle. and doing the following way in luupgrade step. env2 is my ABE

root@server1 # luupgrade -n env2  -s /solpatches/10_Recommended/patches -t `cat patch_order`

Validating the contents of the media </solpatches/10_Recommended/patches>.
The media contains 385 software patches that can be added.
All 385 patches will be added because you did not specify any specific patches to add.
Mounting the BE <env2>.
Adding patches to the BE <env2>.
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

No patches to dependency check.
Unmounting the BE <env2>.
The patch add to the BE <env2> completed with Warnings.
root@server1 #

Any idea what is missing here.
0
Comment
Question by:bt74
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 40604221
I have a doc about how to live patching in Solaris 9 enviroment, should be similar to Solaris 10:

http://www.experts-exchange.com/OS/Unix/A_3840-Live-Patching-for-the-Solaris-9-Operating-System.html

Bassiclly you need to mount the "env2" by "lumount env2" command, and use this command to do it:

# /var/tmp/patches/install_cluster -R /.alt.env2

"luupgrade" usually I used for upgrade the OS, here -s is point to new OS image.
0
 

Author Comment

by:bt74
ID: 40605495
Thanks
I tried with the way you shared.. But now i am into different issues.

#./installpatchset -B env2 --s10patchset

Installing this patch set to an alternate boot environment first requires the
live boot environment to have patch utilities and other prerequisite patches
at the same (or higher) patch revisions as those delivered by this patch set.

The required prerequisite patches can be applied to the live boot environment
by invoking this script with the '--apply-prereq' option, ie.

 ./installpatchset --apply-prereq --s10patchset

 #

So i tried to install prereq

# ./installpatchset --apply-prereq --s10patchset

Setup .


Recommended OS Patchset Solaris 10 SPARC (2015.01.26)

Application of patches started : 2015.02.12 06:50:38

Applying 120900-04 ( 1 of 10) ... failed

Application of patches finished : 2015.02.12 06:50:39


Following patch failed to apply :
 120900-04

Aborting due to failure while applying patch 120900-04.

Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.

Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2015.02.12_06.50.38.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2015.02.12_06.50.38.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2015.02.12_06.50.38.log
#

Form the above logs, its compalins of

Loading patches requested to install.

Cannot check name /solpatches/10_Recommended/patches/120900-04.
----
patchadd exit code : 1
application of 120900-04 failed : unhandled subprocess exit status '1' (exit 1 branch)
finish time : 2015.02.12 06:50:39
FINISHED : application of 120900-04


Following patch failed to apply :
 120900-04

Aborting due to failure while applying patch 120900-04.

Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.


Any ideas why its failing?
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 40606644
This is patch 120900-04 readme file:
https://updates.oracle.com/readme/120900-04

It is safe to skip this patch by comment out in the patch list. Later on you can re-apply this patch by
# patchadd /var/spool/patch/120900-04.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Scripting 3 103
voice vlan on meraki using 3CX 3 60
Concurrent Sessions 6 26
Run DOS2UNIX and then execute the command 21 52
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now