Ambari集群环境搭建
1.1服务规划
序号 主机名 操作系统 Ip地址 服务
1 hbase100.yun Cent OS_7.6 172.21.xx.100 HTTP Server、amber-server、amber-agent
2 hbase101.yun Cent OS_7.6 172.21.xx.101 amber-agent
2 hbase102.yun Cent OS_7.6 172.21.xx.102 amber-agent
*****1.2用户规划*****
序号 用户名 所属群组 备注
1 root root
2 安装准备
2.0基本软件需求
Software requirement
yum,scp,curl,unzip,tar,wget,gcc*,OpenSSL(v1.01,build 16 or later),Python 2.7.12 (with python-devel*)
*2.1* /etc/hosts
Configuration File Location Value Description
/etc/hosts 172.21.xx.100 hbase100.yun
172.21.xx.101 hbase101.yun
172.21.xx.102 hbase102.yun
2.2 关闭防火墙以及SELinux
2.2.1 关闭
序号 Where Host comm
1 All host All systemctl disable firewalld
service firewalld stop
2.2.2 关闭SELinux
序号 Where Host comm
1 All host All setenforce 0
2.3 系统特性调整
2.3.1 关闭PackageKit(if have)
vi /etc/yum/pluginconf.d/refresh-packagekit.conf
enabled=0
2.3.2 关闭THP (hbase tune)
1 All host All
echo never >