HP-UX System Administrator's Guide: Configuration Management

and import it there. This is an appropriate and effective way to ensure that two
machines are running compatible configurations. (Compatible means they have
the same set of kernel modules, but they may have different versions of those
modules due to patch installations.)
In some cases, running compatible configurations is not enough; you need to be
sure that two machines are running exactly the same configuration. In that case,
use the -V (version match) option while importing the system file on the target
system. This option turns on strict version checking, and the import will fail if the
two machines have different versions of kernel modules installed.
The Kernel Configuration Log File
It is often useful to know what configuration changes have been made on a system.
For this purpose, the kernel configuration tools automatically maintain a log file at
/var/adm/kc.log. This file lists every change made using the kernel configuration
commands. (Some configuration changes can be made by calling kernel system calls
directly. These changes are not logged.) Changes made through HP SMH, the web-based
interface for kernel configuration, are logged since HP SMH uses the kernel
configuration commands to make the changes.
The log file is a plain text file that you can view directly. The kclog command is
provided for when you want to do an intelligent search of the log file, but its use is
optional. (More information on the kclog command can be found in the kclog(1M)
manpage.)
All of the kernel configuration commands accept a -C (comment) option when they
are being used to make configuration changes. The -C option allows you to specify a
comment that will be included in the log entry for your change. This can help readers
of the log understand the reasons for your changes.
To add a comment to the log without making a configuration change, use kclog -C.
On the Kernel Configuration page, you can select View Change Log in the right-hand
column to see the kernel configuration log file, as shown in Figure 10-12.
The Kernel Configuration Log File 195