Update nodemgmt-scripts.sh
This commit is contained in:
@@ -426,7 +426,7 @@ STATUS(){
|
|||||||
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
|
||||||
DIVIDER; echo -e "${idsST[Reset]}"
|
DIVIDER; echo -e "${idsST[Reset]}"
|
||||||
fi
|
fi
|
||||||
|
echo "$(date) - TIMEOUT - ${rcheck} - $(SHOW_TIME $(`expr date +%s - $replstart`) s)" >> ${FOLDER}/log.repl
|
||||||
for NTYPE in "${NODE_TYPES[@]}"; do
|
for NTYPE in "${NODE_TYPES[@]}"; do
|
||||||
PH=${NTYPE}_HOSTS[0]
|
PH=${NTYPE}_HOSTS[0]
|
||||||
PH_CMD="ssh root@${!PH}"
|
PH_CMD="ssh root@${!PH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user