Update status.inc
This commit is contained in:
@@ -145,27 +145,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]}"
|
||||||
# echo -en " ${idsCL[LightCyan]}Starting processes to collect/monitor replication status : "
|
fi
|
||||||
# fi
|
|
||||||
# for NTYPE in "${ntypesel[@]}"; do
|
|
||||||
# PH=${NTYPE}_HOSTS[0]
|
|
||||||
# PH_CMD="ssh root@${!PH}"
|
|
||||||
# var=${NTYPE}_REPL_CHECK[@]
|
|
||||||
# if [ ! -z ${!var+x} ]; then
|
|
||||||
# var=${NTYPE}_HOSTS[@]
|
|
||||||
# for nip in "${!var}"; do
|
|
||||||
# if [[ "${RUN_NODE_IP}" != *"${nip}"* ]] && [ "${nip}" != "${!PH}" ]; then
|
|
||||||
# if [ ! -f ${NM_FOLDER}/${!PH}.down ] && [ ! -f ${NM_TMPFOLDER}/${nip}.down ]; then
|
|
||||||
# var2=${NTYPE}_REPL_CHECK[@]
|
|
||||||
# for rcheck in "${!var2}"; do
|
|
||||||
# REPLCHECK "${rcheck}" "${nip}" "${PH_CMD}" "${ST_ACTION}" & >/dev/null 2>&1
|
|
||||||
# done
|
|
||||||
# fi
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
# [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Green]}Done${idsCL[Default]}\n"
|
|
||||||
|
|
||||||
for NTYPE in "${ntypesel[@]}"; do
|
for NTYPE in "${ntypesel[@]}"; do
|
||||||
PH=${NTYPE}_HOSTS[0]
|
PH=${NTYPE}_HOSTS[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user