Created on 03-28-201607:40 PM - edited 08-17-201901:00 PM
Introduction
If you are new to Metron or the Metron Tech Preview 1, the following links should provide some good information to review before walking through the installation:
The following steps provide instructions on how to install a full working Metron application on a single node VM with Vagrant. This deployment option is ideal for experimenting and playing with the Metron application. While these instructions should work on most development environments, these instructions were tested on Mac OS X El Capitan.
(exit logs off from root and returns to your user account)
Build Apache Metron
Download the 0.1 Metron binaries from here (download the .tar.gz file).
Untar the binaries to a location that will be easy to find later:
tar -zxvf apache-metron-0.1BETA-RC7-incubating.tar.gz
Build the Metron application:
cd incubator-metron-Metron_0.1BETA_rc7
mvn apache-rat:check && cd metron-streaming && mvn clean integration-test && cd ..
The mvn command downloads and builds Metron components. It should take about 15 minutes, depending on your hardware configuration. When it finishes, you should see a message similar to the following:
Deploy Metron as a single VM via Vagrant and Ansible:
cd deployment/vagrant/singlenode-vagrant
vagrant plugin install vagrant-hostmanager
vagrant up
The vagrant up process will run through a series of Ansible scripts,
installing Ambari, HDP, and Metron on the single-node VM. The process should
take about 45 - 60 minutes depending on your hardware configuration.
Verify That Apache Metron is Deployed Successfully
Check Ambari to make sure all the services are up by going to Ambari. Sign on with the default login and password "admin". The Ambari dashboard should look like the following:
Verify that four Storm topologies have been deployed: bro, enrichment, snort, and yaf.
From Ambari, navigate to Storm -> Quick Links -> Storm UI. You should see the four storm topologies deployed. The Metron Storm UI should look something like the following:
Check that the enrichment topology has emitted some data (this could take a few minutes to show up in the Storm UI). The storm enrichment topology UI should look something like the following:
Go to the Metron UI (at http://node1:5000). Check indexes to make sure indexing is done correctly and data is visualized. The Metron UI should look something like the following:
Check that some data is written into HDFS for at least one of the data sources
vagrant ssh node1
sudo su hdfs
hadoop fs -ls /apps/metron/enrichment/indexed
Questions/Issues
If you have any questions or install issues, post your question to the CyberSecurity HCC Track.