kevints / playa-mesos

Quickly build Mesos sandbox environments using Vagrant. Run apps on top!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playa Mesos

Playa Mesos helps you quickly create Apache Mesos test environments. This project relies on VirtualBox, Vagrant, and an Ubuntu box image which has Mesos pre-installed. The box image is downloadable for your convenience, but it can also be built from source using Packer.

Requirements

Quick Start

  1. Install VirtualBox

  2. Install Vagrant

  3. Clone this repository

git clone https://github.com/mesosphere/playa-mesos.git
cd playa-mesos
  1. Make sure tests pass
bin/test
  1. Change to the ubuntu_13.04 profile directory
cd profiles/ubuntu_13.04
  1. Start the VM
vagrant up
  1. Connect to the Mesos Web UI on 10.141.141.10:5050

  2. SSH to the VM

vagrant ssh
ps -eaf | grep mesos
exit
  1. Halt the VM
vagrant halt
  1. Destroy the VM
vagrant destroy

Building the Mesos box image (optional)

  1. Install Packer

    Installing Packer is not completely automatic. Once you have downloaded and extracted Packer, you must update your search path so that the packer executable can be found.

# EXAMPLE - PACKER LOCATION MUST BE ADJUSTED
export PATH=$PATH:/path/where/i/extracted/packer/archive/
  1. Change to the ubuntu_13.04 profile directory
cd profiles/ubuntu_13.04
  1. Destroy any existing VM
vagrant destroy
  1. Build the Vagrant box image
./build
  1. Start the VM using the local box image
vagrant up

The build is controlled with the following files:

For additional information on customizing the build, or creating a new profile, see Configuration and the Packer Documentation.

Documentation

Similar Projects

  • vagrant-mesos: Vagrant provisiong with multinode and EC2 support

Authors

About

Quickly build Mesos sandbox environments using Vagrant. Run apps on top!

License:Apache License 2.0


Languages

Language:Shell 76.8%Language:Ruby 23.2%