Operating System - HP-UX
1834447 Members
3170 Online
110067 Solutions
New Discussion

Swinstall Autoreboot option

 
Eric Jacklin
Regular Advisor

Swinstall Autoreboot option

Hi team,

If i will keep autoreboot=ture then system will reboot ?(I don't want system to be rebooted after patch installation)

What is the right command to implement the patch with out reboot.



swinstall -x autoreboot=true -x patch_match_target=true \-s tmp/PHCO_XXX.depot
5 REPLIES 5
Siju Vadakkan
Trusted Contributor

Re: Swinstall Autoreboot option

Suppose the patch you are going to install doesnt require a reboot then even if u specify "autoreboot=true" in the swinstall command, the system would not reboot.

But you can't install a patch that requires reboot without the option "autoreboot=true"

Re: Swinstall Autoreboot option

Your question makes no sense.

If a patch needs a reboot, you should wait until you *can* do a reboot before installing it. If a patch says it needs a reboot - its not optional.

If a patch doesn't need a reboot, you don't need the option.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Dennis Handly
Acclaimed Contributor

Re: Swinstall Autoreboot option

This is not like windows where you can delay the reboot.
On HP-UX 11.23 there is a DRD product where you can update an alternate root disk and then reboot later:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1090024
James R. Ferguson
Acclaimed Contributor

Re: Swinstall Autoreboot option

Hi:

Delaying a reboot makes no sense when you consider that you don't want (can't have) inconsistencies between (e.g.) the running kernel and system libraries and/or between older in-use executables and libraries.

A reboot is ofen required to complete installatiion.

If you don't want to reboot, don't update software that requires a reboot.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Swinstall Autoreboot option

>JRF: inconsistencies between ... older in-use executables and libraries.

Since the libs are also in-use, they don't get changed, so changing libs doesn't reboot.
The only flaw would be using shl_load/dlopen on changed libs.