Sun Update Connection - Enterprise 1.0 User's Guide

Rename Host (-rh) Command

The rename-host command renames a host, from an existing name to a new name. The name of the host is not the DNS name (Unique String) of the machine, but the Sun Update Connection – Enterprise name of the host. You can change this name at any time without affecting the machine or its configurations.

Parameter

  • -sH hostname Specify the source host name of an existing host.

  • -tH hostname Specify the name of a target host.

Syntax

uce_cli -rh -sH hostname -tH hostname -u username -p password

Example

uce_cli -rg -sH lnx013 -tH mailserver_2 -u admin -p 123

To get valid values for the -sH parameter, use the -lah command.

A valid value for the -tH parameter is a new, unique host name. This name must not appear in the output of the -lah command.