Sun Management Center Change Manager 1.0 Administration Guide

How to Modify Host Group Properties (Command Line)

For the list of properties, see Chapter 10, Creating Shared Profiles and Host Properties (Reference).

  1. Determine the host group's properties that you want to modify.

    For example, modify the properties of the web-server/ApacheServer host group.

  2. Modify host group properties.


    $ changemgr hostset [ -u username ] [ -p file ] \
    [ -s name=value ] ... [ -s name ] ... topopath ...
    -s name=value

    Specify one or more name-value pairs. name is the property name, and value is the property value. Supply this option for each property value you want to set. If value is blank, then the property is assigned an empty value.

    -s name

    Specify one or more property names to delete, where name is the property name. Supply this option for each property you want to delete.

    topopath

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

    For descriptions of the other options, see How to Create a Host Group (Command Line).

Example-Modifying Host Group Properties

Chris modifies the Description property of the web-server/ApacheServer host group.


$ changemgr hostset \
-s Description="Host group to hold Apache Web Server hosts" \
/web-server/ApacheServer