Find file History
Seth Vargo
Seth Vargo Update URLs
Latest commit a1c6efe Jul 18, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Update URLs Jul 18, 2016
Vagrantfile Updates Vagrant demo to use 0.7.0. Dec 21, 2015

README.md

Vagrant Serf Demo

This demo provides a very simple Vagrantfile that creates two nodes, one at "172.20.20.10" and another at "172.20.20.11". Both are running a standard Ubuntu 12.04 distribution, with Serf pre-installed under /usr/bin/serf.

To get started, you can start the cluster by just doing:

$ vagrant up

Once it is finished, you should be able to see the following:

$ vagrant status
Current machine states:
n1                        running (vmware_fusion)
n2                        running (vmware_fusion)

At this point the two nodes are running and you can SSH in to play with them:

$ vagrant ssh n1
...
$ vagrant ssh n2
...

To learn more about starting serf, joining nodes and interacting with the agent, checkout the getting started guide.