1855765 Members
8609 Online
104103 Solutions
New Discussion

Re: SW Depot

 
SOLVED
Go to solution
Surey
Occasional Advisor

SW Depot

Hello,

I downloaded lsof in depot format and installed it in two of my servers to test the depot. It installed fine. I then copied the lsof.depot file into one of our depot directories and I registered the depot as "swreg -l depot /depot/lsof/lsof.depot" in our management server. Now when I run a "swlist -l product @ server:/depot/lsof/lsof.depot", I am getting an error message.

What am I doing wrong? Can someone please enlighten me?

Thanks,
Surey
Knowledge is power!
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: SW Depot

Shalom,

To remotely install or list the depot must sit on an NFS share on the management server.

Check that NFS is configured and that /etc/exports permits traffic from the host running the swlist command.

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
Surey
Occasional Advisor

Re: SW Depot

I did check to see if the /depot filesystem is exported. It is not. However there are other depots in the filesystem such as server:/depot/patches_1106, which can be accesses without server:/depot being exported as an NFS share.

Therefore I am not sure if this is the issue.

Anyone else?
Knowledge is power!
Jeff_Traigle
Honored Contributor
Solution

Re: SW Depot

You need to swcopy the depot file into the desired depot:

mv /depot/lsof/lsof.depot /var/tmp
swcopy -x enforce-dependencies=false -s /var/tmp/lsof.depot \* @ /depot/lsof

swcopy will automatically register the new depot and you can list the contents:

swlist -l product -d @ /depot/lsof
--
Jeff Traigle
Surey
Occasional Advisor

Re: SW Depot

Excellent Jeff. Thank you very much! Swcopy ing worked beautifully. I was able to list the product and install it as well.

Best Regards,
Surey
Knowledge is power!
Dennis Handly
Acclaimed Contributor

Re: SW Depot

>I am getting an error message.

It would have been helpful to list the message.
Indrajit Bhagat
Regular Advisor

Re: SW Depot

Dear Surey,

Here is indrajit, can you help me how did you install the software that is in .depot format, i am facing problem in installing package that is .depot format.
Surey
Occasional Advisor

Re: SW Depot

Hello Indrajit,

These are the steps I followed to copy the SW to a registered depot.

# First create the depot directory in server_A.
mkdir -p /depot11.23/lsof/ia64

# Now swcopy the SW into the depot and register it.
swcopy -s /tmp/lsof-4.77-ia64-11.23.depot /depot11.23/lsof/ia64

# Now Verify that the depot is registered and is accessible to other clients.
swlist -l depot @ server_A:/depot11.23/lsof/ia64

# After verifying you can install as follows:
swinstall -s server_A:/depot11.23/lsof/ia64 lsof

Hope this helped. Otherwise call the Response Centre.

Regards,
Suren
Knowledge is power!
Indrajit Bhagat
Regular Advisor

Re: SW Depot

Thanks suren, it helps me lot, thanks for spending time for me and replying to my question.
here you created the depot directory depot11.23/lsof/ia64 , i want to know that i cam make the directory name /tmp/depot directory.
Surey
Occasional Advisor

Re: SW Depot

Yes. You can make the directory /tmp/depot. However if wanted to use it often, why put it in /tmp? If it is in /tmp anyone can remove it.

Regards,
Suren
Knowledge is power!