Operating System - HP-UX
1836380 Members
2434 Online
110100 Solutions
New Discussion

Re: SW package / copy on Remote Server

 
abcd7
Frequent Advisor

SW package / copy on Remote Server


Hi,

I am trying to run 'swpackage' from a depot avialble on a remote server.

Here is the syntax, I had used, which failed eventually .

swpackage -x target_type=tape -s \* @

Could you tell me why it failed ?

Similary, I was unable to use 'swcopy' for a Depot file available on the remote server. I tried regisering the Depot file on the remote server, but no use.

But when I convert the *.depot file to directory format, I can do 'swcopy'.

Any thoughts ?


Thankz

ABCD

9 REPLIES 9
Marco A.
Esteemed Contributor

Re: SW package / copy on Remote Server

What is the error tha is showing the swpackage.?

Marc0
Just unplug and plug in again ....
Emil Velez
Honored Contributor

Re: SW package / copy on Remote Server

use swregister or swcopy the software on ther remote system to a depot on the remote system then the depot becomes registered.
Dennis Handly
Acclaimed Contributor

Re: SW package / copy on Remote Server

the last time I looked at swpackage(1m) it says it doesn't work on remote files. You must first swcopy to a local depot, then you can use swpackage.
abcd7
Frequent Advisor

Re: SW package / copy on Remote Server


Hi All,

Many thanks for your replies.

I did regeister the depot in either case. May be it is not supported for 'swpackage' .

Can you tell me why I was unable to 'swocpy' a *.depot file available on a remote server ?



Thanks

ABCD
Dennis Handly
Acclaimed Contributor

Re: SW package / copy on Remote Server

>May be it is not supported for 'swpackage' .

It very clearly says it isn't:
The swpackage command is not distributed; it only operates on the local host.

>Can you tell me why I was unable to 'swcopy' a *.depot file available on a remote server ?

What was your syntax? Did you say it wasn't a directory depot?
# swcopy -enforce_dependencies=false -s remove-server:/path \* @ absolute-path-to-target
abcd7
Frequent Advisor

Re: SW package / copy on Remote Server



Hi Dennis,

Yes I did use *.depot file. Here is the syntax, that I used.

swcopy -x enforce_dependencies=false -s
:/*.depot \* @


It didn't work. Gave me an errot that I didn't have permission to use SW on the remote *.depot file, and I should use 'swacl' to fix it.

I did also try registering the *.depot file on the remote server. No use.

If I convert this *.depot file to directory format and use 'swcopy', it works fine.


Many Thanks

ABCD
Dennis Handly
Acclaimed Contributor

Re: SW package / copy on Remote Server

>Gave me an error that I didn't have permission to use SW on the remote *.depot file, and I should use 'swacl' to fix it.

I guess you can't use swcopy on remote tape depots. You have to use a NFS path and remove the machine name.

>If I convert this *.depot file to directory format and use 'swcopy', it works fine.

Then you'll have to do that or make that tape depot available over NFS or copy it local.
abcd7
Frequent Advisor

Re: SW package / copy on Remote Server



Hi Dennis,

Many Thanks. Have a great weekednd.


Cheers

ABCD


abcd7
Frequent Advisor

Re: SW package / copy on Remote Server



Many thanks for all your help.