- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall disabling preinstall, postinstall sc...
Operating System - HP-UX
1748139
Members
3792
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-11-2010 06:47 AM
тАО03-11-2010 06:47 AM
swinstall disabling preinstall, postinstall scripts
Hello everybody,
I need to install some sd-packages on our failover system.
During swinstall the postinstall script creates some objects in our database. Since this db ist not running all the time and there is actual no need to create objects due to archive logs, I was wondering if there is some switch where I can tell swinstall to not perfom any preinstall- or postinstall- script activities.
I read about defer_configure=true, but that disables only the configure part in swinstall.
I'm used to the RPM System where you can use the options -nopre, -nopost, -nopreun, nopostun or even no scripts at all.
I'll be glad for any hint, Thanks in advance!
I need to install some sd-packages on our failover system.
During swinstall the postinstall script creates some objects in our database. Since this db ist not running all the time and there is actual no need to create objects due to archive logs, I was wondering if there is some switch where I can tell swinstall to not perfom any preinstall- or postinstall- script activities.
I read about defer_configure=true, but that disables only the configure part in swinstall.
I'm used to the RPM System where you can use the options -nopre, -nopost, -nopreun, nopostun or even no scripts at all.
I'll be glad for any hint, Thanks in advance!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 08:48 AM
тАО03-11-2010 08:48 AM
Re: swinstall disabling preinstall, postinstall scripts
I'm not aware of any option to do that.
If there is something that is adding entries to a database, then this should have been in a configure vs postinstall script.
You don't want to disable preinstall scripts.
If there is something that is adding entries to a database, then this should have been in a configure vs postinstall script.
You don't want to disable preinstall scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:52 AM
тАО03-12-2010 06:52 AM
Re: swinstall disabling preinstall, postinstall scripts
Hi,
You could try to have a look inside that depot. Is it a tape depot? A tape depot has a tar format, you could try to untar it, and edit the PSF files and the post/preinstall scripts according to your needs. After that, an swpackage and voila' - you will have a tape depot tailored to your needs.
You could try to have a look inside that depot. Is it a tape depot? A tape depot has a tar format, you could try to untar it, and edit the PSF files and the post/preinstall scripts according to your needs. After that, an swpackage and voila' - you will have a tape depot tailored to your needs.
****
Unix operates with beer.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 11:41 AM
тАО03-12-2010 11:41 AM
Re: swinstall disabling preinstall, postinstall scripts
>Viktor: you could try to untar it, and edit the PSF files and the post/preinstall scripts
If you are going to cheat like this, instead of tar, use swcopy to create your directory depot.
If you are going to cheat like this, instead of tar, use swcopy to create your directory depot.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP