R12中间层及应用层脚本(单独开启各服务脚本)- adoafmctl.sh

2.5
名称: adoafmctl.sh
说明: start, stop and check the status of the oafm .
路径: ${INST_TOP}/admin/scripts/adoafmctl.sh
用法: adoafmctl.sh  {start|stop|status} 

OAFM = Oracle Applications Fusion Middleware ,更确切的说:oafm JVM 是给Map Viewer applications、
oracle Transport Agent XML transactions、和web services用的。
 
其中有2个applications会用Map Viewer,他们是: Field Service(域服务) 和 Transportation Planning
(运输规划), 参考  R12: What Is the OAFM JVM Process Used For? (文档 ID 763658.1)。

如果在系统中没有用到域服务、运输规划、XML Gateway、web Services,那么就没有必要启动OAFM JVM。我
们可以通过sql语句(语句见后面)查询是否有启动这些服务,然后用如下步骤stop这个服务: 
1. Stop the OAFM JVM via adoafmctl.sh stop
2. Edit context via the context editor and change s_oafmstatus  to disabled
3. Run Autoconfig
再次开启adstrtal.sh时就不会开启oafm了。如果EBS是多节点的cluster,那么需要每个节点都执行如上的步骤。

如果你使用oafm, 那么一般是每80-100个active Map Viewer users使用一个oafm,因为Map data 非常大,
一般选择较小的数值(80),可以通过CONTEXT_FILE中的s_oafm_nprocs进行调整,然后autocfg,多个节点的话,
都需要调整 。

查询OAFM是否被使用的语句 (not a complete list, doesn’t include web services):

select fa.APPLICATION_SHORT_NAME, fpi.PATCH_LEVEL, DECODE(fpi.STATUS,'I','Installed',
 'S','Shared','N', 'Inactive', fpi.STATUS) Status , fpi.DB_STATUS   from fnd_product_installations fpi,FND_APPLICATION fa
 where fpi.APPLICATION_ID in (   select APPLICATION_ID from FND_APPLICATION where APPLICATION_SHORT_NAME in ('CSKF','MST','ECX'))
 and fa.APPLICATION_ID=fpi.APPLICATION_ID;

status状态说明 : 
I - Installed (完全安装且是licensed了的,因为默认情况下,所有的products都会被installed, 但不是都被licensed)
S - Shared (product is a Share install, 表示作为共享的产品而安装的,当然也是licensed的)
N - Not Installed (产品被安装了但是没有licensed)
L - Custom, 之所以是L, 应该表示本地化(localization),客户化的意思 

如果EBS系统使用到了ISG(Integrated SOA Gateway), 因为使用到web servide进行集成,必须开启OAFM进程。

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1080088/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-1080088/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值