- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Depot file creation
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
12-22-2005 04:38 PM
12-22-2005 04:38 PM
Depot file creation
I have created the depot and now want to distribute it to others. The depot i have created is in form of directory. If I wish to distribute it do I need to create a tar of both the depot of my sw and the catalog directory. What I understand is I can create a single .depot file but only when it is on tape otherwise it creates a directory using the command below.
# /usr/sbin/swpackage -v -s XYZ.psf -x target_type=tape @
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 04:46 PM
12-22-2005 04:46 PM
Re: Depot file creation
Yes, you can create a tape depot and gzip it. Tape depot is already tarred internally and named *.depot.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:09 PM
12-22-2005 05:09 PM
Re: Depot file creation
You can only distribute the resulting depot file. Nothing else is required to be distributed. On remote hosts use
#swinstall -s /path_to_file/file.depot
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:14 PM
12-22-2005 05:14 PM
Re: Depot file creation
When I just tarred my sw directory and put it in my home directory on a new machine I was not able to install since swinstall was not able to find the depot. It was only when I copied catalog directory too there then I could install it using
swinstall -s localhost:/home/manish
otherwise it give error.
Am I missing something?.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 07:47 PM
12-22-2005 07:47 PM
Re: Depot file creation
Have you registered the depot on the new server ?
Otherwise swinstall will not find it.
swreg -l depot /path/
After swreg, check with swlist that the depot has been registred on the server
swlist -l depot
If it's there, install with swinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 07:59 PM
12-22-2005 07:59 PM
Re: Depot file creation
As mentioned earlier, the depot file was the only requirement for the swinstall to work. This file is allready compressed and one will not get much out of compressing or tarring it.
In whatever way you moved files, if you have one depot file there swinstall should work. If you have moved files using tar then untar them to get the depot file and then run swinstall command.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 08:15 PM
12-22-2005 08:15 PM
Re: Depot file creation
It seems I am not able to explain my problem. Let me state it agiain. I have a code "test_pack" for which I created a psf file and ran the following command.
swpackage -s /home/manish/test.psf @ /home/manish
This gave me the following directory hierarchy
/home/manish/catalog and /home/manish/test_pack
I don't have any .depot file.
Also since I don't have to install it from the network I guess I don't need to register it. What I want is to install my software on a standalone machine. I will ftp it to that m/c and then disconnect it from the network. Now what are the files/directories and in which format should I transfer them so that swinstall works properly?
Thanks in advance for your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 08:22 PM
12-22-2005 08:22 PM
Re: Depot file creation
You can just tar the dir /home/manish/catalog and /home/manish/test_pack and ftp to any machine,.In machine B, you need to untar and register it. If you can able to create a tape depot, it would be very easy as you dont need to swreg anywhere.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 08:25 PM
12-22-2005 08:25 PM
Re: Depot file creation
the answers were good for me
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=981165