• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Techgoeasy

Learn Oracle, PHP, HTML,CSS,Perl,UNIX shell scripts

  • Home
  • Oracle
    • Oracle database
    • Oracle Ebusiness Suite
    • Oracle weblogic
    • Oracle Performance Tuning
    • Oracle Hyperion
  • SQL
  • interview questions
  • Linux
  • PHP and HTML
  • Downloads
  • General
  • New? Start Here
  • About Us
  • Hire me
  • Contact Us

Admin scripts in R12.2 Ebuisness Suite

August 10, 2015 by techgoeasy Leave a Comment

In this section,we will telling about various Admin scripts in R12.2 Ebuisness Suite,the latest  release of Oracle Apps by Oracle corporation

We already know the consolidated scripts to stop and start applications in R12
“adstrtal.sh” is used for starting all application services
“adstpall.sh” is used for stopping of other services.

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.

./adstrtal.sh apps/apps
Enter the WebLogic Server password:
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/jtffmctl.sh start
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adopmnctl.sh start
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adapcctl.sh start
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adnodemgrctl.sh start -nopromptmsg
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adalnctl.sh start
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adcmctl.sh start
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/adadminsrvctl.sh start -nopromptmsg
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/admanagedsrvctl.sh start forms_server1 -nopromptmsg
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/admanagedsrvctl.sh start forms-c4ws_server1 -nopromptmsg
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/admanagedsrvctl.sh start oafm_server1 -nopromptmsg
/xyz/ebsapp/fs1/inst/apps/TEST/admin/scripts/admanagedsrvctl.sh start oacore_server1 -nopromptmsg

Important points
Opmn only manages the Apache server in R12.2
WLS (Web logic server) manages the oacore,forms and oafm services

Log files for Admin scripts in R12.2

Log File Name  Description

 

adopmnctl.txt FMW Oracle Process Manager Notification Server (Controls Apache processes)
adapcctl.txt FMW OHS (Apache) Service
adnodemgrctl.txt WLS Node Manager controls server instances within a domain providing automatic restart functionality.

 

adadminsrvctl.txt WLS AdminServer controls access to pages within WLS for system wide configuration
adoacorectl.txt WLS Oracle E-Business Suite 12.2 Application Server for Self Service web based products

 

adformsctl.txt WLS Oracle E-Business Suite 12.2 Application Forms Server
adoafmctl.txt WLS Oracle E-Business Suite 12.2 Application Server for Oracle Transport Agent XML transactions, Secure Enterprise Search (SES) and  Web Service

 

adforms-c4wsctl.txt WLS Oracle E-Business Suite 12.2 Application Server utilized by WebService products using java API for Forms

 

How to schedule to start/stop of All the services through crontab

It is often required to bounce the entire EBS system during off-hours or on weekend automatically without any manual intervention. We should be able to execute this using the cron utlity on Unix system Cron is a Unix scheduler for executing the scripts at specified time. We can create below scripts for bouncing the APPS tier on R12.2 and schedule it through cron

Here are the steps

  1. create a file  apps_user like

cat apps_user

APPS_USER=APPS

APPS_PWD=<apps pass>

WLADMIN_PWD=<WL pass>

chmod 700 apps_user

This will ensure only the user running the services can read this

2) Create the scripts for start and stop like this

apps-start.sh

. apps_user

echo ” Starting the services”

{ echo $APPS_USER; echo $APPS_PWD; echo $WLADMIN_PWD; } | $INST_TOP/admin/scripts/adstrtal.sh -nopromptmsg

echo “Services started”

apps-stop.sh

. apps_user

echo ” Stopping the services”

{ echo $APPS_USER; echo $APPS_PWD; echo $WLADMIN_PWD; } | $INST_TOP/admin/scripts/adstpall.sh -nopromptmsg

echo “Services stopped”

Now we schedule these scripts through cron in Linux system to get the work done.

Filed Under: Oracle Tagged With: R12.2, R12.2 admin scripts

Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Top Posts & Pages

  • Top 40 oracle dba interview questions and answers
  • Oracle Indexes and types of indexes in oracle with example
  • 40 Important Weblogic Interview questions
  • Top 30 Most Useful Concurrent Manager Queries
  • 21 awk command in Unix/Linux




Subscribe to our mailing list

Enter your email address to subscribe to this blog and receive notifications of new posts by email

Recent Posts

  • Top 40 Oracle RAC interview Questions
  • How to change date format in oracle database
  • How to Create SSH Tunneling or Port Forwarding in Linux to connect with Oracle database on Cloud
  • How to give oracle kill own session privilege to Developers
  • How to download Patch from Oracle using Wget

ORA-errors

  1. ORA-06512
  2. ORA-00911
  3. ORA-03113
  4. ORA-29913
  5. ORA-00257
  6. ORA-00054
  7. ORA-27154
  8. ORA-29285
  9. ORA-29280
  10. ORA-29283
  11. ORA-01017
  12. ORA-00900
  13. ORA-00001
  14. ORA-00936
  • Privacy Policy

Copyright © 2019 : TechGoEasy