- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- optional post-install scripts
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-17-2004 11:23 PM
02-17-2004 11:23 PM
I'd like to allow the installation of different versions of a piece of software to be selected at ignite time.
I have these post install scripts in my config file
post_config_script += "/var/opt/ignite/scripts/install_v1"
post_config_script += "/var/opt/ignite/scripts/install_v1.1"
post_config_script += "/var/opt/ignite/scripts/install_v1.2"
post_config_script += "/var/opt/ignite/scripts/install_v2"
This requires the operator to unselect the versions they don't want to install or else install all versions! ie. They all appear in the "Scripts to be Executed" list in itool and will all run at the post_config stage.
I'd like to have "/var/opt/ignite/scripts/install_v2" as the default but the others as "Available Scripts" so that an operator gets the default one or can choose another.
Does the post_config_script syntax support that or is there some cunning trick I can use to get the same functionality?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2004 07:51 AM
02-18-2004 07:51 AM
Re: optional post-install scripts
1. Combine your four post_config scripts into one big script. Let the script figure out which version to run, based on the target machine.
2. Use Ignite config script logic to determine which one you want to run, and just run the one you want.
(These solutions assume that you can automate the decision to pick one of them.)
You really want to remove the error-prone manual step where an operator has to edit this script list. You may really want ignite to run all by itself (non-interactive), with no operator tending it (i.e. the 'bootsys' cmd).
.....
The only way I know to default to one is to use '=' instead of '+='. But then you get only one of them in the interactive panel. User would have to 'know' the other names and edit them in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 08:51 PM
02-23-2004 08:51 PM
Solutionyou could also look at the exrequisite statement to make the scripts mutually exclusive
for an example look at language selection in /opt/ignite/data/examples/core11.cfg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 10:10 PM
02-23-2004 10:10 PM
Re: optional post-install scripts
This is certainly the best idea I've heard though. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 08:26 PM
03-03-2004 08:26 PM
Re: optional post-install scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 08:52 AM
05-12-2004 08:52 AM
Re: optional post-install scripts
What releases of Ignite do people have in which they know their post_config scripts are actually running?
Here is how we have ours specified:
[/var/opt/ignite]#cat config.local
# /var/opt/ignite/config.local: config file to be used for local customizations.
post_config_script += "/var/opt/ignite/MR_DR_postload.sh"
Scott