Quintero - Deploying Linux on IBM E-Server Pseries Clusters

 < Day Day Up > 

Changing hostnames and IP addresses of the management server and management node are inevitable in a large management domain. However, when this happens, common features of CSM fail to function if the CSM database is not updated properly. In this section, we explain how to perform these updates.

Changing the management server hostname

If the management servers hostname is changed, follow these steps to update CSM:

  • Update DNS or the /etc/ hosts file on the management server to reflect the new hostname.

  • Run the chnode command and reset the ManagementServer node attribute to the new hostname on all nodes.

    #chnode -a ManagementServer=newHostname

  • Run the updatenode command to re-exchange keys between the management server and the managed node.

    # updatenode -a -k

  • Run the cfmupdatenode command to push the /etc/hosts file if a common hosts file is used.

Changing the managed node hostname

If any of the managed node's hostnames are changed, follow these steps to update CSM:

  • Update DNS or the /etc/hosts file to reflect the new node hostname.

  • Run the chnode command to reset the HostName node attribute.

    #chnode oldHostName HostName=newHostName

  • Run the updatenode command to exchange keys with the node.

    # updatenode -k newHostName

  • Update any custom scripts or event monitoring definitions to reflect the new hostname.

 < Day Day Up > 

Категории