## 5.4.4 Host name and alias 

Although the kickstarter file configured the host name, you must verify that everything is set up correctly. 

Verify that the short and long (fully qualified domain name) host names are detected: 

$ hostname --short xcat-mn 

$ hostname --long xcat-mn.xcat-cluster 

Configure the host name to be resolved to the IP address in the management (OS) network by completing the following steps: 

1. Add the host aliases in the /etc/hosts  file: 

$ echo "10.1.0.1 $(hostname -s) $(hostname -f)" >> /etc/hosts $ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.1.0.1 xcat-mn xcat-mn.xcat-cluster 

2. Verify that the short host name resolves to the long host name, and that the ping  test works: 

$ ping -c1  xcat-mn PING xcat-mn.xcat-cluster (10.1.0.1)  56(84) bytes of data. 64 bytes from xcat-mn.xcat-cluster (10.1.0.1): icmp_seq=1 ttl=64 time=0.025 ms 

## 5.4.5 xCAT networks 

--- xcat-mn.xcat-cluster ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.025/0.025/0.025/0.000 ms 

The xCAT networks configuration is stored the networks  table, and is available as objects of the network  type. 

Running the makenetworks  command populates the networks  table based on the current configuration of the network interfaces. It is run automatically during the installation of xCAT packages. 

You can use the following commands to create, list, modify, and remove network  objects, and list and edit the networks  table: 

GLYPH<SM590000> mkdef -t network 

GLYPH<SM590000> lsdef -t network 

GLYPH<SM590000> chdef -t network 

GLYPH<SM590000> rmdef -t network 

GLYPH<SM590000> tabdump networks 

GLYPH<SM590000> tabedit networks 

To configure the xCAT networks, populate the networks  table by running the makenetworks command, remove any non-xCAT networks, rename the xCAT networks (optional), and create any other xCAT networks. 

