Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 373
Since good isn’t a very helpful name for Susan’s configuration anymore,
Fred renames it to day. He checks the list of configurations to make sure
everything looks OK.
# kconfig -r good day
* The configuration 'good' has been renamed to 'day'.
# kconfig
Configuration Title
backup Automatic Backup
day Good configuration for Prophet
installed Initial installation
night Nightly billing jobs
Finally, he tries loading first the day configuration, and then the night
configuration, to make sure he can move back and forth at will.
# kconfig -l day
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently
running system.
# kconfig -l night
* The automatic 'backup' configuration has been updated.
* The requested changes have been applied to the currently
running system.
When Susan returns from her vacation, the first thing she does is check
the automatically maintained log file to see what Fred has done.
# kclog 5
======================================================================
Change to configuration 'current'
at 21:49:08 PST on 02 February 2003 by root:
Module 'rng' set to loaded state.
Random Number Generator needed for nightly billing jobs
======================================================================
Change to configuration 'night'
at 21:53:03 PST on 02 February 2003 by root:
Configuration saved from currently running configuration.
Settings for nightly billing jobs
======================================================================
Change to configuration 'day'
at 21:53:26 PST on 02 February 2003 by root:
Configuration created by renaming 'good'.
======================================================================