What is Gluster non-stop clustered storage?
GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file system in terms of features and extensibility.
Prerequisites
RPM forge repositories, ‘FUSE’ and ‘rpm-build must be installed on your server.
# yum install fuse --enablerepo=rpmforge
# yum install rpm-build
The 32 bit RPM needs to be built from source. NB! Always use package management, makes housekeeping easier.
Download the latest source file from GlusterFS
# wget
There seems to be a problem with the RPM spec file so we’ll need to unpack glusterfs-2.0.0rc4.tar.gz and edit the RPM spec file.
# tar zxvf glusterfs-2.0.0rc4.tar.gz
# cd glusterfs-2.0.0rc4
# vi glusterfs.spec
Hash out the following lines
#BuildRequires: apache-devel >= 1.3
#Requires: apache >= 1.3
and replace add with the following line
BuildRequires: httpd-devel
Requires: httpd
Then pack the directory back into glusterfs-2.0.0rc4.tar.gz
# tar cvfz glusterfs-2.0.0rc4.tar.gz glusterfs-2.0.0rc4
Building the GlusterFS RPM
# rpmbuild -ta glusterfs-2.0.0rc4.tar.gz
Once the build process is finished you’re ready to install your RPMS
# rpm -ivh /usr/src/redhat/RPMS/i386/glusterfs-2.0.0rc4-1.i386.rpm
# rpm -ivh /usr/src/redhat/RPMS/i386/glusterfs-devel-2.0.0rc4-1.i386.rpm
阅读(1146) | 评论(0) | 转发(0) |