However, in case you have a running RHEL setup and would still like to do GlusterFS with XFS without the necessity for a Storage-subscription, here's how you do it:
1) Adding GlusterFS repositories to yum:
You will find the packages and repository information on the gluster.org servers:
https://download.gluster.org/pub/gluste ... .2/CentOS/
The CentOS repository sources are in a so called ".repo" file. Download this to "/etc/yum.repos.d" in your RHEL installation:
Code: Select all
$ wget -P /etc/yum.repos.d https://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.2/CentOS/glusterfs-epel.repo
Code: Select all
$ yum install glusterfs glusterfs-fuse glusterfs-server
2) Adding XFS support:
This is a tiny little bit more effort, because the required .repo file, as well as the package signature keys are in CentOS' release RPM.
2a) Adding CentOS base repositories from RPM:
That package can be found on the CentOS repository mirrors:
http://mirror.centos.org/centos-6/
There, browse to the CentOS version that corresponds to your RHEL version (e.g. v6.5) and go to the subfolder:
"os/x86_64/Packages" (for 64bit).
There, search for a package named "centos-release".
Download that package to a local folder on your RHEL setup:
Code: Select all
$ wget http://mirror.centos.org/centos-6/6.5/os/x86_64/Packages/centos-release-6-5.el6.centos.11.1.x86_64.rpm
Code: Select all
$ rpm2cpio centos-release-6-5.el6.centos.11.1.x86_64.rpm | cpio -idmv
Copy the following files to their corresponding position in your RHEL setup:
- etc/yum.repos.d/CentOS-Base.repo
- etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-*
2b) Adjust CentOS-Base.repo for RHEL:
RHEL fills the yum-variable "$releasever" with version number and the string "Server" or "Workstation". For example, a RHEL 6.5 would have:
This is not compatible with CentOS, as there you only have the release version number:releasever="6Server"
Edit your /etc/yum.repos.d/CentOS-Base.repo and replace "$releasever" with the version of your setup.releasever="6"
In my setup, I've used "6.5" to force the versions to be as exactly-matching as possible.
Here is an example how the "[base]" repo entry looks originally:
Code: Select all
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Code: Select all
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=6.5&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
If everything went fine, you should now be able to install "xfsprogs":
Code: Select all
$ yum install xfsprogs