You will need to download the following repository file to the /etc/yum.repos.d/
directory before trying to install the glusterfs-server
package.
wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo yum install glusterfs-server
It will pull-in a load of dependencies…
=========================================================================================================================================== Package Arch Version Repository Size =========================================================================================================================================== Installing: glusterfs-server x86_64 3.7.2-3.el6 glusterfs-epel 1.2 M Installing for dependencies: device-mapper-event x86_64 1.02.90-2.el6_6.3 updates 122 k device-mapper-event-libs x86_64 1.02.90-2.el6_6.3 updates 116 k device-mapper-persistent-data x86_64 0.3.2-1.el6 base 2.5 M glusterfs-cli x86_64 3.7.2-3.el6 glusterfs-epel 155 k glusterfs-client-xlators x86_64 3.7.2-3.el6 glusterfs-epel 919 k glusterfs-fuse x86_64 3.7.2-3.el6 glusterfs-epel 119 k keyutils x86_64 1.4-5.el6 base 39 k libevent x86_64 1.4.13-4.el6 base 66 k libgssglue x86_64 0.1-11.el6 base 23 k libtirpc x86_64 0.2.1-10.el6 base 79 k lvm2 x86_64 2.02.111-2.el6_6.3 updates 817 k lvm2-libs x86_64 2.02.111-2.el6_6.3 updates 901 k nfs-utils x86_64 1:1.2.3-54.el6 base 326 k nfs-utils-lib x86_64 1.1.5-9.el6_6 updates 68 k pyxattr x86_64 0.5.0-1.el6 epel 24 k rpcbind x86_64 0.2.0-11.el6 base 51 k userspace-rcu x86_64 0.7.7-1.el6 epel 60 k Updating for dependencies: glusterfs x86_64 3.7.2-3.el6 glusterfs-epel 416 k glusterfs-api x86_64 3.7.2-3.el6 glusterfs-epel 72 k glusterfs-libs x86_64 3.7.2-3.el6 glusterfs-epel 318 k Transaction Summary =========================================================================================================================================== Install 18 Package(s) Upgrade 3 Package(s) Total download size: 8.3 M Is this ok [y/N]: y
…Accept the GPG key imports you are alerted to and proceed with the installation.
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 4ab22bb3: NOKEY Retrieving key from http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key Importing GPG key 0x4AB22BB3: Userid: "Gluster Packager <[email protected]>" From : http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key Is this ok [y/N]: y warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Importing GPG key 0x0608B895: Userid : EPEL (6) <[email protected]> Package: epel-release-6-8.noarch (@epel/6.6) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Is this ok [y/N]: y
Ensure the glusterfs daemon is set to start on boot and start the service.
chkconfig --levels 235 glusterd on service glusterd start
You can check the status with….
[root@glusterfs-web01 ~]# /etc/init.d/glusterfsd status glusterfsd is stopped [root@glusterfs-web01 ~]# /etc/init.d/glusterd status glusterd (pid 6148) is running...
You can check the version with the following.
glusterfsd –version
[root@glusterfs-web01 ~]#
glusterfs 3.7.2
built on Jun 23 2015 12:13:11
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
Be the first to comment