opmn.xml Common Configuration 6-1
6
opmn.xml Common Configuration
This chapter provides common configuration examples, and descriptions of elements and attributes for the OPMN opmn.xml file.
It contains the following topics:
■
Example of opmn.xml Elements and Attributes
■
opmn.xml Element and Attribute Descriptions
6.1 Example of opmn.xml Elements and Attributes
Example 6–1 shows all possible elements and attributes that may appear in an
opmn.xml file that are not specific to any system components.
6.1.1 Global Definitions and Syntax
All paths, module data values, and environment values may reference the following global variables, which is expanded to their platform specific values:
Each of the variables defined above must be referenced using the same syntax as an environment variable in Linux or Windows. For example any of these references,
ORACLE_HOME, {ORACLE_HOME}, or ORACLE_HOME yields the full path to ORACLE_HOME
. OPMN also automatically converts path separators in any path, module data value, or
environment value based upon the platform on which OPMN is running. For example, oracleinstancesias1 would remain the same on Linux, but on Microsoft
Windows OPMN would convert it to \oracle\instances\ias1.
Table 6–1 Global Variables and Definitions
Global Variable Definition
ORACLE_HOME Full path to ORACLE_HOME
ORACLE_INSTANCE Full path to ORACLE_INSTANCE
: The library path or class path separator : on Linux or ; on
Microsoft Windows, for example. EXE_EXT
The executable file extension on Linux or .exe on Microsoft Windows, for example
SO_EXT The shared library extension .so on Linux or .dll on
Microsoft Windows, for example SHELL_EXT
The shell file extension .sh on Linux or .bat on Microsoft Windows, for example
6-2 Oracle Fusion Middleware Oracle Process Manager and Notification Server Administrators Guide
OPMN uses the character as an escape character to disable path separator conversion for the following character, and so always yields in the parsed
string. Two characters yields a single .
Example 6–1 Common Configuration Elements and Attributes
opmn log
path=path comp=comp-codes rotation=-size=kBytes rotation-hour=HOD debug
=path comp=comp-codes rotation-size=kBytes rotation-hour=HOD notification-server
interface=type ipaddr
remote=ip; ip request=ip; ip port
local=port remote=port reqest=port ssl
enabled=boolean wallet-file=path wallet-password=password openssl-certfile=path openssl-keyfile=path open openssl-password=password openssl-lib=path
tune io-timeout=timeout
io-idle=interval timeout=timeout
notification-server process-manager
insecure-remote-requests=boolean process-modules
module path=path tag=tag-id status=state cron=interval
module-data category
id=id data
id=id value=value process-conversion=boolean category
module-data module-id
id=module-id module
process-modules ias-instance
= id=ias-instance-name
name=ias-instance-name ORACLE_HOME=path
environment variable
id=id value=value
append=boolean process-conversion=boolean
environment --
module-data --
ias-component id=component-id id-matching=boolean status=state
-- environment-- -- module-data--
dependencies database
db-connect-info=connect infrastructure-key=keytimeout=depend-timeout
cache-timeout=cache-timeout OID
address=address infrastructure=boolean timeout=depend-timeout cache-timeout=cache-timeout
ssl enabled=boolean wallet-file=path wallet-password=password
OID OSSO
host=hostname port=port URI=uri timeout=depend-timeout cache-timeout=cache-timeout
ssl enabled=boolean wallet-file=path wallet-password=password OSSO
managed-process ias-instance=ias-instance-id ias-component=ias-component-id
process-type=process-type-id process-set=process-set-id autostart=boolean autostop=boolean timeout=depend-timeoutcache-timeout=cache-timeout
dependencies process-type=process-type-id
module-id=module-id status=state working-dir=path -- environment--
-- module-data-- -- dependencies--
event-scripts pre-start
path=path pre-stop
path=path post-crash
path=path