mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-09 23:59:04 +08:00
c377d7d878
* rename from DatasourceUserMapper to DataSourceUserMapper * add unit test in UserMapper and WorkerGroupMapper * change cn.escheduler to org.apache.dolphinscheduler * add unit test in UdfFuncMapperTest * add unit test in UdfFuncMapperTest * remove DatabaseConfiguration * add ConnectionFactoryTest * cal duration in processInstancesList * change desc to description * change table name in mysql ddl * change table name in mysql ddl * change escheduler to dolphinscheduler
36 lines
919 B
Bash
36 lines
919 B
Bash
#!/bin/sh
|
|
|
|
workDir=`dirname $0`
|
|
workDir=`cd ${workDir};pwd`
|
|
|
|
source $workDir/../conf/config/run_config.conf
|
|
source $workDir/../conf/config/install_config.conf
|
|
|
|
mastersHost=(${masters//,/ })
|
|
for master in ${mastersHost[@]}
|
|
do
|
|
echo $master
|
|
ssh $master "cd $installPath/; sh bin/dolphinscheduler-daemon.sh stop master-server;"
|
|
|
|
done
|
|
|
|
workersHost=(${workers//,/ })
|
|
for worker in ${workersHost[@]}
|
|
do
|
|
echo $worker
|
|
|
|
ssh $worker "cd $installPath/; sh bin/dolphinscheduler-daemon.sh stop worker-server;"
|
|
ssh $worker "cd $installPath/; sh bin/dolphinscheduler-daemon.sh stop logger-server;"
|
|
done
|
|
|
|
ssh $alertServer "cd $installPath/; sh bin/dolphinscheduler-daemon.sh stop alert-server;"
|
|
|
|
apiServersHost=(${apiServers//,/ })
|
|
for apiServer in ${apiServersHost[@]}
|
|
do
|
|
echo $apiServer
|
|
|
|
ssh $apiServer "cd $installPath/; sh bin/dolphinscheduler-daemon.sh stop api-server;"
|
|
done
|
|
|