Configuring Network Names

Configuring Network Names

This 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 that 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/hosts with 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-1
    2.2.2.2  foo-2.example.com  foo-2
    3.3.3.3  foo-3.example.com  foo-3
    4.4.4.4  foo-4.example.com  foo-4

    Important:

    • The canonical name of each host in /etc/hostsmust be the FQDN (for example myhost-1.mynet.myco.com), not the unqualified hostname (for example myhost-1). The canonical name is the first entry after the IP address.
    • Do not use aliases, either in /etc/hosts or in configuring DNS.
  3. Edit /etc/sysconfig/network with the FQDN of this host only:
    HOSTNAME=foo-1.example.com
  4. Verify that each host consistently identifies to the network:
    1. Run uname -a and check that the hostname matches the output of the hostname command.

原文地址:https://www.cnblogs.com/chengjunhao/p/8678732.html

时间: 2024-08-05 19:28:01

Configuring Network Names的相关文章

Configuring Network Interface Bonding

1. Abount bonding The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical "bonded" interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide eit

Configuring Network Configuration-RHEL7

1.查看网络状态systemctl status NetworkManager You can use the  systemctl status NetworkManager  command to verify its current status. When NetworkManager comes up, it reads the network card configuration scripts, which are in /etc/sysconfig/network-scripts

How Network Load Balancing Technology Works--reference

http://technet.microsoft.com/en-us/library/cc756878(v=ws.10).aspx In this section Network Load Balancing Terms and Definitions Network Load Balancing Architecture Network Load Balancing Protocols Application Compatibility with Network Load Balancing

Linux - Network Configuration

Part 1: Basic Network Terminology Before setting up a network or accessing an existing network, it is important to know some key terms that are related to networking. This section explores the terms you should be aware of. Some of the terms are basic

Network Load Balancing Technical Overview--reference

http://technet.microsoft.com/en-us/library/bb742455.aspx Abstract Network Load Balancing, a clustering technology included in the Microsoft Windows 2000 Advanced Server and Datacenter Server operating systems, enhances the scalability and availabilit

Java Secure Socket Extension (JSSE) Reference Guide

Skip to Content Oracle Technology Network Software Downloads Documentation Search Java Secure Socket Extension (JSSE) Reference Guide This guide covers the following topics: Skip Navigation Links Introduction Features and Benefits JSSE Standard API S

LoadRunner 参数化之 连接数据库进行参数化

LoadRunner 参数化之 连接数据库进行参数化 Loadrunner(简称“LR”)对性能测试的脚本进行参数化时,由于数据量偏大,大家往往都会把数据录入到数据库表里,然后关联到LR,本文将详细介绍LR连接数据库数据进行参数化的方法 工具/原料 HP LoadRunner 11 sql sever 2008 百度经验:jingyan.baidu.com 方法/步骤 1 首先,选中你要参数化的部分,比如我选择的是登陆时候的UserName,我的用户名是 “admin”,那我选中“admin”,

man iptables(8)

IPTABLES(8) iptables 1.6.0 IPTABLES(8) NAME iptables/ip6tables - administration tool for IPv4/IPv6 packet filtering and NAT SYNOPSIS iptables [-t table] {-A|-C|-D} chain rule-specification ip6tables [-t table] {-A|-C|-D} chain rule-specification ipta

ClouStack4.5(高级网络模式)+Xen

一.环境 1.软件信息 名称 版本 备注 CloudStack 4.5.x Centos 6.7 Mysql 5.x 系统自带 Tomcat 6.x/7.x 系统自带 XenServer 6.5 2.硬件信息 名称 配置 类型 IP 数量 CloudStack 管理节点 2C/4G 管理节点 192.168.16.242 1 XenServer 4C/8G 资源节点 192.168.16.245/246 2 NFS存储 2c/4G 存储节点 192.168.16.247 1 3.网络信息 CS中