rickchengx commented on PR #12118:
URL: 
https://github.com/apache/dolphinscheduler/pull/12118#issuecomment-1272889435

   > If user start more than one masters or worker servers with different ports 
in one host, the way to check pid will miss some servers.
   > 
   > Or we can set more pid file, such as `1624841.pid` as pid file name, 
1624841 is pid. WDYT?
   
   @caishunfeng Thanks a lot for the comment!
   
   1. If user deploys the DS through `install_env.sh` as below, there cannot be 
more than one masters (or workers ) in one host.
   
   <img width="914" alt="image" 
src="https://user-images.githubusercontent.com/38122586/194814402-463315eb-fdba-4133-aef6-a7a66a7aa13d.png";>
   
   
   2. And if user starts more than one masters or worker servers with different 
ports in one host, I agree that the way to check pid will miss some servers. 
May I ask that is this way of launching the server using a different port 
officially supported? I wonder how user can do this? Copy another 
`master-server` directory, and then modify the `master.listen-port` in 
`master-server-copied/application.yaml`. Will there be any problems 
communicating with other servers after changing the port? I'm just curious, 
would be grateful if you could reply.
   
   If the second case needs to be considered, I think the way you proposed 
(`1624841.pid`) is good, I will continue to revise this PR.
   


-- 
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