Add README and fix checkup.sh
This commit is contained in:
parent
0b0895a4f8
commit
28db5faae7
10
gp-scripts/README.md
Normal file
10
gp-scripts/README.md
Normal 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.
|
||||
|
||||
@ -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'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user