- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swmodify new fileset
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
02-06-2002 12:05 PM
02-06-2002 12:05 PM
swmodify new fileset
I want to add a fileset to an existing installed product using swmodify in HP-UX11.00. I can create my own psf and have tried this but I always seem to end up with a new product containing the fileset that I wanted to appear in my existing one. Has anyone done this before ?
Thanks,
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 02:32 AM
02-07-2002 02:32 AM
Re: swmodify new fileset
I haven't done this myself either, but I conclude after reading the man page (man 4 swpackage) that the directives you need to use are "ancestor" and "is_sparse".
Basically, you need to setup a PSF for your fileset and then specify the base product in the "ancestor" field, i.e. "MyProd.Commands". The "is_sparse" needs to be set to "true", because this tells SD-UX that this PSF is merely a subset of the "ancestor" and not a complete product by itself.
Hope this helps.
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 04:42 PM
02-07-2002 04:42 PM
Re: swmodify new fileset
Also tried '-x software=prod,r=## on the command line.
Surely this is a really simple thing to do is it not ?
Thanks again; Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 04:49 AM
02-08-2002 04:49 AM
Re: swmodify new fileset
Could you please post the PSF file and the complete swmodify command that you use.
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2002 08:21 AM
02-10-2002 08:21 AM
Re: swmodify new fileset
Here is one of the psf's I tried. It creates a new product when I don't want it to. Apart from that when I try:
swremove itmsc.dacs_sw
I get:
"ERROR: "elmer:/": Could not allocate memory for the agent, daemon or PC controller serving this operation."
and I cannot remove it. I can still remove other software though so there is nothing wrong with sd-ux itself.
I'm starting to think that the swmodify part of sd-ux is rather hopeless. It does not seem able to do any of what I would consider simple things it appears to be designed for, eg It cannot even cope with a full s/w spec to select software - not exactly compatible with the other sd-ux commands!
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2002 09:48 PM
02-10-2002 09:48 PM
Re: swmodify new fileset
I just tried out and seems like it is working.
What you need to do is :
1. Create a PSF file, with the product definition (the 'tag' and 'revision') exactly same as the installed product on which you want add the new file set.
2. Define the fileset under this product and give it the same revision as the installed on your box and then specify all the files which need to go into the fileset.
3. Finally run "swmodify -s
Note that the above command issues warnings about already installed filesets, the warning looks something like this :
WARNING: The fileset "
Fileset "
I did'nt yet study the consequences of this warning. But I think this should not effect the current installed products functionality.
I hope this helps you solve the problem. Also be sure you have a backup of the existing product in case ;)
Bye,
Raghu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 01:47 AM
02-11-2002 01:47 AM
Re: swmodify new fileset
This is pretty much what I did. However the product I'm trying to add a fileset to has a 'directory' setting other than '/' and so far it seems that swmodify cannot cope with a directory spec (translated into location for installed s/w). I'm now working on creating the psf and packaging it before installing it from a tmp depot. A long way round I know, but if it works then I'll be happy.
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 04:49 AM
02-12-2002 04:49 AM
Re: swmodify new fileset
If I understand correctly, you are trying to add a fileset to the product installed on /tmp directory.
You can do that by running swmodify command, like Raghu suggested. You only need to specify the location of the product:
swmodify -s psf.file product_name @ /tmp
More information on using swmodify command can also be found in man pages (man swmodify).
Regards,
Mateja