commit 0b6083cc53269a593538cd27ca4c254024847a5f Author: root Date: Mon Jun 13 13:57:49 2022 -0400 init diff --git a/create.template b/create.template new file mode 100644 index 0000000..a8e0b1c --- /dev/null +++ b/create.template @@ -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 diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..9a4e3a7 --- /dev/null +++ b/setup.sh @@ -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 + +