DEPRECATED This project is no longer actively maintained. Please see DC/OS Vagrant for all your Mesos test environment needs.
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 and Marathon pre-installed. The box image is downloadable for your convenience, but it can also be built from source using Packer.
As an alternative to VirtualBox, it's possible to build and run the image on VMware Fusion or Workstation.
Requirements
- VirtualBox 4.2+
- Vagrant 1.3+
- git (command line tool)
- Packer 0.5+ (optional)
- VMware Fusion or Workstation (optional)
- Vagrant Plugin for VMware Fusion or Workstation (optional)
Quick Start
-
Clone this repository
git clone https://github.com/mesosphere/playa-mesos.git
cd playa-mesos
- Make sure tests pass
bin/test
- Start the VM
vagrant up
-
Connect to the Mesos Web UI on 10.141.141.10:5050 and the Marathon Web UI on 10.141.141.10:8080
-
SSH to the VM
vagrant ssh
ps -eaf | grep mesos
exit
- Halt the VM
vagrant halt
- Destroy the VM
vagrant destroy
Building the Mesos box image (optional)
- 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/
- Destroy any existing VM
vagrant destroy
- Build the Vagrant box image
bin/build
- 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 provisioning with multinode and EC2 support
- babushka-mesos: It is Babushka based provisioning of Mesos Cluster which can help you demonstrate potential of mesos.
Authors
VMware Support: Fabio Rapposelli (@fabiorapposelli)