数据库启动监听
addlnctl.sh start instance
启动数据库
addbctl.sh start
启动应用服务器
adstrtal.sh
停止应用服务器
adstpall.sh
查看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 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
分享到:
相关推荐
Oracle数据库管理员(DBA)的角色是管理和维护Oracle数据库系统的复杂任务,包括确保数据的可靠性、安全性以及性能优化。以下是对Oracle DBA培训资料中关键知识点的详细说明: 1. **数据库的物理概念**: - **文件...
Oracle DBA,即Oracle数据库管理员,通常负责数据库的管理和维护工作,如监控、调整性能、备份和恢复等。然而,转变为Oracle Applications DBA,即Oracle应用程序数据库管理员,意味着需要扩展技能集,理解Oracle...
可以使用FNDCPASS命令更改APPS密码,手动修改wdbsvr.app/cgiCMD.dat文件,以及更新指向其他环境的数据库链接。 11. **DBC文件是什么,有何重要性?** DBC文件位于$FND_TOP/secure目录,它包含应用程序数据库ID,...
为此,Oracle Apps DBA或系统管理员需要定期进行一系列检查,以预防潜在的问题。 首先,要监控Web服务器的状态。这可以通过使用Internet Explorer访问Web服务器的URL来实现,通常是`...
通过上述命令,DBA 或者其他技术人员可以有效地管理和监控 Oracle RAC 集群的状态,确保其稳定运行。正确地使用这些命令对于维护集群的高可用性和性能至关重要。希望本文对您理解并运用 Oracle RAC CRS 的管理命令...
Oracle DBA 面试题及答案(for Oracle E-Business Suite DBA) Oracle DBA 面试题及答案是 Oracle E-Business Suite DBA 面试的重要备考资料,本文收集了十一道技术问题和答案,涵盖了 Oracle E-Business Suite DBA ...
数据库层使用Oracle数据库,R12中有三个Oracle HOME:RDBMS ORACLE_HOME用于后台数据库,10.1.2 ORACLE_HOME(也称为Middleware HOME)包含中间件组件,如WebLogic Server,而Apps ORACLE_HOME则包含了特定于Oracle...
不需要安装Oracle客户端就可以访问服务器。
创建DBA组和Oracle用户** - **以root用户身份**: - 使用SMIT工具完成: - **建立DBA组**: `#smitty group -> add a group: dba` - **建立Oracle用户**: - `#smitty user -> add a user` - `username: oracle` ...
本文将详细介绍Oracle EBS中的一些常用表及其功能描述,帮助开发人员和DBA更好地理解和维护系统。 #### 二、系统初始化与配置 1. **`fnd_global.APPS_INITIALIZE`** - **功能**:用于初始化应用程序环境。 - **...
Oracle为特定的Oracle应用提供了IdM解决方案,例如Oracle IdM For Oracle Apps,以及用于身份管理、访问控制和数据保护的技术,如Oracle Database Vault、Oracle Label Security、Virtual Private Database、Oracle ...
- 创建 `oracle` 用户并将其加入 `dba` 组: `sudo useradd -d /opt/oracle -g oinstall -G dba oracle` - 设置 `oracle` 用户密码: `sudo passwd oracle` ##### 8. **配置环境变量** - 以 `oracle` 用户登录,...
- 创建 `oracle` 用户: `# useradd -g dba -d /home/oracle -s /bin/ksh oracle` - 修改 `oracle` 用户密码: `# passwd oracle` - **.profile文件修改**: - 使用 `oracle` 用户登录,编辑 `.profile` 文件以配置...
sudo useradd oracle -g oinstall -G dba ``` 2. 设置密码: ```bash sudo passwd -l oracle ``` #### 六、软链接与目录结构 为了满足Oracle的安装需求,需要创建一些软链接与目录结构。 1. 创建软链接: ``...
- **用户与组**:创建`dba`组,并将`oracle`用户添加为成员,此用户将用于安装Oracle数据库。 - **目录权限**:在`/oracle`目录下创建`app/product/9.2.0`,并将所有者设置为`oracle:dba`。 - **Oracle环境变量**:...
升级前,需先将数据库升级至10.2.0.3版本,具体操作可参考文档`http://www.appsdba.info/docs/oracle_apps/upgrades/upgrade_db_9206_10203.pdf`。此步骤是整个升级流程的基础,确保数据库兼容性与稳定性。 #### 三...
1. **打开终端或命令提示符**:使用CRT或其他SSH客户端连接到安装有Oracle数据库的Linux服务器。 2. **登录Oracle控制台**:运行`sqlplus/nolog`命令来启动SQL*Plus界面。 3. **以DBA身份登录**:在SQL*Plus中执行`...
Oracle推荐为Oracle数据库创建专用的用户(如`oracle`)和组(如`dba`),并将所有数据库文件和日志文件的所有权分配给该用户。 六、安装Oracle 11g软件 下载Oracle数据库软件,然后使用root权限解压到指定目录。接...
- 对于Oracle数据库,应当限制DBA用户的直接访问,修改默认密码,并定期更新。比如,应立即更改SYS用户的初始密码,并对SYSTEM、APPS等用户的密码进行定期变更。同时,应清理不必要的日志文件,如后台进程的trace...
在 `/bi/oracle` 目录下创建 `oracle`、`apps`,以及在 `/bi/oracle` 内创建 `product/11.2/db_1` 和 `oraInventory`。这些目录将存储Oracle数据库软件、数据库实例和库存文件。 2. **创建用户和权限**: 为Oracle...