DBA_Oracle Erp重启Database/Application/Concurrent/Apache(案例)

2014-12-27 Created By 鲍新建

一、重启数据库 - Database



Step1. 进入Script目录

[[email protected] PROD_paleonode1]$ su - oravis
[[email protected] PROD_paleonode1]$ pwd
/u1/VIS/visora/db/tech_st/11.1.0/appsutil/scripts/PROD_paleonode1

Step2. 启动应用

./addbctl.sh start

Step3. 启动监听

./addlnctl.sh start PROD

Step3. 检查进程

分别检查进程 ps -ef|grep oravis

二、重启应用 -  Application



Step1. 进入Script目录

[[email protected] ~]$ su - applvis[[email protected] ~]$ cd $ADMIN_SCRIPTS_HOME
[[email protected] ~]$ pwd
/u2/VIS/visappl/inst/apps/PROD_paleonode1/admin/scripts

Step2. 启动应用 ./adstrtal.sh apps/apps

Step3. 查看进程

分别检查进程 ps -ef|grep applvis

三、重启并发管理器 - Concurrent Manager



Step1. 进入Script目录

[[email protected] ~]$ cd $ADMIN_SCRIPTS_HOME
[[email protected] ~]$ pwd
/u2/VIS/visappl/inst/apps/PROD_paleonode1/admin/scripts

Step2. 关闭并发管理 adcmctl.sh stop apps/apps

[[email protected] scripts]$ ./adcmctl.sh stop apps/apps
You are running adcmctl.sh version 120.17.12010000.3
Shutting down concurrent managers for PROD ...
ORACLE Password:
oracle
Submitted request 5813385 for CONCURRENT FND SHUTDOWN
adcmctl.sh: exiting with status 0
adcmctl.sh: check the logfile /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/appl/admin/log/adcmctl.txt for more information ... 

Step3. 查看进程

[[email protected] scripts]$ ps -ef |grep FNDLIB
applvis  10984 10064  0 11:49 pts/2    00:00:00 grep FNDLIB

Step4. 重启并发管理后进程数量

[[email protected] scripts]$ ./adcmctl.sh start apps/apps

[[email protected] scripts]$ ps -ef |grep FNDLIB
applvis  11157 11152  0 11:51 pts/2    00:00:00 FNDLIBR
applvis  11164 10064  0 11:51 pts/2    00:00:00 grep FNDLIB

Step5. 并管理器异常时,process数为0,需进行重启

四、OAF重编重启 - Apache



Step1. 进入Script目录 $INST_TOP/admin/scripts

[applvis@paleonode1 ~]$ cd $ADMIN_SCRIPTS_HOME
[applvis@paleonode1 ~]$ pwd
/u2/VIS/visappl/inst/apps/PROD_paleonode1/admin/scripts

Step2. 重启Apache: adapcctl.sh stop / start

[applvis@paleonode1 scripts]$ ./adapcctl.sh stop
You are running adapcctl.sh version 120.7.12010000.2
Stopping OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: stopping opmn managed processes...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/appl/admin/log/adapcctl.txt for more information ...  

[applvis@paleonode1 scripts]$ ./adapcctl.sh start
You are running adapcctl.sh version 120.7.12010000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: opmn is already running.
opmnctl: starting opmn managed processes...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/appl/admin/log/adapcctl.txt for more information ...  

Step3. 重启OC4J(只在R12系统存在): adoacorectl.sh stop / start

[applvis@paleonode1 scripts]$ ./adoacorectl.sh stop
You are running adoacorectl.sh version 120.13
Stopping OPMN managed OACORE OC4J instance ...
adoacorectl.sh: exiting with status 0
adoacorectl.sh: check the logfile /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/appl/admin/log/adoacorectl.txt for more information ...  

[applvis@paleonode1 scripts]$ ./adoacorectl.sh start
You are running adoacorectl.sh version 120.13
Starting OPMN managed OACORE OC4J instance  ...
adoacorectl.sh: exiting with status 0
adoacorectl.sh: check the logfile /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/appl/admin/log/adoacorectl.txt for more information ... 

