Ambari 2.7.1.0進行Hadoop 3.0.1集羣搭建

工作需要,大數據相關組件又得重新搭建,整理了一下。

序號 主機名 IP 程序 CPU 內存 磁盤 操作系統
1 ambari.dev.smcaiot.com 172.16.4.74 Ambari 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
2 master.dev.smcaiot.com 172.16.4.74 Master 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
3 node01.dev.smcaiot.com 172.16.4.75 node01 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
4 node02.dev.smcaiot.com 172.16.4.76 node02 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
hostnamectl set-hostname master.dev.smcaiot.com

cat > /etc/sysconfig/network <<EOF
NETWORKING=yes
HOSTNAME=master.dev.smcaiot.com
EOF

cat > /etc/resolv.conf <<EOF
nameserver 223.5.5.5
EOF

cat > /etc/hosts <<EOF
172.16.4.74 master.dev.smcaiot.com
172.16.4.74 ambari.dev.smcaiot.com
172.16.4.75 node01.dev.smcaiot.com
172.16.4.76 node02.dev.smcaiot.com
EOF

systemctl status firewalld.service
systemctl disable firewalld.service

sed -i "s#SELINUX=enforcing#SELINUX=disabled#g" /etc/selinux/config
setenforce 0

yum install openssl -y

yum install ntp ntpdate  -y 

systemctl start ntpd
systemctl enable ntpd
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章