- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- post configuration commands
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
Discussions
Discussions
Forums
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
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
тАО08-12-2005 03:23 AM
тАО08-12-2005 03:23 AM
-if I put it in /var/opt/ignite/
-I tried putting it into /vat/opt/ignite/config.local but nothing is executed
-I also tried the /var/opt/ignite/
My post_config_cmd commands only do a few simple echoes to mailx to mail out some data.
How can this be done properly?
Thanks,
james
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 03:45 AM
тАО08-12-2005 03:45 AM
Solutionmy entry in /var/opt/ignite/INDEX is as follows.
very bottom of the file:
scripts {"/path/post_script"}
another way to do it. is to add
post_script += script
to your core cfg that you use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 04:04 AM
тАО08-12-2005 04:04 AM
Re: post configuration commands
Thanks!
james
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 05:48 AM
тАО08-12-2005 05:48 AM
Re: post configuration commands
config.local should have ran your post script if you used the correct syntax.
did you have
post_config_script += script
I believe most configurations in INDEX use config.local.
You might have to put some logic into the config.local for each of your clients.
for example:
(HARDWARE_MODEL ~ 9000/800/L3000") {
post_config_script += lpost } else { post_config_script += rppost }
not 100% sure if my syntax is correct there.
You might want to search docs.hp.com for the ignite manual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 06:03 AM
тАО08-12-2005 06:03 AM
Re: post configuration commands
Can you add subsequent post_config_cmd+=... commands or you must specify a script to execute? Is this going to be executed at the very end?
Thanks,
james
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 06:12 AM
тАО08-12-2005 06:12 AM
Re: post configuration commands
You can do the following
post_config_cmd += "
list
cmds
here"
example:
post_config_cmd += "
/usr/sbin/ch_rc -a -p NFS_SERVER=0
/usr/sbin/ch_rc -a -p NFS_CLIENT=1
/usr/sbin/cp /etc/nsswitch.files /etc/nsswitch.conf"
They do run last from my knowledge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 06:19 AM
тАО08-12-2005 06:19 AM
Re: post configuration commands
If I use a post_script then this will have to go in an INDEX and I will probably have to use manage_index to put them there, etc.
I would like to use the post_config_cmd but I don;t know where to put it. Tried config, config.local, config.full, control_cfg. No success :(
james
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 06:25 AM
тАО08-12-2005 06:25 AM
Re: post configuration commands
config.local is probably the correct place.
making sure your INDEX is correct and logic is correct in config.local is the challenge.
Are the customizations hardware specific? or selection specific?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 06:30 AM
тАО08-12-2005 06:30 AM
Re: post configuration commands
That should be a link to the Ignite Administrators Guide in pdf form. start at page 154 it covers customized installations with post scripts etc..