Dba_oracle ERP Restart Database/application/concurrent/apache (case)

Source: Internet
Author: User

2014-12-27 Created by Abalone new

First, restart the database

Step1. Go to the Script directory

su -pwd/u1/vis/visora/db/tech_st/11.1. 0/appsutil/scripts/prod_paleonode1

Step2. Launch the App

./addbctl.sh Start

Step3. Start monitoring

./addlnctl.sh Start PROD

Step3. Check process

Check the process separately Ps-ef|grep Oravis

Second, restart the application-application

Step1. Go to the Script directory

[Email protected] ~]$ Su-applvis
[Email protected] ~pwd/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts

Step2. Launch the app./adstrtal.sh Apps/apps

Step3. View process

Check the process separately Ps-ef|grep Applvis

Third, restart the Concurrency Manager-Concurrent Manager

Step1. Go to the Script directory

[Email protected] ~pwd/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts

Step2. Turn off concurrency management adcmctl.sh Stop Apps/apps

[Email protected] scripts]$./adcmctl.SHStop apps/Appsyou is running adcmctl.SHVersion120.17.12010000.3shutting down concurrent managers forPROD ... ORACLE password:oraclesubmitted Request5813385  forCONCURRENT FND SHUTDOWN adcmctl.SH: Exiting with status0Adcmctl.SH: Check the Logfile/u2/vis/visappl/inst/apps/prod_paleonode1/logs/appl/admin/log/adcmctl.txt for  MoreInformation ...

Step3. View process

PS -ef | grep Fndlibapplvis   10984 10064  0 One: pts/2: xx: The    grep fndlib

Step4. Restart the number of concurrent management processes

[Email protected] scripts]$./adcmctl.SHStart apps/Apps[email protected] scripts]$PS-ef |grepFndlibapplvis11157 11152  0  One:Wuyipts/2    xx:xx:xxFndlibrapplvis11164 10064  0  One:Wuyipts/2    xx:xx:xx grepFndlib

Step5. And manager exception, the process number is 0, need to restart

Iv. oaf Restart-Apache

Step1. Enter the script directory $INST _top/admin/scripts

[Applvis@paleonode1 ~pwd/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts

Step2. Restart Apache:adapcctl.sh Stop/start

[Applvis@paleonode1 scripts]$./adapcctl.SHStopyou is running adapcctl.SHVersion120.7.12010000.2stopping OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl:stopping OPMN managed Processes...adapcctl.SH: Exiting with status0Adapcctl.SH: Check the Logfile/u2/vis/visappl/inst/apps/prod_paleonode1/logs/appl/admin/log/adapcctl.txt for  Moreinformation ... [Applvis@paleonode1 scripts]$./adapcctl.SHStartyou is running adapcctl.SHVersion120.7.12010000.2starting OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl:opmn are already running.opmnctl:starting OPMN man Aged processes...adapcctl.SH: Exiting with status0Adapcctl.SH: Check the Logfile/u2/vis/visappl/inst/apps/prod_paleonode1/logs/appl/admin/log/adapcctl.txt for  MoreInformation ...

Step3. Restart oc4j (only available on R12 system): adoacorectl.sh Stop/start

[Applvis@paleonode1 scripts]$./adoacorectl.SHStopyou is running adoacorectl.SHVersion120.13stopping OPMN managed oacore oc4j instance ... adoacorectl .SH: Exiting with status0Adoacorectl.SH: Check the Logfile/u2/vis/visappl/inst/apps/prod_paleonode1/logs/appl/admin/log/adoacorectl.txt for  Moreinformation ... [Applvis@paleonode1 scripts]$./adoacorectl.SHStartyou is running adoacorectl.SHVersion120.13starting OPMN managed Oacore oc4j instance ... adoacorectl .SH: Exiting with status0Adoacorectl.SH: Check the Logfile/u2/vis/visappl/inst/apps/prod_paleonode1/logs/appl/admin/log/adoacorectl.txt for  MoreInformation ...

Five, the database script analysis-Scripts

1. The contents of the Stop app (stopapp.sh) file are as follows:

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adalnctl.sh stop

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adcmctl.sh Stop Apps/apps

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adfrmctl.sh stop

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adrepctl.sh stop

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adapcctl.sh stop

2. The contents of the Stop database (stopdb.sh) file are as follows:

/u1/vis/visora/db/tech_st/11.1.0/appsutil/scripts/prod_paleonode1/addlnctl.sh Stop PROD

/u1/vis/visora/db/tech_st/11.1.0/appsutil/scripts/prod_paleonode1/addbctl.sh Stop Immediate

3. The contents of the Startup database (startdb.sh) file are as follows:

/u1/vis/visora/db/tech_st/11.1.0/appsutil/scripts/prod_paleonode1/addbctl.sh start

/u1/vis/visora/db/tech_st/11.1.0/appsutil/scripts/prod_paleonode1/addlnctl.sh Start PROD

4. The contents of the Launch app (startapp.sh) file are as follows:

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adalnctl.sh start

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adcmctl.sh Start Apps/apps

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adfrmctl.sh start

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adrepctl.sh start

/u2/vis/visappl/inst/apps/prod_paleonode1/admin/scripts/adapcctl.sh start

5. The meaning of the above-mentioned command is shown in the following table:

adalnctl.sh Control Oracle Net8 Listener for Applications services all application tier server nodes

ADSTRTAL.SH Start All applications Server processes all application tier server nodes

ADSTPALL.SH Stop All applications Server processes all application tier server nodes

adfrmctl.sh Control Forms Server Forms Server node

adfmcctl.sh Control Forms Metrics Client Forms Server Node

adfmsctl.sh Control Forms Metrics Server HTTP server node

adtcfctl.sh Control TCF socketserver Concurrent Processing server node

adcmctl.sh Control Concurrent Managers Concurrent processing server node

adrepctl.sh Control Reports Server Concurrent processing server node

adapcctl.sh Control Apache Processes HTTP server node

jtffmctl.sh Control Oracle Fulfillment Server HTTP server node

Thanks and regards

Dba_oracle ERP Restart Database/application/concurrent/apache (case)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.