Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If passwordless ssh has not yet been set up within the cluster, then in main node generate key and add it to trusted:

 

Code Block
cat /dev/zero | ssh-keygen -q -N "" 2>/dev/null
ssh-copy-id -i ~/.ssh/id_rsa.pub <replace_with_master_node_ip>
chmod 700 ~/.ssh

 

Add this key to all the slave nodes:

...

Inspired by: http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/ch_Getting_Ready.html

On all nodes disable security:

...

Adjust limits to secure level (inspired by link):

Code Block
ulimit -n 

...

32768
ulimit -u 65536
echo -e "* - nofile 32768\n* - nproc 65536" >> /etc/security/limits.conf


Enable time sync, disable firewall and SElinux:

 

Code Block
257597
chkconfig ntpd on
service ntpd start
chkconfig iptables off
/etc/init.d/iptables stop
setenforce 0

 

...