Debian Codegraph @

demo/vagrant-cluster/README.md

raw
1 # Vagrant Serf Demo
2
3 This demo provides a very simple Vagrantfile that creates two nodes,
4 one at "172.20.20.10" and another at "172.20.20.11". Both are running
5 a standard Ubuntu 12.04 distribution, with Serf pre-installed under
6 `/usr/bin/serf`.
7
8 To get started, you can start the cluster by just doing:
9
10 $ vagrant up
11
12 Once it is finished, you should be able to see the following:
13
14 $ vagrant status
15 Current machine states:
16 n1 running (vmware_fusion)
17 n2 running (vmware_fusion)
18
19 At this point the two nodes are running and you can SSH in to play with them:
20
21 $ vagrant ssh n1
22 ...
23 $ vagrant ssh n2
24 ...
25
26 To learn more about starting serf, joining nodes and interacting with the agent,
27 checkout the [getting started guide](https://www.serf.io/intro/getting-started/install.html).