数据库启动监听

addlnctl.sh start instance

启动数据库

addbctl.sh start

启动应用服务器

adstrtal.sh

停止应用服务器

adstpall.sh

-------------------------------

系统启动/关闭相关的脚本

  • 数据库层名称:
    addbctl.sh

    说明: Start/Stop database

    路径: ${ORACLE_HOME}/appsutil/scripts/VIS_ebs121/addbctl.sh
  • 应用层名称:
    adalnctl.sh

    说明: Start / Stop Applications RPC Listener process

    路径: ${INST_TOP}/admin/scripts/adalnctl.sh



    名称: adapcctl.sh

    说明: start, stop and check the status of Oracle HTTP Server.

    路径: ${INST_TOP}/admin/scripts/adapcctl.sh



    名称: adoacorectl.sh

    说明: start, stop and check the status of the oacore oc4j instance

    路径: ${INST_TOP}/admin/scripts/adoacorectl.sh



    名称: adformsctl.sh

    说明: start, stop and check the status of the forms oc4j instance.

    路径: ${INST_TOP}/admin/scripts/adformsctl.sh



    名称: adcmctl.sh

    说明: Start / Stop Concurrent Manager for VIS

    路径: ${INST_TOP}/admin/scripts/adcmctl.sh
  • AllInOne名称:
    adstrtal.sh

    说明: start Oracle E-Business Suite Services

    路径: ${INST_TOP}/admin/scripts/adstrtal.sh



    名称: adstpall.sh

    说明: stop Oracle E-Business Suite Services


    路径: ${INST_TOP}/admin/scripts/adstpall.sh

    可以讲这些脚本整合到root用户下, 实现EBS服务的启动与关闭.
    以笔者为例:

    /root/scripts/start.sh

    su - oracle -c "${ORACLE_HOME}/appsutil/scripts/VIS_ebs121/addbctl.sh start"

    su - oracle -c "${ORACLE_HOME}/bin/lsnrctl start"



    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adalnctl.sh start"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adapcctl.sh start"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adoacorectl.sh start"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adformsctl.sh start"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adcmctl.sh start apps/apps"

    /root/scripts/stop.sh

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adcmctl.sh stop apps/apps"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adformsctl.sh stop"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adoacorectl.sh stop"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adapcctl.sh stop"

    su - applmgr -c "/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts/adalnctl.sh stop"



    su - oracle -c "${ORACLE_HOME}/appsutil/scripts/VIS_ebs121/addbctl.sh stop immediate"

    以上就是一些与EBS启动/关闭相关的脚本介绍, 最后如果不希望打开VBox的窗体而通过ssh进行操作的

-------------------------------

查看HTTP/OC4J Status

adopmnctl.sh status

sample output:

Processes in Instance: mc3yd213_bej301441.bej301441.cn.oracle.com

---------------------------------+--------------------+---------+---------

ias-component                    | process-type       |     pid | status

---------------------------------+--------------------+---------+---------

OC4JGroup:default_group          | OC4J:oafm          |   16924 | Alive

OC4JGroup:default_group          | OC4J:forms         |   16851 | Alive

OC4JGroup:default_group          | OC4J:oacore        |   16767 | Alive

HTTP_Server                      | HTTP_Server        |   16710 | Alive

==================================================

Order of Startup Shutdown

————————————–


As in Oracle Apps 11i order for startup is

A) Start Database Tier Services

–Start Database Listener

–Start Database

Then

B) Start Application/Middle Tier Services

– adstrtal.sh

Order for shutdown in Oracle Apps R12 is

A) Stop Application/Middle Tier Services

– adstpall.sh

Then

B) Stop Database Tier Services

–Stop Database

–Stop Database Listener

Database Tier Scripts in R12

————————————–


For Database tier you need to start database and database listener. Scripts are located inDatabase_Install_Dir/db/tech_st/10.2.0/appsutil/scripts/$CONTEXT_NAME- For Database

Use script addbctl.sh

- For Database Listener

Use script addlnctl.sh

or alternatively you can use

lsnrctl startstop listener_name (For Database Listener)

sqlplus “/as sysdba”

SQL> startup shutdownimmediate

Middle/Application Tier Scripts in R12

————————————————-

