Sun Management Center Change Manager 1.0 Administration Guide

How to Rename a Managed Host or Host Group (Command Line)

You can rename only one managed host or host group at a time.


Note -

Changing the name of a managed host with the Change Manager only changes how that managed host is labeled in that particular host group.

Changing the name does not change the following:


  1. Determine which managed host or host group to rename.

    For example, rename the web-server/apache host group to be web-server/ApacheServer.

  2. Rename the managed host or host group.


    $ changemgr hostmove [ -u username ] [ -p file ] [ -d domain ] \
    old_topopath new_topopath
    
    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-Renaming a Managed Host or Host Group

Chris renames the web-server/apache host group to be web-server/ApacheServer.


$ changemgr hostmove /web-server/apache \
/web-server/ApacheServer