IanLianet commented on issue #14044:
URL: 
https://github.com/apache/dolphinscheduler/issues/14044#issuecomment-1538080405

   @xyzhh By going into the internel logic of install.sh and scp-hosts.sh, 
application.yaml and common.properties for each service is copied from the 
original one in  ./bin/${ServerName}-server/conf  by scp.
   
   piece of code in install.sh:
   `echo "2.scp resources"
   bash ${workDir}/scp-hosts.sh
   if [ $? -eq 0 ];then
           echo 'scp copy completed'
   else
           echo 'scp copy failed to exit'
           exit 1
   fi`
   
   piece of code in scp-hosts.sh:
   ` for dsDir in bin master-server worker-server alert-server api-server ui 
tools
     do
       echo "start to scp $dsDir to $host/$installPath"
       # Use quiet mode to reduce command line output
       scp -q -P $sshPort -r $workDir/../$dsDir  $host:$installPath
     done`
   
   take an example:
   if you want to modify the application.yaml of master server, you can modify 
./bin/master-server/conf/application.yaml  before you run the install.sh.
   then each application.yaml of master servers would be the modified one.
   
   Hope this would help you.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to