Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the renhost
command to rename a configured Oracle Secure Backup host.
See Also:
"Host Commands" for related commandsPrerequisites
You must have the modify administrative domain's configuration right to use the renhost
command.
Syntax
renhost::=
renh•ost [ --nq ] [ --nocomm/-N ] { old-hostname new-hostname }...
Semantics
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Suppresses communication with the host machine. Use this option if you want to rename a machine that is not connected to the network.
Specifies the name of the existing host that you want to rename.
Specifies the new name for the host. Host names are case-sensitive and must start with an alphanumeric character. They can contain only letters, numerals, dashes, underscores, and periods (no spaces). They may contain at most 127 characters.
Example
Example 2-110 displays configured hosts and then renames ndmphost1
to ndmphost
.
Example 2-110 Renaming a Host
ob> lshost brhost2 client (via OB) in service brhost3 mediaserver,client (via OB) in service dlsun1976 client (via OB) in service ndmphost1 client (via NDMP) in service stadv07 admin,mediaserver,client (via OB) in service ob> renhost --nq ndmphost1 ndmphost ob> lshost brhost2 client (via OB) in service brhost3 mediaserver,client (via OB) in service dlsun1976 client (via OB) in service ndmphost client (via NDMP) in service stadv07 admin,mediaserver,client (via OB) in service