test
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.12172022'
|
VERS='3.12172022'
|
||||||
NODETYPES=MYSQL,WEB
|
NODETYPES=LB,WEB
|
||||||
#NODETYPES=MYSQL,LB,WEB,NC,PD,MM
|
#NODETYPES=MYSQL,LB,WEB,NC,PD,MM
|
||||||
MYSQLHOSTS=10.10.1.51,10.10.1.52
|
MYSQLHOSTS=10.10.1.51,10.10.1.52
|
||||||
WEBHOSTS=10.10.1.121,10.10.1.122
|
WEBHOSTS=10.10.1.121,10.10.1.122
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ STATUS(){
|
|||||||
elif [ "${srvctst}" = "active" ] && ([ "${srvc}" = "mysql" ] || [ "${srvc}" = "mariadb" ]); then
|
elif [ "${srvctst}" = "active" ] && ([ "${srvc}" = "mysql" ] || [ "${srvc}" = "mariadb" ]); then
|
||||||
mysqlgo=true
|
mysqlgo=true
|
||||||
fi
|
fi
|
||||||
# echo "mysqlgo=${mysqlgo}"
|
echo "mysqlgo=${mysqlgo}"
|
||||||
if [ "${srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
if [ "${srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
||||||
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user