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=7243b9793ea87c3070a032b69c01d779a7c8cbfd;hpb=6f816a8546224dcce14fd6dddeb0c9252f69a1c7 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