Versions Compared

Key

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

...

  • Set up passwordless SSH between our nodes. If passwordless ssh has not yet been set up within the cluster, then in main node generate key:

    Code Block
    cat /dev/zero | ssh-keygen -q -N "" 2>/dev/null
    cat .ssh/id_rsa.pub >> .ssh/authorized_keys

    If you're not installing on a single node, add this newly generated key to all the slave nodes:

    Code Block
    ssh-copy-id -i ~/.ssh/id_rsa.pub <replace_with_node_ip>

...

  • Install the database we will use for Metron REST on Master node:

    Code Block
    yum install mariadb-server -y

    Install JAVA MySQL connector on all nodes:

    Code Block
    yum install mysql-connector-java -y
  • Configure a user and a database for Metron REST:

...

  • If you're doing a multi node install, also copy the packages to the other nodes:

    Code Block
    ssh root@node2 mkdir /localrepo
    scp /localrepo/*rpm root@node2:/localrepo/.
    ssh root@node2 createrepo /localrepo

...


Get Started page: Enter any desired cluster name.

Select Version: Make sure "Public Repository" is checked. You should also see the /localrepo directory listed.

Install Options: Specify hostnames of your nodes where Ambari cluster should be installed (all the ones you have specified in /etc/hosts) in "Target Hosts". Copy content of the main node private key (/root/.ssh/id_rsa) in "Host Registration Information". If you receive the warning "The following hostnames are not valid FQDNs", ignore it and click OK.

Choose Services: Select following Services:

HDFS
YARN + MapReduce2
Tez
Hive
HBase
Pig
Zookeeper
Storm
Flume
Ambari Metrics
Kafka
Spark
Zeppelin Notebook
Elasticsearch
Kibana
Metron
Slider

OpenTAXII

Pycapa

Zeppelin Notebook

Hive


Assign Masters: Assign "Kafka Broker" on all nodes. Make sure move following components on one common node (Taken from previous guide, is this still necessary?):

...