This is a fork of Playa Mesos with Chronos added and deprecated modules like Deimos removed.
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.
- VirtualBox 4.2+
- Vagrant 1.3+
- git (command line tool)
- Packer 0.5+ (optional)
-
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
- 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.
- vagrant-mesos: Vagrant provisiong with multinode and EC2 support