update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='4.6.21-04302023'
|
VERS='4.6.23-04302023'
|
||||||
|
|
||||||
#NODETYPES=WEB,LB
|
#NODETYPES=WEB,LB
|
||||||
NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,MM,PW
|
NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,MM,PW
|
||||||
|
|||||||
@@ -412,8 +412,7 @@ STATUS(){
|
|||||||
echo -e "${idsST[Bold]}"; DIVIDER
|
echo -e "${idsST[Bold]}"; DIVIDER
|
||||||
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]}"
|
||||||
msg="Starting processes to collect/monitor replication status : "
|
echo -en " ${idsCL[LightCyan]}Starting processes to collect/monitor replication status : "
|
||||||
echo -e " ${idsCL[LightCyan]}${msg}${spc}: "
|
|
||||||
fi
|
fi
|
||||||
for NTYPE in "${NODE_TYPES[@]}"; do
|
for NTYPE in "${NODE_TYPES[@]}"; do
|
||||||
PH=${NTYPE}_HOSTS[0]
|
PH=${NTYPE}_HOSTS[0]
|
||||||
@@ -467,6 +466,7 @@ STATUS(){
|
|||||||
elif [ -f ${TMPFOLDER}/repl.${rcheck}.${nip}.timeout ]; then
|
elif [ -f ${TMPFOLDER}/repl.${rcheck}.${nip}.timeout ]; then
|
||||||
checked=timeout
|
checked=timeout
|
||||||
fi
|
fi
|
||||||
|
rm -f ${TMPFOLDER}/repl.${rcheck}.${nip}.*
|
||||||
done
|
done
|
||||||
if [ "${checked}" == "timeout" ]; then
|
if [ "${checked}" == "timeout" ]; then
|
||||||
[ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Timeout${idsCL[Default]}"
|
[ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Timeout${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user