Skip to content

Latest commit

 

History

History
88 lines (55 loc) · 2.64 KB

deployment-in-production.md

File metadata and controls

88 lines (55 loc) · 2.64 KB
layout title permalink
doc
Deploy Eagle in the Production
/docs/deployment-in-production.html

This page outlines the steps for deploying Eagle in the production environment.

Here's the main content of this page:

  • Setup Cluster Environment
  • Start Eagle Service
    • Edit Configure files
    • Install metadata
  • Rock with monitoring apps
  • Stop Eagle Services

Setup Cluster Environment

Eagle requires a setup cluster environment to run monitoring applications. For more details, please check Environment

Start Eagle Service

  • Step 1: Edit environment related configurations:

    • Edit bin/eagle-env.sh

        # TODO: make sure java version is 1.7.x
        export JAVA_HOME=
      
        # TODO: Storm nimbus host. Default is localhost
        export EAGLE_NIMBUS_HOST=localhost
      
        # TODO: EAGLE_SERVICE_HOST, default is `hostname -f`
        export EAGLE_SERVICE_HOST=localhost
      
    • Edit conf/eagle-service.conf to configure the database to use (for example: hbase)

        # TODO: hbase.zookeeper.quorum in the format host1,host2,host3,...
        # default is "localhost"
        hbase-zookeeper-quorum="localhost"
      
        # TODO: hbase.zookeeper.property.clientPort
        # default is 2181
        hbase-zookeeper-property-clientPort=2181
      
        # TODO: hbase configuration: zookeeper.znode.parent
        # default is "/hbase"
        zookeeper-znode-parent="/hbase"
      
  • Step 2: Install metadata for policies

      $ cd <eagle-home>
    
      # start Eagle web service
      $ bin/eagle-service.sh start
    
      # import metadata after Eagle service is successfully started
      $ bin/eagle-topology-init.sh
    

You have now successfully installed Eagle and setup a monitoring site. Next you can

Rock with monitoring apps

Currently Eagle provides several analytics solutions for identifying security on a Hadoop cluster.

Stop Services

  • Stop eagle service

    $ bin/eagle-service.sh stop