diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 77890e9d..ad29e041 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -339,12 +339,11 @@ STATUS(){ ## REPLICATION CHECK ######################## - ######################## if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then if [ ! -f ${FOLDER}/test.repl ]; then touch ${FOLDER}/test.repl if [ "${ST_ACTION}" != "check" ]; then - echo -en "${idsCL[LightCyan]}Setting up status checks... ${idsCL[Default]}" + echo -en "${idsCL[LightCyan]}Setting up replication checks for next status check ... ${idsCL[Default]}" fi #NHCMD="ssh root@${MYSQL_HOSTS[0]}" #LBHCMD="ssh root@${LB_HOSTS[0]}" @@ -379,11 +378,13 @@ STATUS(){ else rm -Rf ${FOLDER}/test.repl if [ "${ST_ACTION}" != "check" ]; then - echo -e "${idsCL[LightCyan]}Will verify folder syncs... ${idsCL[Default]}" + echo -e "${idsCL[LightCyan]}Will verify folder replication this status check ... ${idsCL[Default]}" CHECKFOLDERSYNC=true fi fi + ######################## + if [ "${CHECKFOLDERSYNC}" == true ]; then if [ "${ST_ACTION}" != "check" ]; then echo -e "${idsST[Bold]}"; DIVIDER