What is the command to stop the alternate app server running on another machine?

Document ID : KB000106932
Last Modified Date : 24/07/2018
Show Technical Document Details
Introduction:
How to stop Application server on another machine.
Question:
What is the command to stop the alternate application server running on another machine. For example, I want to stop the secondary application server running on another machine.
Environment:


 
Answer:
You can use the sendevent command to stop ALL application servers but not a specific application server running on another machine.
The command to stop ALL application servers is: 
sendevent -E STOP_DEMON -v ROLE=A