Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Contributor
Created on 10-10-2017 06:50 AM
Manual install cluster:::
- Create VM’s:
- OS = RHEL6/RHEL7 (depending on ur HDP version)
- Java = OpenJDK8
- Set java home on all the nodes of cluster (make sure you have the correct java path first before setting it. The path value might differ based on what java subversion gets installed)
- export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk.x86_64
- Do the pass-word less ssh
- pick one node as amber host, create pub-pri key pair using ssh-keygen, then copy the public key into "/home/root/.ssh/authorized_keys" file on all the nodes
- Do test is password less ssh works (via doing ssh from the ambari node to all other nodes), if this fails, you need to resolve it first as the entire installation depends on it.
- NTP set-up (on all nodes)
- Yum install -y ntp
- Start ntp:
- "/etc/init.d/ntpd start" (RHEL6)
- "systemctl enable ntpd" and "systemctl start ntpd" (RHEL7)
- vi /etc/hosts
- vi /etc/sysconfig/network
- NETWORKING=yes
- HOSTNAME=<fully.qualified.domain.name>
- (FQDN of the particular node where you are editing the /etc/sysconfig/network file)
- service iptables stop (RHEL6)
- systemctl disable firewalld and service firewalld stop (RHEL7)
- setenforce 0
- umask 0022
- echo umask 0022 >> /etc/profile
- wget -nv http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.4.3.0-35/ambaribn.repo -O /etc/yum.repos.d/ambari.repo (RHEL6, HDP 2.6)
- wget -nv http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.5.0.1/ambari.repo -O /etc/yum.repos.d/ambari.repo (RHEL7, HDP 2.6)
- yum install ambari-server
- Check the page: https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/_using_am...
- yum install mysql-connector-java
- Yum install mysql-server
- Start the service:service mysqld start(when mysql is installed)
- When u do 'mysql -u root -p’ is will ask for password, just hit ‘enter’ (i.e. blank password)
- ambari-server setup -j $JAVA_HOME (assuming JAVA_HOME is already set, if not set it)
- Accept y for temporarily disable SELinux
- Accept n for Customize user account for ambari-server (assuming ambari runs under "root" user).
- Accept y for temporarily disabling iptables
- Select n for advanced database configuration ( select y if you want to set-up ambari with MySQL or any other db which should be already installed on the same node).
- At Proceed with configuring remote database connection properties [y/n] choose y.
- This completes the set-up
- ambari-server start
- ambari-server status
- If you want to stop ambari server: ambari-server stop
832 Views