02-05-2014 07:01 PM
Hi Experts,
Could some one help me with commands for daily healthcheckup on puredisk pools.
Thanks in advance.,
02-06-2014 10:48 AM
Hello,
You can refer to HOWTO59005 for how to deply and run the puredisk health checker. It goes over the command with options you can use.
04-03-2014 02:31 AM
Hi,
Let's make it a bit automated ;) I suggest creating a script in the /root directory of the fololowing contents:
#!/bin/bash
# Script for a health check
/opt/pdinstall/enc_topology.sh -d
/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
/opt/pdinstall/enc_topology.sh -e
done
Remember to chmod +x it and and suffix with ".sh"
Then you just launch it after logging on the SPA node:
# ./MyHealthCheckScript.sh
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.
Good luck!