Scripts for Application Tier services in R12 are located in “Install_base/inst/apps/$CONTEXT_NAME/admin/scripts

where CONTEXT_NAME is of format SID_HOSTNAME

i) adstrtal.sh

Master script to start all components/services of middle tier or application tier. This script will use Service ControlAPI to start all services which are enabled after checking them in context
file (SID_HOSTNAME.xml or CONTEXT_NAME.xml)

ii) adstpall.sh

Master script to stop all components/services of middle tier or application tier.

iii) adalnctl.sh

Script to start / stop apps listener (FNDFS andFNDFS). This listener will file will be in 10.1.2 ORACLE_HOME (i.e. Forms & Reports
Home)

listener.ora file will be in $INST_TOP/apps/$CONTEXT_NAME/ora/10.1.2/network/admin directory

(Mostly similar to one in 11i with only change in ORACLE_HOME i.e. from 8.0.6 to 10.1.2)

iv) adapcctl.sh

Script to start/stop Web Server or Oracle HTTP Server. This script uses
opmn (Oracle Process Manager and Notification Server) with syntax similar toopmnctl [startstop]proc ohs

like opmnctlstopproc ohs.

(In 11i this script directly used to callapachectl executable but now callsopmnctl whichin
turn calls apachectl. In 11i web server oracle home was 1.0.2.2.2 but in R12 its 10.1.3)

v) adcmctl.sh

Script to start / stop concurrent manager,
Similar to one in 11i. (This script in turn calls
startmgr.sh )

vi) adformsctl.sh

Script to start / stop Forms
OC4J
from 10.1.3 Oracle_Home. This script will also use
opmnctl to start/stop Forms
OC4J like

opmnctl
stopproc type=oc4jinstancename=forms

vii) adformsrvctl.sh

This script is used only if you wish to start forms in socket mode. Default forms connect method in R12 isservlet.

If started this will start frmsrv executable from 10.1.2 Oracle_Home in Apps R12

viii) adoacorectl.sh

This script will start/stop oacoreOC4J in 10.1.3 Oracle_Home. This scripts will also useopmnctl
(similar toadapcctl &adformsctl) to startoacore instance ofOC4J
like

opmnctlstartproc type=oc4jinstancename=oacore

ix) adoafmctl.sh

This script will start/stop oafmOC4J in 10.1.3 Oracle_Home. This scripts will also useopmnctl
(similar to above) to startoacore instance ofOC4J like

opmnctlstartproc type=oc4jinstancename=oafm

x) adopmnctl.sh

This script will start/stop
opmn service in 10.1.3 Oracle_Home.
opmn will control all services in 10.1.3 Oracle_Home like web server or variousoc4j instances. If any services are stopped abnormallyopmn
will/should start them automatically.

xi) jtffmctl.sh

This script will be used to start/stop one to one fulfilment server.

xii) mwactl.sh

To start / stop mwa telnet server wheremwa is mobile application.

Log File Location for
Startup Shutdown Services in R12

———————————————————————-


Log files for startup/shutdown scripts for application/mid tier in R12 are in$INST_TOP/apps/$CONTEXT_NAME/logs/appl/admin/log

(adalnctl.txt,adapcctl.txt,adcmctl.txt,adformsctl.txt,adoacorectl.txt,adoafmctl.txt,adopmnctl.txt,adstrtal.log,jtffmctl.txt
)

==================================================



RDBMS ORACLE_HOME Control scripts


(located under <RDBMS ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>)

Control Script

Functionality

addbctl.sh Control database server
addlnctl.sh Control Oracle Net listener for the database server

RDBMS ORACLE_HOME Install scripts


(located under <RDBMS ORACLE_HOME>/appsutil/install/<CONTEXT_NAME>)

Install Script

Functionality

adsvdlsn.sh Start Oracle Net listener during installation
adcrdb.sh Start database and create database control files
addbprf.sh Set profile option values
adsvdcnv.sh Perform character set conversion and licensing tasks
adsvdb.sh Start database during installation

Application Service Control scripts


(located under <INST_TOP>/admin/scripts)

Control Script

Functionality

