1846626 Members
1851 Online
110256 Solutions
New Discussion

install question

 
SOLVED
Go to solution
navin
Super Advisor

install question

Hi,
I have created multiple depot for the patches and i would like to know if i can install all the depots with out the reboot . I would like to reboot once everything is done.
"autoreboot=" was helpless in this regard.Please suggest.
Thanks
Learning ...
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: install question

You need to combine all of the depots into a single depot.

# swcopy -x enforce_dependencies=false -s /var/tmp/depot_name \* @ /var/tmp/new_depot

# swcopy -x enforce_dependencies=false -s /var/tmp/depot_name2 \* @ /var/tmp/new_depot

Use the same syntax for each depot and make sure you point to the same target depot (the part after the @ symbol) for each source (the part after the '-s').
James R. Ferguson
Acclaimed Contributor

Re: install question

Hi:

To combine two depots and install the composite with one reboot, do:

# swcopy -v -s /tmp/depot1 -x enforce_dependencies=false \*
@ /var/tmp/swdepot

# swcopy -v -s /tmp/depot2 -x enforce_dependencies=false \*
@ /var/tmp/swdepot

The use of '-x enforce_dependencies=false' permits dependent patches to be absent. This is fine until you actually apply the depot with 'swinstall'. Then, you do:

# swinstall -s /var/tmp/swdepot -x enforece_dependencies=true -x autoreboot=true -x patch_match_target=true

The 'autoreboot=true' option acknowledges that you will reboot if one or more patches require it. Otherwise, no reboot will occur.

Regards!

...JRF...
navin
Super Advisor

Re: install question

Thanks so much
Learning ...
James R. Ferguson
Acclaimed Contributor

Re: install question

Navin:

When posts come in within *minutes* of one-another, etiquette would be to offer points to all anwwers according to their individual merit. You should read Patrick's document here:

http://66.34.90.71/ITRCForumsEtiquette/

...JRF...