Question regarding scheduling of starting/stopping EBS R12.2 Application services has been asked several times on forums. So i decided to write a quick post for demonstrating it.
In Oracle EBS there are consolidated scripts for starting and stopping of multiple Application services. "adstrtal.sh" is used for starting all application services and "adstpall.sh" is used for stopping of other services.
These script will call other scripts Internally to perform start/stop operation.
Prior to EBS R12.2 you only need apps username and password to run this script. In EBS R12.2 you need a additional password parameter for weblogic admin server to start/stop of EBS application services.
In EBS 11i/R12.1 script usage:
adstrtal.sh apps/apps - Stop servicesadstpall.sh apps/apps - Start services
In EBS R12.2 additional weblogic admin password should be provided:
- Similarly for stopping of services also you need to provide the weblogic admin server password.
Scheduling shutdown/startup in script:
We need to create a below small shell script to schedule it in a crontab for starting/stopping of services automatically.
You need to add web logic admin password in a new line to execute script successfully.
These scripts can be scheduled in crontab as below for starting/stopping of services automatically:
Hope its helpful.
thanks for reading :)
X A H E E R