From 068e1808fb67a9f02c16acac2479d46b86a4a96e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 26 Apr 2023 14:23:06 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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