Quick start

To quickly test StorageOS on a laptop, you can set up a three node cluster using Vagrant.

You will need to install VirtualBox and Vagrant 1.9.3. You will also need the Vagrant plugin for Alpine, a lightweight Linux distribution:

vagrant plugin install vagrant-alpine

Installation

  1. Get the setup needed for a three-node StorageOS cluster:

     git clone https://github.com/storageos/storageos-alpine.git
     cd storageos-alpine
    
  2. Bring up the cluster. This takes around five minutes.

     $ make all
     Bringing machine 's-1' up with 'virtualbox' provider...
     Bringing machine 's-2' up with 'virtualbox' provider...
     Bringing machine 's-3' up with 'virtualbox' provider...
     [...]
    

    This sets up three virtual machines named s-1, s-2, s-3 running

    • Alpine Linux
    • Docker
    • The recommended KV store, Consul.
    • The StorageOS volume plugin.
  3. Connect to one of the VMs

     vagrant ssh s-1
    

Now you are ready to manage volumes or install Postgres.