HP-UX CMGR A.02.00 Administrator's and Developer's Guide

1 Introduction
The HP-UX Configuration Synchronization Manager (CMGR) includes the cmgr tool
and libraries. CMGR tracks specific changes made to configuration files. It can track
multiple changes applied to one configuration file (service) or it can track individual
changes to multiple files (services). CMGR associates changes made to a file with labels
and uses the labels to trace and display the changes that it made to the configuration
files.
The cmgr command is a general purpose tool that coordinates the configuration of
multiple subsystems, such as HP-UX compartments, Process Resource management
(PRM), IPFilter, and IPSec. Related configuration changes can be added, viewed,
replaced, or deleted as a set.
The cmgr command line arguments are combined with XML based CMGR
synchronization templates that define the actual configuration operations to perform.
A synchronization template is an XML file that uses variables to share configuration
information between utilities.
This guide describes how to use the cmgr command and how to create synchronization
templates.
1.1 CMGR Architecture
Figure 1-1 depicts the CMGR architecture. Once the administrator invokes the cmgr
command, the selected templates pass the configuration instructions to cmgr. In turn,
cmgr calls the appropriate handler library to modify a configuration file or execute a
system command. Each element in a template has a corresponding handler.
1.1 CMGR Architecture 11