Oracle Sun SPARC Enterprise M3000 Reference Manual page 222

Xscf reference manual for xcp version 109x
Hide thumbs Also See for Sun SPARC Enterprise M3000:
Table of Contents

Advertisement

sethostname(8)
OPERANDS
EXTENDED
DESCRIPTION
EXAMPLES
EXIT STATUS
208
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised April 2010
The following operands are supported:
hostname
Specifies a host name to be set for the XSCF unit. The hostname is
specified in up to 64 characters, not in Fully Qualified Domain
Name (FQDN) but in an abbreviated form. If a host name
exceeding 64 characters is specified, an error occurs.
Alphanumeric character and "-" can be used. However, a host
name must always begin with an alphabetic character and end
with an alphanumeric character. If "localhost" specified, an
error occurs.
xscfu
Specifies the name of the XSCF unit to be set. The following
values can be specified, depending on the system configuration.
If no value is specified, an error occurs.
xscf#0
xscf#1
The following situations result in an error by the applynetwork(8) command:
Both host name and domain name are not set.
On M8000/M9000 servers, the host name is not set to both xscf#0 and xscf#1.
The total number of characters of the DNS domain name that you set by using
the sethostname(8) command and the search path that you set by using the
setnameserver(8) command exceeds 256.
To apply the host name and the DNS domain name to XSCF, execute the
applynetwork(8) command. Then, use the rebootxscf(8) command to reset
XSCF to make the changes to the XSCF permanent.
The currently set host name and DNS domain name of the XSCF unit can be
checked by using the shownetwork(8) command.
Sets the host name scf0-hostname for XSCF unit 0.
EXAMPLE 1
sethostname xscf#0 scf0-hostname
XSCF>
Sets the DNS domain name example.com for XSCF unit.
EXAMPLE 2
sethostname -d example.com
XSCF>
The following exit values are returned:
Successful completion.
0
An error occurred.
>0
XSCF unit 0
XSCF unit 1 (In M8000/M9000 servers)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents