首页 » ORACLE 9i-23c » what is oracle opmn?opmnctl

what is oracle opmn?opmnctl

今天在学习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
打赏

目前这篇文章有1条评论(Rss)评论关闭。

  1. Kina Brais | #1
    2011-12-21 at 03:01

    I discovered your blog site on google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading more from you later on!…