An OracleAS installation contains the Oracle Process Management and Notification (OPMN) server. This server performns a specific task within an OracleAS environment -- it manages (starts/stops) and keeps watch on the processes that are part of OracleAS, performing remediary restart action required when a process experiences a failure.
The OPMN command line utility -- opmnctl -- has a flag which enables various actions to be performed. It also allows the status of the current system to be viewed.
Basic Status
The basic system status (up/down for each managed process) can be obtained using the simple command below.
$>opmnctl status
Processes in Instance: 050825_j2ee_red.duraace.au.oracle.com
-------------------+--------------------+---------+
ias-component | process-type | pid | status
-------------------+--------------------+---------+
OC4J | home | 3276 | Alive
Extended Status
A more extended status can be obtained using the "-l" command.
$>opmnctl status -l
Processes in Instance: 050825_j2ee_red.duraace.au.oracle.com
-------------------+--------------------+---------+
ias-component | process-type | pid | status | uid | mem used | uptime | ports
-------------------+--------------------+---------+
OC4J | home | 3324 | Alive | 1888158126 | 49152 | 0:00:31 | jms:12601,default-web-site:8888,rmi:12401
Cluster Status
$>opmnctl @cluster status
$>opmnctl @cluster status -l
Processes in Instance: 050825_j2ee_red.duraace.au.oracle.com
-------------------+--------------------+---------+
ias-component | process-type | pid | status
-------------------+--------------------+---------+
OC4J | home | 3324 | Alive
Processes in Instance: 050825_j2ee_blue.duraace.au.oracle.com
-------------------+--------------------+---------+
ias-component | process-type | pid | status
-------------------+--------------------+---------+
OC4J | home | N/A | Down
Processes in Instance: 050825_http.duraace.au.oracle.com
-------------------+--------------------+---------+
ias-component | process-type | pid | status
-------------------+--------------------+---------+
HTTP_Server | HTTP_Server | 2140 | Alive
No comments:
Post a Comment