Could some one help me with commands for daily healthcheckup on puredisk pools.
Thanks in advance.,
Let's make it a bit automated ;) I suggest creating a script in the /root directory of the fololowing contents:
# Script for a health check
/opt/pdag/bin/php /opt/pdconfigure/scripts/support/health_checker.php -m -r -q
while [ ! -f /Storage/etc/topology.ini.enc ]
do # We repeat encryption attempts until encryption completes successfully
Remember to chmod +x it and and suffix with ".sh"
Then you just launch it after logging on the SPA node:
And some additional info:
- the "health_checker.php" gets a bit confused when there is more than one node in the pool, it repeats the output, so it may be not really human friendly.
- if you "grep" the output you loose the colors.