Sun Management Center Change Manager 1.0.1 Administration Guide

- Previous: Maintaining the Sun Management Center Topology by Using the Command-Line Interface (Task Map)
- Next: How to Create a Host Group (Command Line)

## How to Specify the Administrative Domain in Which to Add Hosts (Command Line)

1. Determine the name of the administrative domain you want to use.

2. Use the `-d` domain option with the `changemgr` command to supply the name of the administrative domain.

       $ changemgr subcommand other-options -d domain operands

   For example, specify an administrative domain named `web-domain` in which to store the topology.

### Example—Specifying an Administrative Domain in Which to Add Hosts

Chris views the contents of the `web-server/ApacheServer` host group, which is in the `web-domain` administrative domain.

    $ changemgr hosts -d web-domain /web-server/ApacheServer

- Previous: Maintaining the Sun Management Center Topology by Using the Command-Line Interface (Task Map)
- Next: How to Create a Host Group (Command Line)

- © 2010, Oracle Corporation and/or its affiliates