/vagrant-cluster-ubuntu

A Ubuntu 14.04 cluster via Vagrant

MIT LicenseMIT

Ubuntu 14.04 cluster via Vagrant

This repository provides a template Vagrantfile to create a Ubuntu 14.04 cluster using the VirtualBox software hypervisor. After setup is complete you will have three Ubuntu virtual machines running on your local machine.

Please be aware that the standard memory per instance is set to 3072 MB, and the number of cpus to 2. That means by default you'll need a machine capable to free up to 6 cpu cores and 9216 MB memory.

Streamlined setup

Install dependencies

Clone this project and get it running!

git clone https://github.com/mesoshq/vagrant-cluster-ubuntu/
cd vagrant-cluster-ubuntu

Startup and SSH

The VirtualBox provider is the default Vagrant provider. Use this if you are unsure.

vagrant up
vagrant ssh ubuntu-01

Description

vagrant up triggers Vagrant to download the ubuntu/trusty64 box (if necessary) and (re)launch the instances

vagrant ssh <hostname> connects you to the virtual machine. The hostnames are ubuntu-01 to ubuntu-03, the IPs are from 172.17.10.101 to 172.17.10.103.

Configuration is stored in the directory so you can always return to this machine by executing vagrant ssh from the directory where the Vagrantfile was located.

mesosctl

You can use the provided mesosctl.yml file to load the cluster configuration like this:

mesosctl $ config load /path/to/mesosctl.yml