Sun Management Center Change Manager 1.0 Administration Guide

How to Import Manifests to the Change Manager Repository (Command Line)

The manifests are created by the changemgr manifest command, which performs a per-file audit of a managed host.

The time required to import a file to the Change Manager repository depends on the size of the file and the speed of the network.

  1. Determine where the manifest exists and where to store it.

    For example, copy the manifest from /net/test1/home/suzi/host1-usr-only.bmft to the web-server folder.

  2. Import a manifest to the Change Manager repository by using one of these changemgr import commands.

    • The following command line imports one file at a time. You can also use this command line to rename the file.


      $ changemgr import [ -u username ] [ -p file ] filepath[.type] \
      relfilepath.type
      
    • The following command line imports several files to a folder simultaneously.


      $ changemgr import [ -u username ] [ -p file ] filepath.type ... \
      reldirpath
      

    For descriptions of the options, see How to Import Audit Rules Files to the Change Manager Repository (Command Line).

    Choose a name that indicates the name of the audited managed host and the type of audit specified by the audit rules file. Use the .bmft file suffix. For example, copy a manifest named host1-usr-only.bmft, which indicates that only files from /usr are cataloged for the host1 managed host.

Example-Importing a Manifest to the Change Manager Repository

Suzi copies the manifest called /net/test1/home/suzi/host1-usr-only.bmft to the web-server folder. She renames the file to be host1_usr_only.bmft.


$ changemgr import \
/net/test1/home/suzi/host1-usr-only.bmft \
/web-server/host1_usr_only.bmft

Example-Importing Manifests to the Change Manager Repository

Suzi copies the manifests called /net/test1/home/suzi/host1-usr-only.bmft and /net/test1/home/suzi/host1-opt-only.bmft to the / folder.


$ changemgr import \
/net/test1/home/suzi/host1-usr-only.bmft \
/net/test1/home/suzi/host1-opt-only.bmft /