Preparation
yum install bison automake flex libtool gcc fuse fuse-libs python-ctypes rsync readline-devel compat-readline5
yum remove rsync
cd /usr/local/src
wget http://packages.sw.be/rsync/rsync-3.0.7-1.el5.rfx.x86_64.rpm
rpm -Uvh rsync-3.0.7-1.el5.rfx.x86_64.rpm
Enable Fuse
vzctl set CTID --devices c:10:229:rw --save
vzctl exec CTID mknod -m 666 /dev/fuse c 10 229
vzctl exec CTID cp -a /dev/fuse /lib/udev/devices/
vzctl set CTID --capability SYS_ADMIN:on --save
Download GlusterFS package
cd /usr/local/src
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-core-3.2.4-1.x86_64.rpm
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-fuse-3.2.4-1.x86_64.rpm
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-geo-replication-3.2.4-1.x86_64.rpm
Stop here and create a few clone for the GlusterFS cluster. Each GlusterFS cluster has unique ID that if you clone them after installed Gluster, you’ll get same ID so peer probe will not work.
Install GlusterFS
rpm -Uvh glusterfs-core-3.2.4-1.x86_64.rpm
rpm -Uvh glusterfs-fuse-3.2.4-1.x86_64.rpm
rpm -Uvh glusterfs-geo-replication-3.2.4-1.x86_64.rpm
Advertisement



