CDH Cluster Environment Master node IP change

Source: Internet
Author: User
Tags node server

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.