Operating System - HP-UX
1748238 Members
3590 Online
108759 Solutions
New Discussion юеВ

Re: Patch Deploy using swinstall

 
SOLVED
Go to solution
Philemon_2
Frequent Advisor

Patch Deploy using swinstall

Hi Experts

I have downloaded the expect-5.43-ia64-11.23.depot on Server1 one and now i need to Using swinstall to deploy from server1 /depot/EXPECT/expect-5.43-ia64-11.23.depot to install on the servers indicated below

Server2
server3
Server4
Server5

Please help me how do i go ahead on doing this

Thanks,
Phil
10 REPLIES 10
Ganesan R
Honored Contributor
Solution

Re: Patch Deploy using swinstall

Hi Philemon,

You cannot deploy it from server1 to all the nodes. Instead you have to use the depot server1:/expect-5.43-ia64-11.23.depot as Network depot and run swinstall on all the nodes. Follow the steps.

On server1,

#swreg -l depot

The above command will register the depot.

Then run this command on all the nodes.

#swinstall -v -s server1:/ \*

If you need include the options like -x autoreboot=true etc.,

The above command will use the depot file available from server one and install the product expect.

Best wishes,

Ganesh.
Tingli
Esteemed Contributor

Re: Patch Deploy using swinstall

And you can see the depot in server 1 in all the other servers by using:

swlist -l depot @ server1
Philemon_2
Frequent Advisor

Re: Patch Deploy using swinstall

Thanks for your reply Ganesh,

What if i have to do two /depot/EXPECT/expect-5.43-ia64-11.23.depot and /depot/EXPECT/tcltk-8.5.7-ia64-11.23.depot.

Please advice
Lijeesh N G_1
Respected Contributor

Re: Patch Deploy using swinstall

Hi,

1) Check whether depot is registered,
#swlist -l depot <<==If it regsitered, here it will show the depot.
if not, register it by,
#swreg -l depot

Again verify with.
#swlist -l depot


2) To install it from other servers, run,
#swinstall -s server1:

Regards,
LIJEESH N G
Tingli
Esteemed Contributor

Re: Patch Deploy using swinstall

You can combine those depots into a single depot in server1. Then do the installation in each server.

See:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1250004657522+28353475&threadId=1030973
Lijeesh N G_1
Respected Contributor

Re: Patch Deploy using swinstall

Hi,

#swreg -l depot /depot/EXPECT/ <<<==To register
#swlist -l depot <<==To verify
#swinstall -s server1:/depot/EXPECT/ <<<===To install from other servers.

Regards
LIJEESH N G
Ganesan R
Honored Contributor

Re: Patch Deploy using swinstall

Hi Philemon,

>>What if i have to do two /depot/EXPECT/expect-5.43-ia64-11.23.depot and /depot/EXPECT/tcltk-8.5.7-ia64-11.23.depot.<<

You can follow the same steps for both depot. Or else create a single deport which combines both product and install it on a single shot. Follow these steps.

Copy both depots into /tmp/new folder. then,
# cd /tmp/new
# for i in *.depot
do
swcopy -s /tmp/new/$i \* @ /tmp/new/depot
done

Then register the depot.

#swreg -l depot /tmp/new/depot

Check the depot by listing the products,

#swlist -d @/tmp/new/depot

The above command should list both "expect" and "tcltk" products. Now run this command on all the servers.

#swinstall -v -s server1:/tmp/new/depot
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: Patch Deploy using swinstall

Shalom,

Hi, you should build a depot that includes all dependencies.

Deploy it on an NFS share.

cd into the depot
swreg -l depot

You can install from all servers based on this depot build.

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
Philemon_2
Frequent Advisor

Re: Patch Deploy using swinstall

All the above options are good to perform

Special thanks to Ganesan R.