- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating S/W Depot of a product
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
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
06-28-2004 05:02 PM
06-28-2004 05:02 PM
Creating S/W Depot of a product
I am having infromix tar file, Can I prepare
Depot file from this so that when ever I need
to install it on my server I just run the
swinstall command and it will also get added
into the S/W Management so when I want to
uninstall I can do that.
The depot file should do all the task
i.e creating user for informix setting ENV
for user and root etc.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 05:08 PM
06-28-2004 05:08 PM
Re: Creating S/W Depot of a product
I think you can do it by swpackage. Just check the manpage of swpackage.
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 05:53 PM - last edited on 09-16-2024 02:27 AM by support_s
06-28-2004 05:53 PM - last edited on 09-16-2024 02:27 AM by support_s
Re: Creating S/W Depot of a product
you'll have to create a product specification file, describing the product and version and all its pre/post install/remove actions. A pre-install might be checking for disk space (for unpacking the tar file) and checking the absence / existence of an informix account. A post install action might be extracting the tar file and creating some users and environment variables. If you unpack the tar file first in some subdirectory, you can also specify files and file permissions. I would say: keep it simple as you have no control over the informix tar file in the next release.
JP.
- Tags:
- Systemboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 06:07 PM
06-28-2004 06:07 PM
Re: Creating S/W Depot of a product
We have to create PSF ( product specification file) and make the package with swpackage command.
Use the check/pre/post/*remove scripts to check the memory,make the environment for the users and tar file.
While setting environment with scripts,we can not use env variables. We have to export the variables and it's information. By default SD commands took sd environment setup informations.
After creating package,(sw)install it.The check the swjobs log to analyse the installation.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 06:10 PM
06-28-2004 06:10 PM
Re: Creating S/W Depot of a product
Does anyone have the document to create
Package using swpackage, man pages are not
enough for me.
Apart from that do I have to write a script
for checking disk space, creating user and
pre/post installation configuration.
Thanks,
AMit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 06:32 PM
06-28-2004 06:32 PM
Re: Creating S/W Depot of a product
To create the PSF file,swpackage.4 and sd.(1m,4,5) man pages are good and enough.
man pages contains all informations and the flow to create it.
There is no vendor and category informations are needed if you are doing for your own usage. Product / bundle and filesets are enough do it. Use the required fields of the bundle or fileset on PSF
Test the scripts on shell without using the sd commands in begin. Key thing is we can not use the env variables here. Export every variable.
Create the normal scripts to create user and disk usage check. Use the name as preinstall or postinstall,place where it has to be executed.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 07:27 PM
06-28-2004 07:27 PM
Re: Creating S/W Depot of a product
Following muthu..
This is how we use swpackage command in our script.
/usr/sbin/swpackage -vv -s ./$PKG.psf -x write_remote_files=true -x run_as_superuser=false -x create_target_acls=false -d $DEPOT_DIR
Hope this helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 12:34 AM
06-29-2004 12:34 AM
Re: Creating S/W Depot of a product
http://www.hpworks.org.uk/newsletter/articles/depots/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 02:38 AM
06-29-2004 02:38 AM
Re: Creating S/W Depot of a product
Here are the links to the docs:
For 11i:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90754/B2355-90754.html
For 11i v2:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90789/B2355-90789.html
HTH.
Regards,
Sri Ram