Preparing the nodes
Prepare your IBM® Cloud Private nodes for GlusterFS configuration.
-
On each GlusterFS storage node, complete these steps:
a. Configure the
dm_thin_pool
kernel module.sudo modprobe dm_thin_pool
b. To ensure that loading of the kernel module is persisted across reboots, add the
dm_thin_pool
module name to themodules
file.-
On Ubuntu, run this command:
echo dm_thin_pool | sudo tee -a /etc/modules
-
On Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), run this command:
echo dm_thin_pool | sudo tee -a /etc/modules-load.d/dm_thin_pool.conf
If the changes are saved correctly, the commands return the following output:
dm_thin_pool
-
-
On each IBM Cloud Private cluster node that uses the GlusterFS volume, install the GlusterFS client.
-
On Ubuntu, run the following commands:
sudo apt-get update
sudo apt-get install glusterfs-client
-
On RHEL, run the following command:
sudo yum install glusterfs-client
-
On SLES, run the following commands:
zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_12_SP3/filesystems.repo
zypper refresh
zypper install glusterfs
-
On RHEL Linux® on Power® (ppc64le), first create a repository, then install GlusterFS client:
-
Create a repository:
[centos-gluster41] name=CentOS-$releasever - Gluster 4.1 baseurl=https://buildlogs.centos.org/centos/7/storage/$basearch/gluster-4.1/ gpgcheck=0 enabled=1
-
Install GlusterFS client:
sudo yum install glusterfs-client
-
-
On SLES Linux® on Power® (ppc64le), first add a repository, then install GlusterFS package:
-
Import the key:
rpm --import https://oplab9.parqtec.unicamp.br/pub/ppc64el/glusterfs/sles/openpower-gpgkey-public.asc
Check whether the key was correctly imported:
rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'
-
Add the repository.
zypper ar -t YUM https://oplab9.parqtec.unicamp.br/pub/ppc64el/glusterfs/sles/ OpenPower\ Unicamp\ Lab
-
Install GlusterFS package:
zypper install glusterfs
-
-