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

From Define Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
* 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
 
* Run
  > hostname <new hostname>
+
  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.

Latest 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.