Skip to content

Instantly share code, notes, and snippets.

@carlosonunez
Created April 7, 2016 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosonunez/e2b68fb6fefbe0256b2b2ca0f92495ba to your computer and use it in GitHub Desktop.
Save carlosonunez/e2b68fb6fefbe0256b2b2ca0f92495ba to your computer and use it in GitHub Desktop.
1. sudo apt-get install software-properties-common
2. sudo add-apt-repository ppa:gluster/glusterfs-3.5
3. sudo apt-get update
4. sudo apt-get install glusterfs-server
5. Create an EBS volume and mount it to each server
6. Probe for other glusterfs servers in the subnet that aren't itself using `gluster peer probe <ip>`
7. Create a new volume in the pool (from the example): ` gluster volume create testvol rep 2 transport tcp node01:/export/sdb1/brick node02:/export/sdb1/brick`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment