Solved

Live upgrade with Solaris 10 issues

Posted on 2015-02-11
3
387 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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