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 <[email protected]>
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 <[email protected]>
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 [email protected] or file a JIRA ticket
with INFRA.
---