diff --git a/gp-scripts/README.md b/gp-scripts/README.md new file mode 100644 index 0000000..947467e --- /dev/null +++ b/gp-scripts/README.md @@ -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. + diff --git a/gp-scripts/checkup.sh b/gp-scripts/checkup.sh index cff33b6..b63db46 100644 --- a/gp-scripts/checkup.sh +++ b/gp-scripts/checkup.sh @@ -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'