五、数据库中脚本分析 - Scripts



1. 停止应用(stopAPP.sh)文件中的内容如下:

/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. 停止数据库(stopDB.sh) 文件中的内容如下:

/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. 启动数据库(startDB.sh) 文件中的内容如下:

/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. 启动应用(startAPP.sh) 文件中的内容如下:

/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. 上述命令所代表的含义如下表所示:

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

时间: 2024-11-05 19:45:53

DBA_Oracle Erp重启Database/Application/Concurrent/Apache(案例)的相关文章

DBA_Oracle Erp R12安装镜像IP修正(案例)

2014-07-12 BaoXinjian 一.摘要  学习oralce EBS,最好可以学下一下自己安装oracle ebs,之后就可以随心所欲作为自己的学习环境进行使用,不会有任何限制 网上很多人在卖oracle ebs r12的镜像,只需要解压后,通过VM启动镜像即可 不过在启动镜像时,唯一所需进行修正的就是镜像的IP地址 以下提供同步本机和服务镜像IP地址的具体步骤 二.案例 Step1. 通过addlnctl.sh start PROD启动数据库监听时,必须同步主机和服务镜像hosts

DBA_Oracle Erp R12中文补丁安装升级(案例)

2014-07-11 BaoXinjian 一.摘要 在使用oracle ebs时,使用中文会更好的理解整个ebs流程,一下介绍oracle r12中文补丁的方式 1. 如果你的系统除了支持英语外,还支持其他语言,比如中文,那你在下载补丁的时候除了下载Generic Platform版本外,还要确认有没有其他语言的版本,比如ZHS版本.如果有的话也要下载. 2. EBS的补丁不像数据库的补丁那样可以回滚,一旦失败就很麻烦.所以打补丁前一定要细看readme文件,确认补丁所需的前提条件都满足. 3

Error querying database. Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'ItemsCustom' in 'class com.pojo.OrderDetailCustom

再用 junit 测试MyBatis时发现的错误: org.apache.ibatis.exceptions.PersistenceException: ### Error querying database.  Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'ItemsCustom' in 'class com.pojo.OrderDetailCust

Mybatis报错 Error querying database. Cause: org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.me.mybatis.pojo.Orders with invalid types () or values ().

在学mybaits的时候遇到了这个错误,而且卡住了我三个小时也找不到,最后分析出来不能初始化类,然后就结合着之前自己以前的一点经验发现只有有参构造没有无参构造,因此只需要添加上无参构造就可以了. 错误源码 org.apache.ibatis.exceptions.PersistenceException: ### Error querying database.  Cause: org.apache.ibatis.reflection.ReflectionException: Error ins

DBA_Oracle Erp并发程序运行状态查询和监控(案例)

2014-08-09 Created By BaoXinjian Looking on how to check long running concurrent request in Oracle Apps 11i or R12? Here’s the overview of the SQL query script to detect the session information of each program.First you need to get the listing of run

DBA_Oracle Erp默认密码修改(案例)

2015-01-01 Created By BaoXinjian 一.摘要 二.修改操作系统用户密码 三.修改数据库管理员用户密码 四.修改应用系统ERP用户密码 Thanks and Regards

DBA_Oracle Erp安装OEM管理监控数据库(案例)(待整理)

2014-12-25 Created By BaoXinjian /u1/VIS/visora/db/tech_st/11.1.0/bin 参考:管世勇 http://blog.sina.com.cn/s/blog_49d1af6e0100hnbj.html

DBA_Oracle Erp安全设置(案例)

2014-05-06 Created By BaoXinjian 一.摘要 二.数据库监听安全 三.数据库安全 四.应用服务器安全 五.应用系统安全 六.桌面层安全 Thanks and Regards

DBA_Oracle Erp AutoPatch应用补丁(案例)

2014-09-04 Created By BaoXinjian 一.摘要 二.下载补丁 三.AutoPatch 四.AutoConfig Thanks and Regards