because the node servers in the cluster are automatically assigned IPS through DHCP, the IP is not changed in principle, because a fixed IP address has been assigned to the MAC address at boot time, unless the MAC address is changed. Coincidentally, yesterday morning sweeping aunt to a master node server because of wiping the table and the network cable to rip off, and so I found that the node is not connected to the time, re-plug the network cable after the result of the IP changed. Think of a lot of ways to set the IP of all nodes to manual configuration, but manually configure the IP, the node will not be able to communicate with other nodes, the network connection fails, and the Internet is not connected. The solution is not to be baffled.
Only then will the master node follow the auto-assigned IP.
1, first you have to modify the hosts file of each node, the original master node's IP changed to a new IP address, note that all nodes must be updated.
2. Then, on the master node, close SCM Server, Agent service,
/opt/cm-5.0.0/etc/init.d/cloudera-scm-server stop
/opt/cm-5.0.0/etc/init.d/cloudera-scm-agent stop
The other salve nodes are also executed separately:/opt/cm-5.0.0/etc/init.d/cloudera-scm-agent stop
3. Then start SCM Server in master, and all nodes start the SCM Agent separately
/opt/cm-5.0.0/etc/init.d/cloudera-scm-server start
/opt/cm-5.0.0/etc/init.d/cloudera-scm-agent start
4, the last Login Cloudera Manage Management page, to see if it can re-detect the CDH version of each host, if unable to detect, you need to click an icon in the upper corner of the page to enter the parcel page, re-assign!
CDH Cluster Environment Master node IP change