- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to change /var/spool/sw depot path
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 02:37 AM
01-24-2008 02:37 AM
I want to create a depot folder in a server to store the depot files to be accessed from another servers by swinstall. How can I do that?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 03:36 AM
01-24-2008 03:36 AM
Re: How to change /var/spool/sw depot path
#swreg -l depot /path/
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 03:43 AM
01-24-2008 03:43 AM
Re: How to change /var/spool/sw depot path
ERROR: Failed to register soc on "/tmp/depots" for root@setlet1.
"/tmp/depots" is not a valid depot.
However if a run swreg -l depot /tmp/depots/file1.depot
file by file, it works. But the idea is from a remote system, choose all the depots at one time to be installed, as I can do with the depots in /var/spool/sw.
Good try!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 04:22 AM
01-24-2008 04:22 AM
Re: How to change /var/spool/sw depot path
This is just a directory that contains depots.
>However if a run swreg -l depot ... file by file, it works.
Yes, you must register each depot. Or when you use swcopy to create the depot, it will register it automatically.
>choose all the depots at one time to be installed, as I can do with the depots in /var/spool/sw.
You can't. You probably only have one depot in /var/spool/sw.
You must install from one depot at a time. I.e. put all the software in a giant depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 04:31 AM
01-24-2008 04:31 AM
Re: How to change /var/spool/sw depot path
After that register it as a depot:
# swreg -l depot /depot_path
and copy all desired software from .depot files to depot directory:
# swcopy -x enforce_dependencies=false -s /tmp/file.depot \@ /depot_path
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 04:49 AM
01-24-2008 04:49 AM
SolutionTechnically you don't need to do this. swcopy will do it for you.
I would suggest you treat a depot as a thingy and that you let the SD tools manipulate it.
> ... \@ ...
That's: \* @ ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 05:20 AM
01-24-2008 05:20 AM
Re: How to change /var/spool/sw depot path
you can create such a folder with 'swcopy' from your depot to a directory.
You have to do it for every depot once.
Then you've a directory with a collection of depots (patches, sw).
If you prefer a GUI, you can start 'swcopy' and 'swinstall' alone, then you'll get a GUI where you can choose different things, for ex. for installation a 'source host name' and a 'source depot path'.
You can create different pathes for different os (11.0, 11i, ...) or different levels or configuration dates.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 05:42 AM
01-24-2008 05:42 AM
Re: How to change /var/spool/sw depot path
> choose all the depots at one time to be
> installed, as I can do with the depots
> in /var/spool/sw
The keyphrase here is "choose all depots at one time". You can not do this the way they are right now because each depot is its own independent depot.
You have to use swpackage and combine all individual depots into one big one. To use swpackage you must untar each depot to its own SEPARATE folder and use swpackage repeatedly
swpackage -s depot1-folder @ new-big-depot
swpackage -s depot2-folder @ new-big-depot
swpackage -s depot3-folder @ new-big-depot
and so on
Then you can use swinstall with new-big-depot as the source and select any or all of the products in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2008 07:06 AM
01-24-2008 07:06 AM
Re: How to change /var/spool/sw depot path
1. mkdir /tmp/depot_path
2. swreg -l depot /tmp/depot_path
3. swcopy -x enforce_dependencies=false -s /tmp/file.depot \@ /tmp/depot_path
Thanks to all you!!