Beruflich Dokumente
Kultur Dokumente
First, navigate to the ORACLE_INSTANCE/bin directory. For me on Linux, that is /obiee/Middleware/instances/instance. List out the directory contents and you should see the opmnctl
[oracle@oracle-web-tier bin]$ total 56K drwx------ 3 oracle dba 4.0K drwx------ 14 oracle dba 4.0K drwxr-x--- 2 oracle dba 4.0K -rwx------ 1 oracle dba 44K ls -lah Aug 16 00:53 . Sep 8 17:09 .. Aug 16 00:53 essbase_ha Aug 16 00:53 opmnctl
All of the components are running. Good. Let's shut down everything.
[oracle@oracle-web-tier bin]$ ./opmnctl shutdown [oracle@oracle-web-tier bin]$ ./opmnctl status opmnctl status: opmn is not running.
Now, let's stop the BI Server, coreapplication_obis1 or OrcleBIServerCom~. There are 2 ways to bring this down. Well, one command, stopproc, but 2 different ways. Notice the column headers up above, you have ias-component and process-type. Using ias-component:
[oracle@oracle-web-tier bin]$ ./opmnctl stopproc iascomponent=coreapplication_obis1 opmnctl stopproc: stopping opmn managed processes... [oracle@oracle-web-tier bin]$ ./opmnctl status Processes in Instance: instance1 ---------------------------------+--------------------+---------+--------ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------coreapplication_obiccs1 | OracleBIClusterCo~ | 3124 | Alive
| | | |
| | | |
| | | |
process-type shutdown:
[oracle@oracle-web-tier bin]$ ./opmnctl stopproc processtype=OracleBIServerComponent opmnctl stopproc: stopping opmn managed processes... [oracle@oracle-web-tier bin]$ ./opmnctl status Processes in Instance: instance1 ---------------------------------+--------------------+---------+--------ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------coreapplication_obiccs1 | OracleBIClusterCo~ | 3124 | Alive coreapplication_obisch1 | OracleBIScheduler~ | 3123 | Alive coreapplication_obijh1 | OracleBIJavaHostC~ | 3121 | Alive coreapplication_obips1 | OracleBIPresentat~ | 3120 | Alive coreapplication_obis1 | OracleBIServerCom~ | N/A | Down
Note that I didn't use OracleBIServerCom~. It expects the full name of the component, in this case, OracleBIServerComponent. If you use the shortened name, you'll get this:
[oracle@oracle-web-tier bin]$ ./opmnctl stopproc processtype=OracleBIServerCom~ opmnctl stopproc: stopping opmn managed processes... ============================================================================= === opmn id=oracle-web-tier:9501 No processes or applications match the specified configuration.
coreapplication_obips1 coreapplication_obis1
| OracleBIPresentat~ | | OracleBIServerCom~ |
Fairly simple. For a full list of opmnctl commands, simply run ./opmnctl help and you'll get the following output:
[oracle@oracle-web-tier bin]$ ./opmnctl help usage: opmnctl [verbose] [<scope>] <command> [<options>] verbose: print detailed execution message if available Permitted <scope>/<command>/<options> combinations are: scope ------command --------start startall stopall shutdown options --------Start opmn Start opmn & all managed processes Stop opmn & all managed processes Shutdown opmn & all managed Start opmn managed processes Restart opmn managed processes Stop opmn managed processes Trigger opmn to reread opmn.xml Get managed process status Get DMS metrics for managed
processes [<scope>] startproc [<attr>=<val> ..] [<scope>] restartproc [<attr>=<val> ..] [<scope>] stopproc [<attr>=<val> ..] [<scope>] reload [<scope>] status [<options>] [<scope>] metric [<attr>=<val> ..] processes [<scope>] dmsdump [<dmsargs>] [<scope>] debug [<attr>=<val> ..] information [<scope>] set [<attr>=<val> ..] [<scope>] query [<attr>=<val>] launch [<attr>=<val> ..] phantom [<attr>=<val> ..] ping [<max-retry>] validate [<filename>] help usage [<command>] createinstance createcomponent deleteinstance deletecomponent registerinstance redeploy application unregisterinstance updateinstanceregistration updatecomponentregistration
- Get DMS metrics for opmn - Display opmn server debug Set opmn log parameters Query opmn log parameters Launch a configured target process Register phantom processes Ping local opmn Validate the given opmn xml file Print brief usage description Print detailed usage description Create an Oracle Instance Create a specified component Delete an instance and components Delete a specified component Register with admin server Redeploy the admin server
- Unregister with admin server - Update instance registration - Update component registration