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

Techgoeasy

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

  • Home
  • Oracle
    • Oracle database
    • Oracle Ebusiness Suite
    • Oracle weblogic
    • Oracle Performance Tuning
    • Oracle Hyperion
    • Oracle Cloud Tutorials
  • SQL
  • interview questions
  • Linux
  • PHP and HTML
  • Downloads
  • General
Home » Oracle » Oracle Ebuisness Suite » Admin scripts in R12.2 Ebuisness Suite

Admin scripts in R12.2 Ebuisness Suite

April 11, 2021 by techgoeasy Leave a Comment

In this section,we will telling about various Oracle EBS 12.2 start stop scripts in the latest  release of Oracle Apps by Oracle corporation. Here are the main script and how they are used to stop /start the application

Start

ComponentCommand
Node Manager$adnodemgrctl.sh start 
Enter Weblogic Admin Password:
Weblogic Admin Server$adadminsrvctl.sh start 
Enter Weblogic Admin Password:
Application Listener$adalnctl.sh start
Oracle Process Manager$adopmnctl.sh start
Apache Services$adapcctl.sh start
Managed Server for OACORE Services$admanagedsrvctl.sh start oacore_server1 
Enter Weblogic Admin Password:
Managed Server for FormsServices$admanagedsrvctl.sh start forms_server1 
Enter Weblogic Admin Password:
Managed Server for Fusion MiddleWare  Services$admanagedsrvctl.sh start oafm_server1 
Enter Weblogic Admin Password:
Managed Server for Forms web  Services$admanagedsrvctl.sh start forms-c4ws_server1
 Enter Weblogic Admin Password:
Concurrent Manager Service$adcmctl.sh start apps/apps
Fullfillment Serer Services$jtffmctl.sh start

Stop

ComponentCommand
Fullfillment Serer Services$jtffmctl.sh stop
Concurrent Manager Service$adcmctl.sh stop apps/apps
Managed Server for Forms web  Services$admanagedsrvctl.sh stop forms-c4ws_server1 
Enter Weblogic Admin Password:
Managed Server for Fusion MiddleWare  Services$admanagedsrvctl.sh stop oafm_server1 
Enter Weblogic Admin Password:
Managed Server for FormsServices$admanagedsrvctl.sh stop forms_server1 
Enter Weblogic Admin Password:
Managed Server for OACORE Services$admanagedsrvctl.sh stop oacore_server1 
Enter Weblogic Admin Password:
Apache Services$adapcctl.sh stop
Oracle Process Manager$adopmnctl.sh stop
Application Listener$adadlctl stop
Weblogic Admin Server$adadminsrvctl.sh stop 
Enter Weblogic Admin Password:
Node Manager$adnodemgrctl.sh stop 
Enter Weblogic Admin Password:

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

In-case, you have password stored in variable , you can use below command

{ echo $APPSUSER ; echo $APPSPASS ; echo $WLSADMIN ; }| adstrtal.sh @-nopromptmsg

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

Log files for Admin scripts in R12.2

Log File Name  Description
adopmnctl.txtFMW Oracle Process Manager Notification Server (Controls Apache processes)
adapcctl.txtFMW OHS (Apache) Service
adnodemgrctl.txtWLS Node Manager controls server instances within a domain providing automatic restart functionality.
adadminsrvctl.txtWLS AdminServer controls access to pages within WLS for system wide configuration
adoacorectl.txtWLS Oracle E-Business Suite 12.2 Application Server for Self Service web based products
adformsctl.txtWLS Oracle E-Business Suite 12.2 Application Forms Server
adoafmctl.txtWLS Oracle E-Business Suite 12.2 Application Server for Oracle Transport Agent XML transactions, Secure Enterprise Search (SES) and  Web Service
adforms-c4wsctl.txtWLS Oracle E-Business Suite 12.2 Application Server utilized by WebService products using java API for Forms

You can use -help to get more options of the scripts

[[email protected] scripts]$ ./adstrtal.sh -help
 USAGE:  adstrtal.sh  [-nothreading]
         adstrtal.sh  -secureapps
         adstrtal.sh -nodbchk
         adstrtal.sh -mode=allnodes
         adstrtal.sh -msimode
 [[email protected] scripts]$ ./adstpall.sh -help
 USAGE:  adstpall.sh  [-skipNM] [-skipAdmin] [-nothreading]
         adstpall.sh  -secureapps [-skipNM] [-skipAdmin]
         adstpall.sh -nodbchk [-skipNM] [-skipAdmin]
         adstpall.sh -mode=allnodes

Table of Contents

  • How to stop/start the services in R12.2 on Multiple nodes
  • How to start the services in Managed Services Independence Mode
  • How to schedule to start/stop of All the services through crontab
  • How to stop/start all the managed server on the Node

How to stop/start the services in R12.2 on Multiple nodes

Stop

adstpall.sh -mode=allnodes

Start

adstrtal.sh -mode=allnodes

How to start the services in Managed Services Independence Mode

You can also start managed servers in Managed Server Independence mode, where a managed server retrieves its configuration at startup by reading its configuration and security files directly, instead of contacting the Admin Server.

This is done by specifying the -msimode option on the admanagedsrvctl.sh command line used to start a specific Managed Server. For example:

$ admanagedsrvctl.sh start oacore_server1 -msimode

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.

How to stop/start all the managed server on the Node

If you have configured multiple oacore, forms, oafm on the node, you can stop/start as per the below command

$admanagedsrvctl.sh stopall oacore
Enter Weblogic Admin Password:

$admanagedsrvctl.sh stopall oafm
Enter Weblogic Admin Password:

$admanagedsrvctl.sh stopall forms
Enter Weblogic Admin Password:

$admanagedsrvctl.sh startall oacore
Enter Weblogic Admin Password:

$admanagedsrvctl.sh startall oafm
Enter Weblogic Admin Password:

$admanagedsrvctl.sh startall forms
Enter Weblogic Admin Password:

Also Read
Ad online Patching

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

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



Subscribe to our mailing list

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

Recent Posts

  • Password Version in oracle
  • How to login as user without changing the password in Oracle database(alter user identified by values)
  • How to check encrypted tablespace in the Database
  • How To Export -Import TDE Master Encryption Key
  • How to Configure Auto Login TDE Wallet

Copyright © 2023 : TechGoEasy

  • Hire me
  • Privacy Policy
  • Contact Us
  • New? Start Here
  • About Us