Node

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
adcmctl.sh Control Concurrent managers Concurrent processing server node
adapcctl.sh Control Apache processes HTTP server node
adopmnctl.sh Controls Oracle Process Manager HTTP server node
adoacorectl.sh Controls Oacore Oc4j Instance HTTP server node
adformsctl.sh Controls Forms Oc4j Instance HTTP server node
adoafmctl.sh Controls Oafm Oc4j Instance HTTP server node
jtffmctl.sh Control Oracle fulfillment server HTTP server node

==================================================

Instance Home($INST_TOP) Directory Structure

Instance Home contains all the config files, log files, SSL certificates etc.

  • $INST_TOP/admin/scripts ($ADMIN_SCRIPTS_HOME): All AD scripts are located here
  • $INST_TOP/appl ($APPL_CONFIG_HOME) : For standalone envs, this is set to $APPL_TOP

        $INST_TOP/appl/fnd/12.0.0/secure FND_SECURE: The dbc file is located here

        $INST_TOP/appl/admin All the env config files are located here
  • $INST_TOP/certs SSL Certificates go here
  • $INST_TOP/logs LOG_HOME: Central log file location. All log files are placed here (except adconfig)

        $INST_TOP/logs/ora ($ORA_CONFIG_HOME)

        $INST_TOP/logs/ora/10.1.2 ‘C’ Oracle home config, Contains tnsnames and forms listener servlet config files

         $INST_TOP/logs/ora/10.1.3 Apache & OC4J config home, Apache, OC4J and opmn. This is the ‘Java’ oracle home configuration for OPMN, Apache and OC4J
  • $INST_TOP/pids  Apache/Forms server PID files are located here
  • $INST_TOP/portal Apache’s DocumentRoot folder
  • ==================================================

    AD Command Line Utilities
    AD Utility Name Executable or Script Description
    AD Administration adadmin Performs maintenance tasks for Oracle E-Business Suite.
    AD Check Digest adchkdig Checks the integrity of Oracle E-Business Suite patches downloaded from My Oracle Support.
    AD Configuration adutconf.sql Reports standard information about the installed configuration of Oracle E-Business Suite.
    AD Controller adctrl Manages parallel workers in AD Administration and AutoPatch.
    AD File Identification adident Reports the version and translation level of an Oracle E-Business Suite file.
    AD File Character Set Converter adncnv Converts a file from one character set to another.
    AD Merge Patch* admrgpch Merges multiple patches into a single merged patch.
    AD Relink adrelink.sh Relinks Oracle E-Business Suite executable programs with the Oracle server product libraries.
    AD Splicer adsplice Adds off-cycle products.
    AD Job Timing Report Reports a summary of the timing for jobs run by parallel workers.
    AutoPatch* adpatch Applies patches and other system updates.
    Patch Application Assistant* admsi.pl Generates customized installation instructions for a patch.
    Rapid Install** rapidwiz Provides a wizard for entering parameters that are specific to a new installation or an upgrade of an Oracle E-Business Suite system.

    Reference:

    Oracle Applications(Apps) R12 (12.1.1) Installation on Linux

    http://www.freeoraclehelp.com/2011/11/oracle-applicationsapps-r12-1211.html

    R12 Instance Home Overview

    http://onlineappsdba.com/index.php/2007/10/19/r12-instance-home-overview/

    Start-up Shutdown Scripts in Oracle Apps R12

    http://onlineappsdba.com/index.php/2007/06/10/start-up-shutdown-scripts-in-oracle-apps-r12/

    Oracle E-Business Suite Maintenance Utilities

    http://docs.oracle.com/cd/E18727_01/doc.121/e13676/T530334T530337.htm

    EBS-r12.1.1安装

    http://ebshome.blogspot.jp/2012/06/ebs-r1211.html

    Oracle Apps DBA 常用命令的更多相关文章

    1. oracle rac 数据库常用命令

      oracle rac 数据库常用命令:1.所有实例和服务的状态srvclt status database -d orcl单个实例的状态:srvctl status instance -d orcl ...

    2. Oracle EBS DBA常用SQL - 安装/补丁【Z】

      Oracle EBS DBA常用SQL - 安装/补丁 检查应用补丁有没有安装:select bug_number,last_update_date from ad_bugs where bug_nu ...

    3. Oracle-01-数据库分类/oracle sql*plus常用命令

      一.数据库分类 一.数据库分类1.小型数据库:access.foxbase2.中型数据库:informix.sql server.mysql3.大型数据库:sybase.db2.oracle 二.项目 ...

    4. ORACLE数据库 DBA常用知识

      <常用命令参考> 个系统变量值 SQL> show user --显示当前连接用户 SQL> show error --显示错误 SQL> set heading off ...

    5. 二、oracle sql*plus常用命令

      一.sys用户和system用户Oracle安装会自动的生成sys用户和system用户(1).sys用户是超级用户,具有最高权限,具有sysdba角色,有create database的权限,该用户 ...

    6. oracle sql*plus常用命令

      一.sys用户和system用户Oracle安装会自动的生成sys用户和system用户(1).sys用户是超级用户,具有最高权限,具有sysdba角色,有create database的权限,该用户 ...

    7. 在shell终端操作oracle数据库的常用命令

      这里面是在一个项目中用到的操作oracle数据库的常用linux命令,因为当时无法用plsql远程连接,大部分操作都需要在命令行窗口进行,总结一下 第一种方式 (1)先切换至sqlplus [orac ...

    8. 史上最全Oracle数据泵常用命令

      本文转自https://blog.csdn.net/Enmotech/article/details/102848825 墨墨导读:expdp和impdp是oracle数据库之间移动数据的工具,本文简 ...

    9. 4.oracle sql*plus常用命令

      一.sys用户和system用户Oracle安装会自动的生成sys用户和system用户(1).sys用户是超级用户,具有最高权限,具有sysdba角色,有create database的权限,该用户 ...

    随机推荐

    1. P2P技术详解(二):P2P中的NAT穿越(打洞)方案详解

      1.内容概述 P2P即点对点通信,或称为对等联网,与传统的服务器客户端模式(如下图"P2P结构模型"所示)有着明显的区别,在即时通讯方案中应用广泛(比如IM应用中的实时音视频通信. ...

    2. C++ 智能指针 auto_ptr 和 shared_ptr

      首先,如果你不知道什么是智能指针,请先移步:C++智能指针简单剖析 1.auto_ptr #ifndef AUTO_PTR_H #define AUTO_PTR_H template<typen ...

    3. vue+cordova 构建hybrid app

      配了一个 vue + cordova + ionicCli 的 项目 支持 ionic 的脚手架命令 支持 cordova 的 插件 安装使用 支持 webpack 的自动构建 vue 安装了 vue ...

    4. Python里面 search0和 match0的区别?

      这是正则表达式里面的函数: match()函数只检测RE是不是在string的开始位置匹配,search()会扫描整个string查找匹配: 也就是说match()只有在0位置匹配成功的话才有返回,如 ...

    5. jquery easyui datagrid 编辑行 类型combobox

      完成编辑瞬间datagrid中显示的是combobox的value 而非text var rows=$('#tb1').datagrid('getRows'); for(var i=0;i<ro ...

    6. jquery easyui datagrid设置行样式 不可删除某行

      rowStyler: function (index,row) { if (parseInt(row.ksrs) > 0) { return 'color:red'; } }, onLoadSu ...

    7. spring web项目下,判断项目是否启动完成

      本文同时发布于见鬼网:https://faceghost.com/article/483341 概述:spring 加载完成后,我们有时候会做一些初始化工作,如加载一些缓存,DB,等,这里采用实现Se ...

    8. PHP 实例 AJAX RSS 阅读器

      RSS 是一种描述和同步网站内容的格式,是目前使用最广泛的XML应用. RSS 搭建了信息迅速传播的一个技术平台,使得每个人都成为潜在的信息提供者. RSS 阅读器用于阅读 RSS Feed. AJA ...

    9. iOS控制反转(IoC)与依赖注入(DI)的实现

      背景 最近接触了一段时间的SpringMVC,对其控制反转(IoC)和依赖注入(DI)印象深刻,此后便一直在思考如何使用OC语言较好的实现这两个功能.Java语言自带的注解特性为IoC和DI带来了极大 ...

    10. ZooKeeper之(五)集群管理

      在一台机器上运营一个ZooKeeper实例,称之为单机(Standalone)模式.单机模式有个致命的缺陷,一旦唯一的实例挂了,依赖ZooKeeper的应用全得完蛋. 实际应用当中,一般都是采用集群模 ...