Skip Headers
Oracle® Secure Backup Reference
Release 10.1

Part Number B14236-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

renhost

Purpose

Use the renhost command to rename a configured Oracle Secure Backup host.

See Also:

"Host Commands" for related commands

Prerequisites

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

--nq

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".

--nocomm/-N

Suppresses communication with the host machine. Use this option if you want to rename a machine that is not connected to the network.

old-hostname ...

Specifies the name of the existing host that you want to rename.

new-hostname ...

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