Metron学习4_Ansible Based Vagrant Single Node VM Install
2016-12-09 20:16
721 查看
备注:
Metron安装方式的一种,基于单节点虚拟机安装;
This install fully automates the provisioning of Apache Metron on single, virtualized host running on Virtualbox. Metron is composed of many components and installing all of these on a single host, especially a virtualized one, will greatly stress your computer.
To work sufficiently this will require at least 8 GB of RAM and a fair amount of patience.
See the following for instructions: Full Dev
Platform
原文来自:https://cwiki.apache.org/confluence/display/METRON/Dev+VM+Install
This project fully automates the provisioning and deployment of Apache Metron and all necessary prerequisites on a single, virtualized host running on Virtualbox.
Metron is composed of many components and installing all of these on a single host, especially a virtualized one, will greatly stress the resources of the host. The host will require at least 8 GB of RAM and a fair amount of patience. It is highly recommended
that you shut down all unnecessary services. To that end the vagrant file configuration defaults to disabling solr and yaf.
The computer used to deploy Apache Metron will need to have the following components installed.
Ansible 2.0.0.2
Vagrant 1.8.1
Virtualbox 5.0.16
Python 2.7.11
Maven 3.3.9
Any platform that supports these tools is suitable, but the following instructions cover installation on Mac OS X. The easiest means of installing these tools on a Mac is to use the excellent Homebrew project.
Install Homebrew by following the instructions at Homebrew.
Run the following command in a terminal to install all of the required tools.
Build Metron
Install Vagrant Hostmanager.
Deploy Metron
Should the process fail before completing the deployment, the following command will continue the deployment process without re-instantiating the host.
Navigate to the following resources to explore your newly minted Apache Metron environment.
Ambari
Metron
Services
Connecting to the host through SSH is as simple as running the following command.
In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways. The following commands will re-run the
on the Vagrant image. This will install components (if necessary) and start the UI.
or
A collection of tags is specified as a comma separated list.
Tags are listed in the playbooks, some frequently used tags:
Note also that there is a convenience script
原文来自:https://github.com/apache/incubator-metron/tree/master/metron-deployment/vagrant/full-dev-platform
Metron安装方式的一种,基于单节点虚拟机安装;
This install fully automates the provisioning of Apache Metron on single, virtualized host running on Virtualbox. Metron is composed of many components and installing all of these on a single host, especially a virtualized one, will greatly stress your computer.
To work sufficiently this will require at least 8 GB of RAM and a fair amount of patience.
See the following for instructions: Full Dev
Platform
原文来自:https://cwiki.apache.org/confluence/display/METRON/Dev+VM+Install
Full Development Platform
This project fully automates the provisioning and deployment of Apache Metron and all necessary prerequisites on a single, virtualized host running on Virtualbox.Metron is composed of many components and installing all of these on a single host, especially a virtualized one, will greatly stress the resources of the host. The host will require at least 8 GB of RAM and a fair amount of patience. It is highly recommended
that you shut down all unnecessary services. To that end the vagrant file configuration defaults to disabling solr and yaf.
Getting
Started
Prerequisites
The computer used to deploy Apache Metron will need to have the following components installed.Ansible 2.0.0.2
Vagrant 1.8.1
Virtualbox 5.0.16
Python 2.7.11
Maven 3.3.9
OS
X
Any platform that supports these tools is suitable, but the following instructions cover installation on Mac OS X. The easiest means of installing these tools on a Mac is to use the excellent Homebrew project.Install Homebrew by following the instructions at Homebrew.
Run the following command in a terminal to install all of the required tools.
brew cask install vagrant virtualbox brew install maven git brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/ee1273bf919a5e4e50838513a9e55ea423e1d7ce/Formula/ansible.rb brew switch ansible 2.0.0.2
Deploy
Metron
Build Metroncd incubator-metron mvn clean package -DskipTests
Install Vagrant Hostmanager.
vagrant plugin install vagrant-hostmanager
Deploy Metron
cd metron-deployment/vagrant/full-dev-platform vagrant up
Should the process fail before completing the deployment, the following command will continue the deployment process without re-instantiating the host.
vagrant provision
Explore
Metron
Navigate to the following resources to explore your newly minted Apache Metron environment.Ambari
Metron
Services
Connecting to the host through SSH is as simple as running the following command.
vagrant ssh
Working
with Metron
In addition to re-running the entire provisioning play book, you may now re-run an individual Ansible tag or a collection of tags in the following ways. The following commands will re-run the webrole
on the Vagrant image. This will install components (if necessary) and start the UI.
./run_ansible_role.sh web
or
vagrant --ansible-tags="web" provision
Using
Tags
A collection of tags is specified as a comma separated list../run_ansible_role.sh "sensors,enrichment"
Tags are listed in the playbooks, some frequently used tags:
hdp-install- Install HDP
hdp-deploy- Deploy and Start HDP Services (will start all Hadoop Services)
sensors- Deploy and Start Sensors.
enrichment- Deploy and Start Enrichment Topology.
Note also that there is a convenience script
./run_enrichment_role.shwhich executes Vagrant with the
enrichmenttag.
原文来自:https://github.com/apache/incubator-metron/tree/master/metron-deployment/vagrant/full-dev-platform
相关文章推荐
- hadoop2.2 single node install
- Install Virtualbox and Vagrant on Ubuntu 14.04 VM
- Hadoop学习01_Single Node Setup
- Hadoop&Mac single node install
- npm install Error:EPROTO: protocol error, symlink '../mime/cli.js' -> '/vagrant/src/nodejs/node_modules/express/node_modules/send/node_modules/.bin/mime'
- Install Single Node Hadoop(2.7.2) on Mac
- Steps to install Hadoop 2.x release (Yarn or Next-Gen) on single node cluster setup
- Node.js学习 - Install and Configure
- Devstack single node Installation on VM
- [hadoop]How To Install Apache Hadoop Pseudo Distributed Mode on a Single Node
- node.js认识学习三:npm install 本地安装与全局安装的区别
- Metron学习5_Install/Deploy Metron to the Cluster过程及出现的问题
- Node Based Shader
- 学习 TTreeView [4] - TTreeNode 类的常用属性与 TTreeView 类的 OnChange 事件
- 在VM上学习嵌入式Linux系统的构建之二--内存文件系统
- vim-ruby-2007.05.07 bin/install.rb学习 (二)
- Node Based ShaderGenerator Features list
- Human-Robot Interaction based on Haar-like Features and Eigenfaces 学习心得及相关的较好的网站
- vim-ruby-2007.05.07 bin/install.rb学习 (三)
- 当XML用selectSingleNode查找节点时,出现“未指定错误”时的处理