You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by nickwallen <gi...@git.apache.org> on 2016/05/02 18:30:56 UTC

[GitHub] incubator-metron pull request: METRON-128 - Create Platform Launch...

GitHub user nickwallen opened a pull request:

    https://github.com/apache/incubator-metron/pull/98

    METRON-128 - Create Platform Launch and Troubleshooting Scripts

    Changes
    ------------
    - `metron-deployment/scripts/platform-info.sh`
      - A means of extracting useful host information that can be used for troubleshooting.
    -  `metron-deployment/amazon-ec2/run.sh`
      - Simplifies the deployment process and checks for common user errors.
      - Adds host/platform information to `ansible.log` to aid in troubleshooting.
    - `metron-deployment/amazon-ec2/README.md`
      - Updated to show use of `run.sh`
      - Added warning about AWS costs
    
    Usage
    --------
    
    ```
    $ metron-deployment/scripts/platform-info.sh
    Metron 0.1BETA
    --
    * METRON-128
    --
    commit c8a8f8f06b89cbb4b365e3b6633ccbb0e3d98fba
    Author: Nick Allen <ni...@nickallen.org>
    Date:   Fri Apr 29 08:46:35 2016 -0400
    
        METRON-128 - Create Platform Launch and Troubleshooting Scripts
    --
    --
    ansible 2.0.1.0
      config file = /Users/nallen/Development/incubator-metron/metron-deployment/ansible.cfg
      configured module search path = extra_modules
    --
    Vagrant 1.8.1
    --
    Python 2.7.11
    --
    Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
    Maven home: /usr/local/Cellar/maven/3.3.9/libexec
    Java version: 1.8.0_66, vendor: Oracle Corporation
    Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre
    Default locale: en_US, platform encoding: UTF-8
    OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac"
    --
    Darwin HW12402.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
    ```
    
    ```
    $ metron-deployment/amazon-ec2/run.sh
    Metron Environment [metron-test]: my-custom-env
    ...
    ```
    
    Validation
    -------------
    - Deployment to Amazon EC2

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nickwallen/incubator-metron METRON-128

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/98.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
    
----
commit c8a8f8f06b89cbb4b365e3b6633ccbb0e3d98fba
Author: Nick Allen <ni...@nickallen.org>
Date:   2016-04-29T12:46:35Z

    METRON-128 - Create Platform Launch and Troubleshooting Scripts

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron pull request: METRON-128 - Create Platform Launch...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-metron/pull/98


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron pull request: METRON-128 - Create Platform Launch...

Posted by cestella <gi...@git.apache.org>.
Github user cestella commented on the pull request:

    https://github.com/apache/incubator-metron/pull/98#issuecomment-216294305
  
    +1 this is great!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron pull request: METRON-128 - Create Platform Launch...

Posted by mmiklavc <gi...@git.apache.org>.
Github user mmiklavc commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/98#discussion_r64630810
  
    --- Diff: metron-deployment/amazon-ec2/README.md ---
    @@ -3,18 +3,40 @@ Apache Metron on Amazon EC2
     
     This project fully automates the provisioning of Apache Metron on Amazon EC2 infrastructure.  Starting with only your Amazon EC2 credentials, this project will create a fully-functioning, end-to-end, multi-node cluster running Apache Metron.
     
    +Warning: Amazon will charge for the use of their resources when running Apache Metron.  The amount will vary based on the number and size of hosts, along with current Amazon pricing structure.  Be sure to stop or terminate all of the hosts instantiated by Apache Metron when not in use to avoid unnecessary charges.
    +
     Getting Started
     ---------------
     
     ### Prerequisites
     
    -The host that will drive the provisioning process will need to have [Ansible](https://github.com/ansible/ansible), Python and PIP installed.  In most cases, a development laptop serves this purpose just fine.  Also, install the Python library `boto` and its dependencies.  
    +The computer used to deploy Apache Metron will need to have [Ansible](https://github.com/ansible/ansible), Python, Maven, SSH, and Git installed.  Any platform that supports these tools is suitable, but the following instructions cover only Mac OS X.  The easiest means of installing these tools on a Mac is to use the excellent [Homebrew](http://brew.sh/) project.
     
    -```
    -pip install boto six
    --- End diff --
    
    Why is the boto install instruction removed? When I run ec2 install, I get the following error: "boto required for this module"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-metron pull request: METRON-128 - Create Platform Launch...

Posted by dlyle65535 <gi...@git.apache.org>.
Github user dlyle65535 commented on the pull request:

    https://github.com/apache/incubator-metron/pull/98#issuecomment-216293547
  
    +1 - this is going to be super-helpful!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---