Install and run GlusterFS v1.3 in 1 minute

From GlusterDocumentation

Before you begin, "fuse" must be running

'FUSE' must be running on your server. Check with system-config-services or ntsysv.

Manual Installation - 2 minutes

  1. As root on your Fedora box, run "yum install glusterfs-server.x86_64"
  2. Run "yum install glusterfs-client.x86_64"
  3. Create /tmp/export (or change the paramter in /etc/glusterfs/glusterfs-server.vol)
  4. Create /mnt/glusterfs (or change the parameter in /etc/glusterfs/glusterfs-client.vol)
  5. Edit and set the ip address of your server on line 28 of /etc/glusterfs/glusterfs-client.vol.
  6. Run "glusterfsd -f /etc/glusterfs/glusterfs-server.vol"
  7. Run "glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs"

Lazy Man's Installation - 1 minute

Run this first script which installs glusterFS using YUM.

#!/bin/bash
# Install server and create default directory
yum install -y glusterfs-server.x86_64
mkdir /tmp/export
# Install client and create default directory
yum install -y glusterfs-client.x86_64
mkdir /mnt/glusterfs

Edit and set the ip address on line 28 of /etc/glusterfs/glusterfs-client.vol.
The line looks something like this, ip-address should be the address of the server
you are installing on:

option remote-host ip-address

Run this second script which starts glusterFS.

#!/bin/bash
glusterfsd -f /etc/glusterfs/glusterfs-server.vol 
glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs

 

Copyright © Gluster, Inc. All Rights Reserved.