Add README and fix checkup.sh

This commit is contained in:
Thomas Gebert 2025-10-07 11:43:25 +02:00
parent 0b0895a4f8
commit 28db5faae7
2 changed files with 12 additions and 2 deletions

10
gp-scripts/README.md Normal file
View File

@ -0,0 +1,10 @@
# brick-do.sh
Script to run commands on the single bricks of a GlusterFS volume.
e.g.
brick-do.sh -v ge-pacs -c "sudo ls -alh" -p "/ge-pacs/data"
# checkup.sh
Run a quick test on the cluster and do some sanity checks. Most checks are intended to be reviewed by a human being.

View File

@ -27,9 +27,9 @@ ${ANSIBLE_CMD} -b all -m shell \
-a 'for zone in external interconnect client; do
echo "### ${zone} ###"
echo -n "running: "
firewall-cmd --zone=external --list-interfaces
firewall-cmd --zone="${zone}" --list-interfaces
echo -n "permanent: "
firewall-cmd --permanent --zone=external --list-interfaces
firewall-cmd --permanent --zone="${zone}" --list-interfaces
echo ""
done'