Configuring Network Names

Source: Internet
Author: User
Tags fully qualified domain name

Configuring Network namesthis page is for manual CDH installations only. Cloudera Manager users should disregard.IMPORTANT:CDH requires IPv4. IPV6 is not supported.tip:when Bonding, use the bond0 IP address as it represents all aggregated links.

Configure Each host in the cluster as follows to ensure, all members can communicate with each other:

  1. Set the hostname to a unique name (not localhost ).
    sudo hostnamectl set-hostname foo-1.example.com
  2. Edit/etc/hostsWith the IP address and fully qualified domain name (FQDN) of each host in the cluster. You can add the unqualified name as well.
    1.1.1.1  foo-1.example.com  foo-12.2.2.2  foo-2.example.com  foo-23.3.3.3  foo-3.example.com  foo-34.4.4.4  foo-4.example.com  foo-4
    Important:
      • The canonical name of each host in /etc/hosts must is the FQDN (for example myhost-1.mynet.myco.com ), not the unqualified hostname (for E Xample myhost-1 ). The canonical name is the first entry after the IP address.
      • Do is use aliases, either in /etc/hosts or in configuring DNS.
  3. Edit with the FQDN of this /etc/sysconfig/network host only:
    Hostname=foo-1.example.com
  4. Verify that each of the host consistently identifies to the network:
    1. Run and check that the uname -a hostname matches the output of the hostname command.

Configuring Network Names

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.