1833051 Members
2277 Online
110049 Solutions
New Discussion

dec 2006 gold patches

 
JOHN TURNER_2
Frequent Advisor

dec 2006 gold patches

hello

i need to install the three patch bundles for the dec 2006 gold patch bundle, and want to install all three patch bundles without having to reboot the server. The reason for this is because we want to install the bundles and then when the system does it's weekly reboot incorporate the patch reboot into this

whats the easiest way of doing this

thanks in advance

John
GUI's are for wimps!
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: dec 2006 gold patches

Use swcopy to gather all three bundles into one depot from which you can select them all at once.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: dec 2006 gold patches

Hi John:

You can't do that. To attempt to apply patches that require a reboot would leave the current kernel and its environment in a potentially inconsistent state, if in fact, you could coerce 'swinstall' to delay the reboot.

You need to roll your weekly reboot and patch session into one. As an aside, why in the world do you reboot weekly? This isn't that other operating system!

Regards!

...JRF...
Aussan
Respected Contributor

Re: dec 2006 gold patches

you'll have to wait until you are ready to reboot then install the depot

the installation will reboot the system
The tongue weighs practically nothing, but so few people can hold it
JOHN TURNER_2
Frequent Advisor

Re: dec 2006 gold patches

i know its not windows, but its what the customer wants to do. Could we perform an swinstall -X no reboot option when we install the patches
GUI's are for wimps!
James R. Ferguson
Acclaimed Contributor

Re: dec 2006 gold patches

Hi (again) John:

If I misunderstood, and all you are asking is to perform ONE reboot for the patch application, then that's easily done.

Use 'swcopy' to create a single depot of the three patch bundles:

# swcopy -v -s /tmp/HWEnable11i_B.11.11.0612.458.depot -x enforce_dependencies=false \* @ /var/tmp/swdepot

# swcopy -v -s /tmp/GOLDQPK11i_B.11.11.0612.459.depot -x enforce_dependencies=false \* @ /var/tmp/swdepot

...note the 'enforce_dependencies=false' to defer the dependency analysis until you actually 'swinstall' ('-s /var/tmp/swdepot') the fully built depot.

Regards!

...JRF...
Ramones
Frequent Advisor

Re: dec 2006 gold patches

I John

Use swcopy -s [depot_dir]
(example: if you have the CD/DVD mounted on /cdrom ... swcopy -s /cdrom/GOLDQPK11i....depot), you must then specify a target dir (where you want to copy the SW).
Do this with Gold App and Gold Base.
In the end make a swverify to make sure everything is OK (swverify -d \* @ [your_created_depot]

Hope this helps
STP
JOHN TURNER_2
Frequent Advisor

Re: dec 2006 gold patches

hi

thanks for all your help, i have managed to create the necessary depots and verified the depots that everything is fine. Is there a way to run a non interactive swinstall via the command line, as i want to schedule it to run through cron, so that they will install prior to the weekly system reboot
GUI's are for wimps!
Torsten.
Acclaimed Contributor

Re: dec 2006 gold patches

swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/your_depot.depot


The system will reboot after the installation is finished. Some patches insists of this parameter, otherwise they will be excluded.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: dec 2006 gold patches

If you're going to run this non-interactively from a cron, I'd strongly advise you to at least run through a preview before going ahead with the installtion (just add a -p to Torsten's command line)

HTH

Duncan

I am an HPE Employee
Accept or Kudo