If you are EBS instance is R12.2.x and is configured with multiple nodes, then you can use the below commands to stop and start all services.
To stop the managed servers for all the Oracle E-Business Suite nodes:
adstpall.sh apps/apps_password -mode=allnodes
To Start/Restart the managed servers for all the Oracle E-Business Suite nodes:
adstrtal.sh apps/apps_password -mode=allnodes
(The above commands will ask for WebLogic password)
This command will internally connect all the nodes via ssh as you would have enabled ssh as part of R12.2.x pre-requisites setup. If you have not enabled ssh, you will not be able to apply patches in remoted nodes and it will get failed.
Skip AdminServer while stopping services
For some reasons, if you want stop all services except ADMIN Server for some activities, You can use the below script. This script will skip both Node manager and Adminserver going down.
adstpall.sh apps/apps -skipNM -skipAdmin
Most DBAs usually stop all services and then bring up ADMIN Server alone. This is waste of time as you can skip AdminServer while bringing down all services.