metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (METRON-1362) Improve Metron Deployment README
Date Wed, 03 Jan 2018 14:17:00 GMT


ASF GitHub Bot commented on METRON-1362:

Github user nickwallen commented on a diff in the pull request:
    --- Diff: metron-deployment/packaging/ambari/metron-mpack/ ---
    @@ -0,0 +1,127 @@
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +Unless required by applicable law or agreed to in writing, software
    +distributed under the License is distributed on an "AS IS" BASIS,
    +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +See the License for the specific language governing permissions and
    +limitations under the License.
    +This provides a Management Pack (MPack) extension for [Apache Ambari](
that simplifies the provisioning, management and monitoring of Metron on clusters of any size.
    +This allows you to easily install Metron using a simple, guided process.  This also allows
you to monitor cluster health and even secure your cluster with kerberos.
    +### Prerequisites
    +* Ambari 2.4.2+
    +* Installable Metron packages (either RPMs or DEBs) located in a repository on each host
at `/localrepo`.
    +* A [Node.js]( repository installed on
the host running the Management and Alarm UI.
    +### Quick Start
    +1. Build the Metron MPack. Execute the following command from the project's root directory.
    +    ```
    +    mvn clean package -Pmpack -DskipTests
    +    ```
    +1. This results in the Mpack being produced at the following location.
    +    ```
    +    metron-deployment/packaging/ambari/metron-mpack/target/metron_mpack-x.y.z.0.tar.gz
    +    ```
    +1. Copy the tarball to the host where Ambari Server is installed.
    +1. Ensure that Ambari Server is stopped.
    +1. Install the MPack.
    +    ```
    +    ambari-server install-mpack --mpack=metron_mpack-x.y.z.0.tar.gz --verbose
    +    ```
    +1. Install the Metron packages (RPMs or DEBs) in a local repository on each host where
a Metron component is installed.  By default, the repository is expected to exist at `/localrepo`.
    +    On hosts where only a Metron client is installed, the local repository must exist,
but it does not need to contain Metron packages.  For example to create an empty repository
for an RPM-based system, run the following commands.
    +    ```
    +    yum install createrepo
    +    mkdir /localrepo
    +    cd /localrepo
    +    createrepo
    +    ```
    +1. Metron will now be available as an installable service within Ambari.  
    +### Installation Notes
    +The MPack will make all Metron services available in Ambari in the same manner as any
other services in a stack.  These can be installed using Ambari's user interface using "Add
Services" or during an initial cluster install.
    +#### Co-Location
    +1. The Parsers, Enrichment, Indexing, and Profiler masters should be colocated on a host
with a Kafka Broker.  This is necessary so that the correct Kafka topics can be created.
    +1. The Enrichment and Profiler masters should be colocated on a host with an HBase client.
 This is necessary so that the Enrichment, Threat Intel, and Profile tables can be created.
    +This colocation is currently not enforced by Ambari and should be managed by either a
Service or Stack advisor as an enhancement.
    --- End diff --
    I checked the script and all of these documented collocation requirements
are enforced, except one.
    I created to track one missing collocation

> Improve Metron Deployment README
> --------------------------------
>                 Key: METRON-1362
>                 URL:
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Nick Allen
>            Assignee: Nick Allen
> The README and docs under metron-deployment/ are rather confusing and containing outdated
information.  I'd like to get that cleaned up.

This message was sent by Atlassian JIRA

View raw message