...
Enable time sync, disable firewall and SElinux on every node (I know, but for the sake of simplicity, quickness & testing, I've disabled selinux):
Code Block systemctl enable ntpd systemctl start ntpd systemctl stop firewalld systemctl disable firewalld setenforce 0 (=> I know, but for the sake of simplicity, quickness & testing, I've disabled selinux.)
Also, if you are using CentOS 7 and Python 2.7.5 and above you will encounter an error during ambari agent install in Ambari UI:
Code Block [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
To fix it disable cert check in Python like this (reference link):
Code Block sed -i 's/verify=platform_default/verify=disable/' /etc/python/cert-verification.cfg
Make sure each node can resolve every other node's hostname or add hostname of each node to `/etc/hosts` on every node. For example add following lines in /etc/hosts of each node:
Code Block 10.10.10.1 node1 10.10.10.2 node2 10.10.10.3 node3 10.10.10.4 node4
Where 10.10.10.1, 10.10.10.2, 10.10.10.3 and 10.10.10.4 are the IP addresses of your nodes and "node1", "node2", "node3" and "node4" are their respective hostnames.
...