Fujitsu M4000 Life Jacket User Manual


 
sethostname(8)
System Administration 173
NAME sethostname - set a host name and a DNS domain name for an XSCF unit
SYNOPSIS sethostname xscfu hostname
sethostname -d domainname
sethostname -h
DESCRIPTION sethostname(8) command sets a host name and a DNS domain name for an XSCF
unit.
When the XSCF unit is duplicated configuration, the DNS domain name becomes
common to XSCF units. The host name can be specified for each XSCF unit.
Privileges You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported:
OPERANDS The following operands are supported:
-d domainname Specifies a DNS domain name to be set for the XSCF unit. The
domainname is specified in up to 254 characters with the hostname
included, with label elements delimited by a period(.). If a
domain name exceeding 254 characters is specified, an error
occurs. A label element can contain alphanumeric characters and
hyphens (-). Each label element must always begin with an
alphabetic character and end with an alphanumeric character.
-h Displays usage statement. When used with other options or
operands, an error occurs.
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 hyphens (-) can be used. However, a
host name must always begin with an alphabetic character and
end with an alphanumeric character.
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 unit 0
xscf#1 XSCF unit 1 (when a duplicated
configuration is used)