Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3374
Change to configuration 'current'
at 21:55:49 PST on 02 February 2003 by root:
Configuration loaded from 'day'.
======================================================================
Change to configuration 'current'
at 21:56:09 PST on 02 February 2003 by root:
Configuration loaded from 'night'.
She can see that Fred has put a new application on her server, and
worse, an insecure one. At least he tested and documented his changes.
Susan doesn’t want to leave her system the way Fred changed it, so she
moves the nightly billing job to another system. First, she exports his
night configuration to a text file.
# kconfig -e night /tmp/system.night
* The configuration 'night' has been exported to /tmp/system.night.
Moving the file over to another machine, she imports the configuration
there, using the -V option to ensure that exactly the same kernel
software is in use. Then she loads the configuration. Something about
the configuration can’t be changed immediately — probably a tunable
setting — so she has to reboot the machine. As intended, the machine
uses Fred’s night configuration when it comes back up.
# kconfig -C "Move nightly billing jobs" -iV night /tmp/system.night
* /tmp/system.night has been imported to 'night'.
# kconfig -l night
* The automatic 'backup' configuration has been updated.
NOTE: The configuration being loaded contains changes that cannot be
applied immediately. The changes will be held for next boot.
# shutdown -r
...
* The kernel registry database has been saved to disk.
* The configuration 'night' will be used at next boot, as
requested.