cancel
Showing results for 
Search instead for 
Did you mean: 

Need Puredisk Health checkup commands

Mohankumar_K
Level 4
Partner Accredited
2 REPLIES 2

SymTerry
Level 6
Employee Accredited

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.

f25
Level 4

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!