layout: doc title: “Deploy Environment” permalink: /docs/deployment-env.html

Setup Environment

Apache Eagle (called Eagle in the following) as an analytics solution for identifying security and performance issues instantly, relies on streaming platform Storm[^STORM] + Kafka[^KAFKA] to meet the realtime criteria, and persistence storage to store metadata and some metrics. As for the persistence storage, it supports three types of database: HBase[^HBASE], Derby[^DERBY], and Mysql

To run monitoring applications, Eagle requires the following dependencies.

  • For streaming platform dependencies

    • Storm: 0.9.3 or later
    • Kafka: 0.8.x or later
    • Java: 1.7.x
    • NPM (On MAC OS try “brew install node”)
  • For database dependencies (Choose one of them)

    • HBase: 0.98 or later
      • Hadoop[^HADOOP]: 2.6.x is required
    • Mysql
      • Installation is required
    • Derby
      • No installation

Setup Cluster in Sandbox

To make thing easier you can try Eagle with an all-in-one sandbox VM, like HDP sandbox(HDP 2.2.4 is recommended). Next we will go with Hortonworks Sandbox 2.2.4 to setup a minimal requirement cluster with Storm and Kafka.

  1. Launch Ambari[^AMBARI]

  2. Start Storm and Kafka via Ambari. Showing Storm as an example below. Restart Services

  3. (Optional) Start HBase via Ambari with root as HBase superuser add superuser add superuser

  4. Add Eagle service port. If the NAT network is used in a virtual machine, add port 9099 to “Port Forwarding” Port Forwarding


Footnotes

[^STORM]:All mentions of “storm” on this page represent Apache Storm. [^KAFKA]:All mentions of “kafka” on this page represent Apache Kafka. [^HBASE]:All mentions of “hbase” on this page represent Apache HBase. [^DERBY]:All mentions of “derby” on this page represent Apache Derby. [^HADOOP]:Apache Hadoop. [^AMBARI]:All mentions of “ambari” on this page represent Apache Ambari.