暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

what is oracle opmn?opmnctl

原创 Anbob 2011-12-12
1499
今天在学习oracle grid control 时,OMS那块发现了这样一步
Stop all the OMS instances that are associated with the repository
From each node where an OMS is running, logged in as oracle account, do:
$ cd /opmn/bin
$ ./opmnctl stopall
什么是opmn?查询wiki 解释
OPMN is Oracle Application Server's Process Monitor and Notification server. Use this utility to stop, start and get process status.
The opmnctl executable is located in the /opmn/bin/ directory.

[oracle@orazhang db10g]$ cd $OMS_HOME
[oracle@orazhang oms10g]$ pwd
/u01/app/oracle/gc102/oms10g
[oracle@orazhang bin]$ ./opmnctl help
usage: ./opmnctl [verbose] [] []
verbose: print detailed execution message if available
Permitted // combinations are:
scope command options
------- --------- ---------
start - Start opmn
startall - Start opmn & all managed processes
stopall - Stop opmn & all managed processes
shutdown - Shutdown opmn & all managed processes
[] startproc [= ..] - Start opmn managed processes
[] restartproc [= ..] - Restart opmn managed processes
[] stopproc [= ..] - Stop opmn managed processes
[] reload - Trigger opmn to reread opmn.xml
[] status [] - Get managed process status
[] dmsdump [=&..] - Get DMS stats
ping [] - Ping local opmn
validate [] - Validate the given xml file
help - Print brief usage description
usage [] - Print detailed usage description
[oracle@orazhang oms10g]$ opmn/bin/opmnctl status
Processes in Instance: EnterpriseManager0.orazhang
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 10004 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 10005 | Alive
OC4J | OC4J_EM | 10006 | Alive
OC4J | OC4J_EMPROV | 10008 | Alive
WebCache | WebCache | 10028 | Alive
WebCache | WebCacheAdmin | 10009 | Alive

[oracle@orazhang oms10g]$ ps -ef |grep 10028
oracle 10028 9985 0 17:25 ? 00:00:00 /u01/app/oracle/gc102/oms10g/webcache/bin/webcached -OPMN -U 1215430718
oracle 10223 9352 0 17:34 pts/0 00:00:00 grep 10028
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论