Total Pageviews

Monday, January 3, 2011

High Availablility storage cluster with GlusterFS

http://www.howtoforge.com/high-availability-storage-with-glusterfs-on-ubuntu-10.04-automatic-file-replication-mirror-across-two-storage-servers

In the above link some items are missing. Find below the extra steps to be done:

on client system one need to install Fuse, as GlusterFS is using FUSE as underlying File system. To install FUSE:

  • apt-get install build-essential
  • apt-get install libfuse-dev
  • apt-get install fuse-utils
  • apt-get install libcurl4-openssl-dev
  • apt-get install libxml2-dev
  • apt-get install mime-support
 On GlusterFS server side use the below command instead of shown in the link above:

[root@@server]# glusterfsd -f /tmp/glusterfsd.vol
[root@@client]# glusterfs -f /tmp/glusterfs.vol /mnt/glusterfs
NOTE: use correct path for Glusterfs.vol

http://www.gluster.com/community/documentation/index.php/User_Guide

GlusterFS Server and Client on same machine:

one can have glusterfs server and client on same machine. only thing to do is having two separate glusterfs.vol for server and client (say glusterfs_srv.vol and glusterfs_cl.vol) under /etc/glusterfs/ folder.

No comments: