Sun Management Center Change Manager 1.0.1 Administration Guide

How to Build Manifests for Managed Hosts (Command Line)

  1. Determine which managed hosts you want to audit.

    For example, audit the /web-server/host1 and /web-server/host2 managed hosts.

  2. Build manifests for the managed hosts.


    $ changemgr manifest [ -u username ] [ -p file ] [ -d domain ] \
    -o relfilepathprefix [ -r relfilepath.brul ] topopath ...
    -u username

    Specifies the user name to authenticate. If this option is not specified, the user is the current UNIX user.

    -p file

    file consists of a single line, which contains the password. If file is -, then the user can supply the password as standard input.

    If the -p option is not supplied, then the changemgr command prompts the user for his password.

    -d domain

    Specifies the administrative domain on which to operate. In the context of a session, the default is the domain specified for the session. If no domain is specified, domain is the user's home domain. By default, domain is the user's home domain.

    -o relfilepathprefix

    Specifies the prefix to be used when creating the output inventories. The name of the managed host and the .bmft suffix are appended to the prefix specified to form the name of the resulting manifest.

    -r relfilepath.brul

    Specifies the audit rules file to use to create the manifest.

    topopath

    Specifies the path to a managed host or host group that is relative to the top of the selected administrative domain.

Example—Building Manifests for Managed Hosts

Suzi builds manifests for the /web-server/host1 and /web-server/host2 managed hosts. She stores the files in the /web-server folder with a manifest file prefix of usr-only. The resulting file names are /web-server/host1.bmft and /web-server/host2.bmft.


$ changemgr manifest -o /web-server/ -r usr-only.brul \
/web-server/host1 /web-server/host2

Note –

If the argument to -o is a folder, terminate the argument with a slash. For example, if the argument to -o is /web-server/baseline, then baseline is prefixed to manifests created in the /web-server folder. If you use this prefix, you might see a manifest with a name like /web-server/baselinehost1.bmft.