master
root 3 years ago
commit 0b6083cc53

@ -0,0 +1,18 @@
#!/bin/bash
set -m
echo "Template only, do not run!"
echo "cat file for examples!"
#
#minimum arbiter brick size = 4 KB * ( size in KB of largest data brick in volume or replica set / average file size in KB)
#For example, if you have two 1 TB data bricks, and the average size of the files is 2 GB, then the recommended minimum size for your arbiter brick 2 MB, as shown in the following example:
#minimum arbiter brick size = 4 KB * ( 1 TB / 2 GB )
# = 4 KB * ( 1000000000 KB / 2000000 KB )
# = 4 KB * 500 KB
# = 2000 KB
# = 2 MB
#gluster volume create VOLUMENAME replica 3 arbiter 1 \
#srv1:brick1 srv2:brick2 srv3:arbiterbrick1

@ -0,0 +1,14 @@
#!/bin/bash
#Install Gluster et configuration du firewall
dnf in -y glusterfs glusterfs-server
firewall-cmd --add-service=glusterfs --permanent
firewall-cmd --reload
systemctl enable --now glusterd
#JustInCase
podman network reload --all
Loading…
Cancel
Save