X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=genesis.git;a=blobdiff_plain;f=compass%2Fdeploy%2Fansible%2Froles%2Fha%2Ffiles%2Fgalera_chk;fp=compass%2Fdeploy%2Fansible%2Froles%2Fha%2Ffiles%2Fgalera_chk;h=0000000000000000000000000000000000000000;hp=9fd165c00e843b4e2a520efe7781f1c4494e7cc7;hb=de3139313cb7e3087e3328d1b37cdc88510ca5db;hpb=e94d5484ecdf8021245d961479dae07ea2f8321f diff --git a/compass/deploy/ansible/roles/ha/files/galera_chk b/compass/deploy/ansible/roles/ha/files/galera_chk deleted file mode 100644 index 9fd165c..0000000 --- a/compass/deploy/ansible/roles/ha/files/galera_chk +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/sh - -code=`mysql -uroot -e "show status" | awk '/Threads_running/{print $2}'` - -if [ "$code"=="1" ] -then - echo "HTTP/1.1 200 OK\r\n" -else - echo "HTTP/1.1 503 Service Unavailable\r\n" -fi