Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Step 0 – Verify Release
Verify that the maven artifacts are the right version by inspecting the top level pom.xml and looking at the version.
Verify that the release bits are the signed properly by running:
gpg --import KEYS
export VERSION=<metron-release-version>
gpg --verify ./apache-metron_$VERSION.tar.gz.asc apache-metron_$VERSION.tar.gz
Note: on Mac you might not have gpg installed by default. You can add it via Homebrew with the command "brew install gpg"

Step 1 – Build Metron cd incubatorapache-metron/_$VERSION mvn clean integration-testinstall Verify that all tests are passing Step 2 – Deploy metron as a single VM via vagrant and ansibleAnsible cd metron-deployment/vagrant/full-dev-platformdevelopment/centos6/ vagrant plugin install vagrant-hostmanager ./run.shvagrant up For a more complete set of instructions refer to: https://github.com/apache/incubator-/metron/tree/master/metron-deployment and
https://github.com/apache/metron/tree/master/metron-deployment/development



deployment

Verify metron is working:
- Check Ambari to make sure all the services are up by going to ambari in a browser at http://node1:8080

- Check Storm to make sure all the topologies are up
      From Ambari navigate to Storm -> Quick Links -> Storm UI
- Check that the enrichment topology has emitted some data (could take a few minutes to show
up in the Storm UI)
- Check indexes to make sure indexing is done correctly and data is visualized in Kibana in
a browser at http://node1:5000
- Check that some data is written into HDFS for at least one of the data sources
      Look in HDFS under /apps/metron/enrichmentindexing/indexed/yaf_doc|bro_doc|snort_
doc
      This can be done by running hdfs dfs -ls /apps/metron/indexing/indexed/
- Test the Management UI at  from the browser by going to http://nodenode1:4200/



50070/explorer.html#/apps/metron/enrichment/indexed

Step 3 (optional) – Verify AWS Multi-Node Deploy with Ansible (NOTE: This will cost money to deploy AWS servers)
cd metron-deployment/amazon-ec2
ansible-playbook -i ec2.py playbook.yml./run.sh

For a more complete set of instructions refer to:
https://github.com/apache/incubator-metron/tree/master/metron-deployment

To verify the working build go through the same verifications as in Step2, but on AWS.  Reference
playbook.yml for location of the services.
Ambari-master contains Ambari, web contains Kibana and sensors.