From dbf342507dbb584b9fc2acd8542a1d40938a8650 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 30 Apr 2023 21:50:27 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- nodemgmt-scripts.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index dbcbecba..3ff595a8 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='4.6.3-04302023' +VERS='4.6.5-04302023' #NODETYPES=WEB,LB NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,MM,PW diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e183e4fb..d1395f59 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -426,7 +426,7 @@ STATUS(){ echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}" DIVIDER; echo -e "${idsST[Reset]}" fi - echo "$(date) - TIMEOUT - ${rcheck} - $(SHOW_TIME $(`expr date +%s - $replstart`) s)" >> ${FOLDER}/log.repl + echo "$(date) - START - ${rcheck} - $(SHOW_TIME $(expr `date +%s` - $replstart) s)" >> ${FOLDER}/log.repl for NTYPE in "${NODE_TYPES[@]}"; do PH=${NTYPE}_HOSTS[0] PH_CMD="ssh root@${!PH}"