1834007 Members
2086 Online
110063 Solutions
New Discussion

patch installation

 
bgs
New Member

patch installation

If i have 10 patches to be installed on the server how can i install multiple patches without rebooting the server each time after the patch has been installed?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: patch installation

Shalom,

Make a patch depot.

for i in PH*
do
sh $i
done

for i in *.depot
do
swcopy -s ${PWD}/$i \* @ ${1}
done

make $1 the name of the depot you wich to create.

This scripts name is depmake.

So unshar all patches in a single directory

cd to it

depmake /tmp/mypatch.depot

Now you have a depot called /tmp/mypatch.depot

swinstall -x autoreboot=true -x reinstall=false -s /tmp/mypatch.depot \*

1 Boot can include hundreds of patches no problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rashid Hamid
Regular Advisor

Re: patch installation

You can use create_depot_hpux_11. Just run it and it will create a depot for all patches. You can get the tool when downloading the patch via itrc.
I'm Parit Madirono/Parit Betak Boyz
Shashi Bhargava
Advisor

Re: patch installation

hi,

What patches you r going to install,
if you download the patch form itrc site you'll get create_depot_hp-ux_11, patch_manifest along with the patches copy all these into one directory and run the script create_depot_hp-ux_11, it'll make a bundle, install that bundle.

Thanks