Determine which managed hosts and host groups to move and the destination host group.
For example, move /web-server/host1 and /web-server/host2 to the web-server/ApacheServer host group.
Move the managed hosts and host groups to the other host group.
$ changemgr hostmove [ -u username ] [ -p file ] [ -d domain ] \ old_topopath ... new_grouppath |
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).
Chris moves the /web-server/host1 and /web-server/host2 managed hosts to the web-server/ApacheServer host group.
$ changemgr hostmove /web-server/host1 /web-server/host2 \ /web-server/ApacheServer |
Chris moves the ApacheServer and NewServer host groups to the web-server host group.
$ changemgr hostmove ApacheServer NewServer /web-server |