Skip to main content

3.9.11 Setting an XSCF Host Name and Domain Name


3.9.11 Setting an XSCF Host Name and Domain Name
To confirm the host names set for the chassis of the master XSCF and standby XSCF, use the showhostname command. Also, to set the host names and domain names for the chassis of the master XSCF and standby XSCF, use the sethostname command. Execute the sethostname command with a user account that has the platadm privilege.
  1. Execute the showhostname command to display host names.
XSCF> showhostname -a
bb#00: scf-hostname0.example.com
bb#01: scf-hostname1.example.com
  1. Execute the sethostname command to set a host name.
    The following example sets the host name scf0-hostname for BB#00.
XSCF> sethostname bb#00 scf0-hostname
  1. The following example sets the domain name example.com for the master XSCF and standby XSCF.
XSCF> sethostname -d example.com
  1. Execute the sethostname command, and then execute the applynetwork and rebootxscf commands to reflect the settings made for the host name and domain name.
Note - You can also reflect the XSCF routing, DNS for the XSCF, and other settings made, by executing the applynetwork and rebootxscf commands.
XSCF> applynetwork
The following network settings will be applied:
bb#00 hostname :hostname-0
bb#01 hostname :hostname-1
DNS domain name :example.com
nameserver :10.23.4.3

interface :bb#00-lan#0
status :up
IP address :10.24.144.214
netmask :255.255.255.0
route : -n 0.0.0.0 -m 0.0.0.0 -g 10.24.144.1
(Omitted)
XSCF> rebootxscf -a
The XSCF will be reset. Continue? [y|n] :y
  1. The XSCF reboot disconnects the XSCF session, so log in again.
  1. Execute the showhostname command, and confirm the host name and domain name.