Sun Management Center Change Manager 1.0 Administration Guide

How to Create a Host Group (Command Line)

  1. Determine where to create the host group.

    For example, create a host group in the web-server host group.

  2. Create a host group.


    $ changemgr mkgroup [ -u username ] [ -p file ] [ -d domain ] \
    grouppath ...
    -u username

    Specify 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

    Specify 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.

    grouppath

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

    Choose a host group name that indicates the types of managed hosts the host group contains. For example, create a host group named apache in which to group managed hosts that run the Apache web server.

Example-Creating a Host Group

Chris creates the apache host group in the web-server host group.


$ changemgr mkgroup /web-server/apache