Filesystems: Gluster

From Define Wiki
Revision as of 15:54, 12 July 2012 by David (talk | contribs)
Jump to navigation Jump to search

Setup tested using ubuntu 12.10 on calxeda hardware. Steps should be applicable on most linux distros. In this configuration we are using 2 hosts which act both as servers and clients.

  • Gluster is installed on 2 hosts (cal3 and cal4)
  • A gluster filesystem is created across 2 hosts
  • Both hosts then mount the glusterfs

Install Gluster

  apt-get -y install gluster-server gluster-client

Setup the Gluster servers

  • Probe peers and check the status. Instructions below were exected on cal4
root@cal4:~$ gluster peer probe cal3
Probe successful
root@cal4:~$ gluster peer status
Number of Peers: 1

Hostname: cal3
Uuid: 5ce71128-9143-424b-b407-c3d4e6a39cf1
State: Peer in Cluster (Connected)