1753734 Members
4427 Online
108799 Solutions
New Discussion юеВ

Re: swinstall

 
Waugh
Frequent Advisor

swinstall

Hi,

I have two servers prodA and ProdB. I have registered the depot on prodA . and I am installing the bundle on ProdB from prodA servers. I am using the below command
swinstall -s prodA:/var/tmp/.

then I am getting the error pls mention the valid absloute path. but in swinstall i m giving the absolute path where I have created the depot. Pls any suggestion .

Regards
Rkumar
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: swinstall

Exact output from the command would be more helpful.

You must also specify the product(s) that you want to install from that bundle. If you want to install everything you can try:

swinstall -s prodA:/var/tmp/ \*

That is a \* after the bundle name.

Try that and post the exact output or the log from the command.
Lijeesh N G_1
Respected Contributor

Re: swinstall

Hi Rkumar,

Check the depot 1st by listing the depots and then try to install,

>>Listing Software from a Remote server
=====================================

#swlist -d @prodA:/var/tmp

Eg.
#swlist -d @xyz.usa.hp.com:/hpvl_depot/ignite/Rel_B.11.23

>>Installing Software from a Remote server
=======================================

#swinstall -x autoreboot=true -s prodA:/var/tmp
Eg.
#swinstall -x autoreboot=true -s xyz.usa.hp.com:/hpvl_depot/ignite/Rel_B.11.23 T1335BC


Regards,
LIJEESH N G
Vishu
Trusted Contributor

Re: swinstall

Hi rkumar,

you need to specify the bundle name to install. try doing swlist first as

# swlist -s prodA:/var/tmp/

Now, select the bundle name from the output list. Then, do

# swinstall -s prodA:

if you want to install all then do,

# swinstall -s prodA: \*

Thanks

Re: swinstall

Hi,

try using swlist to figure out what the real depot path is:

from ProdB, run:

swlist -l depot -s prodA


That will show you all the depots registerd on prodA

HTH

Duncan

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

Re: swinstall

>Lijeesh: #swlist -d @prodA:/var/tmp

I would suggest you don't fall into the SD trap of having N ways to do things. Simply use -s:
swlist -s prodA:/var/tmp