|
|
@ -56,14 +56,11 @@ do |
|
|
|
echo "$master $masterState" |
|
|
|
echo "$master $masterState" |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
# 2.worker server and logger-server check state |
|
|
|
# 2.worker server check state |
|
|
|
for worker in ${!workersGroupMap[*]} |
|
|
|
for worker in ${!workersGroupMap[*]} |
|
|
|
do |
|
|
|
do |
|
|
|
workerState=`ssh -p $sshPort $worker "cd $installPath/; sh bin/dolphinscheduler-daemon.sh status worker-server;"` |
|
|
|
workerState=`ssh -p $sshPort $worker "cd $installPath/; sh bin/dolphinscheduler-daemon.sh status worker-server;"` |
|
|
|
echo "$worker $workerState" |
|
|
|
echo "$worker $workerState" |
|
|
|
|
|
|
|
|
|
|
|
masterState=`ssh -p $sshPort $worker "cd $installPath/; sh bin/dolphinscheduler-daemon.sh status logger-server;"` |
|
|
|
|
|
|
|
echo "$worker $masterState" |
|
|
|
|
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
# 3.alter server check state |
|
|
|
# 3.alter server check state |
|
|
|