- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: save_config
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
тАО10-14-2001 11:25 AM
тАО10-14-2001 11:25 AM
One... what's the syntax to run save_config on a image.gz file versus on a running system itself
two....what do I do with the output of the command? How do I incorporate it and where
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2001 03:01 PM
тАО10-14-2001 03:01 PM
Re: save_config
Following is precisely the way you create a golden image.
1. On the GOlden system run the command make_sys_image -d /some_where. YOu need to copy make_sys_image from the ignite server onto the golden system. Make sure the golden system is being non-used during this time. I would suggest to install a fresh system with all the patches, default softwares etc.,etc.,before making the golden image.
2. Copy /some_where/golden_system.gz on the golder server to a directory on the ignite server say /my_images
3. Take a copy of the default config file and modify it.
cp /opt/ignite/data/examples/core11.cfg /my_images/golden.cfg
4. Modify golden.cfg and add these modify in sw_source function
nfs_source="IP_ADDR_OF_IGNITESERVER:/my_images
You can modify other pointers like description etc in this function.
Search for sw_sel function and modify description etc.,. Most importantly the archive_path
archive_path="golden_system.gz"
Run the command archive_impact to get the impacts statements.
/opt/ignite/lbin/archive_impact -t -g /my_images/golden_system.gz
Modify the impacts statements in the golden.cfg with the acutal results.
5. Finally edit /var/opg/ignite/INDEX file and add the above configuration for the ignite server to recognize the golden image.
cfg "GOlden image for 11.00 for Some_class {
Description "bla..bla..bla "
"/opt/ignite/data/Rel_B.11.00/config"
"/my_images/golden.cfg"
"/var/opt/ignite/config.local" }
6. Make sure that /my_images directory has been exported and is nfs available.
This will appear in the Ignite Screen and will be available to be pushed.
What I am saying is that you don't need to do anything with the output of save_config command as it is not used in preparing the ignite images.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2001 05:19 PM
тАО10-14-2001 05:19 PM
Re: save_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 11:32 AM
тАО10-15-2001 11:32 AM
Re: save_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 11:36 AM
тАО10-15-2001 11:36 AM
Re: save_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 11:49 AM
тАО10-15-2001 11:49 AM
Re: save_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 12:29 PM
тАО10-15-2001 12:29 PM
SolutionUnderstood. YOu just need to run save_config -f /tmp/configs on the golden system and append this file to /my_images/golden.cfg on the ignite server to preserve the configuration information.
I do not create anything other than vg00 so the default setup works fine for me.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 12:36 PM
тАО10-15-2001 12:36 PM
Re: save_config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2001 12:44 PM
тАО10-15-2001 12:44 PM
Re: save_config
We can't run save_config on an already existing .gz file. However, you can create it like a default golden image. Restoration should take care of it though I didn't try before. At the max, you might end up re-importing non-root volume groups.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2001 05:03 AM
тАО11-05-2001 05:03 AM
Re: save_config
However, remove the networking part or your ip will stick....
I don't believe you can interrogate the gz image directly (I'm too laszy to look at the man).. but you may want to run the archive_impact if the size has modified to see exactly the space occupied by each fs and hence lv.
Later,
Bill