Forum Discussion

2 Replies

Replies have been turned off for this discussion
  • 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!
     

  • 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.