Difference between revisions of "Bright:Head's Hostname"

From Define Wiki
Jump to navigation Jump to search
(Created page with "To change the Head node's hostname, the typical CENTOS hostname changing procedure must be followed: * Edit the /etc/sysconfig/network file and change the HOSTNAME variable to...")
 
Line 1: Line 1:
 
To change the Head node's hostname, the typical CENTOS hostname changing procedure must be followed:
 
To change the Head node's hostname, the typical CENTOS hostname changing procedure must be followed:
 
* Edit the /etc/sysconfig/network file and change the HOSTNAME variable to the desired name
 
* Edit the /etc/sysconfig/network file and change the HOSTNAME variable to the desired name
* Run hostname <new hostname>
+
* Run
 +
> hostname <new hostname>
 
* Reboot the head node for all the changes to be visible in the CMGUI
 
* Reboot the head node for all the changes to be visible in the CMGUI
  
 
Everything should work fine by now. The only thing noted is that when a compute node pings the new head node's hostname, the old hostname is visible (although the IP is resolved). If this is a problem, re-install the compute nodes.
 
Everything should work fine by now. The only thing noted is that when a compute node pings the new head node's hostname, the old hostname is visible (although the IP is resolved). If this is a problem, re-install the compute nodes.

Revision as of 15:26, 16 December 2014

To change the Head node's hostname, the typical CENTOS hostname changing procedure must be followed:

  • Edit the /etc/sysconfig/network file and change the HOSTNAME variable to the desired name
  • Run
> hostname <new hostname>
  • Reboot the head node for all the changes to be visible in the CMGUI

Everything should work fine by now. The only thing noted is that when a compute node pings the new head node's hostname, the old hostname is visible (although the IP is resolved). If this is a problem, re-install the compute nodes.