Description: This repository is a collection of Ansible scripts and other supporting code required to build a scalable, secure, and powerful data processing platform.ร
- Technology stack: Ansible is used for deployment.
- Status: Under active development. Once we've reached "Alpha", further changes will be tracked in the CHANGELOG.
The Aurora data platform was designed to work on a network of RHEL 7 servers, and has only been tested in that environment. Additionally, you must have Ansible installed to deploy, and Vagrant to run locally.
To install locally, simply run "vagrant up" from the /deploy directory. To deploy to a remote environment, a custom inventory file is required along with a custom group_vars file to go with it. Once that has been added, simply run "ansible-playbook site.yml -i inventories/{{ your_environment }}"
As mentioned above, you can configure the deployment using Ansible's inventory and group_vars functionality.
TBD - Likely will create more substantial documentation defining what each server is for and how it is meant to be used.
- brew cask install docker-toolbox
- docker-machine start default
- docker-machine create --driver "virtualbox" default
- eval "$(docker-machine env default)"
- docker ps (to validate it works)
If docker starts running out of disk space, connect to the boot2docker VM (or Mac terminal) and run this:
docker ps -a -q | xargs -n 1 -I {} docker rm {}
Command to make sure the exited containers are deleted:
docker rm -v $(docker ps -a -q -f status=exited)
When developing the Travis CI file, it can be helpful to test in travis's environment as described here: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
- Note: you'll need to install the travis image with --privileged
- docker run --privileged -it quay.io/travisci/travis-ruby /bin/bash
To do this, follow the steps above up to actually running your commands. Before doing so, Docker must be installed in the Travis CI image, like so:
- sudo apt-get install apt-transport-https ca-certificates
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
- echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" | sudo tee /etc/apt/sources.list.d/docker.list
- sudo apt-get update
- apt-cache policy docker-engine
- sudo apt-get install docker-engine (May neeed --force-yes)
- sudo ln -s /bin/true /sbin/initctl
- sudo service docker start ->>
- docker daemon -H unix:///var/run/docker.sock&>/var/log/docker.log &
- git clone https://github.com/[githubfork]/aurora /aurora
- cd /aurora
- git checkout travis
- Run commands in travis.yml file
- Development (Mesos inside Docker):
- docker run --rm --privileged -p 5050:5050 -p 5051:5051 -p 8080:8080 mesos/mesos-mini
- vagrant up file_server_1 file_server_2
- vagrant up mesos_master_1 mesos_master_2 mesos_master_3 mesos_agent_1 mesos_agent_2
- changes this to: install_glusterfs: False, mount_glusterfs: False in the group_vars/all/main.yml to disable the dependency on filser_server_1 and 2
- will need 3 master for quoram
- Vagrant port forward Quick Links once everything is running:
- Marathon http://127.0.0.1:8080
- Mesos Master http://127.0.0.1:5050
- GoCD server http://127.0.0.1:8153
- Jenkins server http://127.0.0.1:8090
- vagrant plugin install vagrant-vbguest
- so we can skip updating the guest_additions iso
-
Too many..
-
You need the have something in .vault_password
-
Travis-CI hangs when jobs complete - resolution
Open an issue on Github if you need help, have a feature request, or have code to contribute.
Refer to CONTRIBUTING if you'd like to help!