Академический Документы
Профессиональный Документы
Культура Документы
Applies to:
Goal
How to get the EM Console Website to reflect a standalone report server registered with OPMN in the Oracle
Application Server Forms and Reports Services 9.0.4 / 10.1.2 (Forms & Reports ONLY) installation.
If the following command is not adding the standalone report server to the targets.xml and opmn.xml:
Solution
Manual steps for Oracle Application Server Forms and Reports Services 9.0.4 / 10.1.2 standalone installation to add
the standalone report server to targets.xml:
------------------------
• %ORACLE_HOME%/sysman/emd/targets.xml
• %ORACLE_HOME%/opmn/conf/opmn.xml
1. Make a copy of the in-process server entry in the targets.xml and paste directly below it.
2. Replace the rep_hostname with the standalone report server name. There are 4 of them to replace.
1. a. Make a copy of the in-process server entry in the opmn.xml and paste directly below it.
See step 3 in Note 260367.1 for an example of the entry to copy in the opmn.xml
2. Replace the rep_hostname with the standalone report server name.
Goal
How to get the EM Console Website to reflect a standalone report server registered with OPMN in the Oracle
Application Server Forms and Reports Services 9.0.4 / 10.1.2 (Forms & Reports ONLY) installation.
If the following command is not adding the standalone report server to the targets.xml and opmn.xml:
Solution
Manual steps for Oracle Application Server Forms and Reports Services 9.0.4 / 10.1.2 standalone installation to add
the standalone report server to targets.xml:
------------------------
• %ORACLE_HOME%/sysman/emd/targets.xml
• %ORACLE_HOME%/opmn/conf/opmn.xml
1. Make a copy of the in-process server entry in the targets.xml and paste directly below it.
2. Replace the rep_hostname with the standalone report server name. There are 4 of them to replace.
1. a. Make a copy of the in-process server entry in the opmn.xml and paste directly below it.
See step 3 in Note 260367.1 for an example of the entry to copy in the opmn.xml
Registering a standalone Reports Server with OPMN.
==================================================
1. Start a new Reports Server using the command
rwserver.sh server=la
2. Stop the Reports Server.
3. Register the newly created Reports Server la using the command
$ORACLE_HOME/bin/addNewServerTarget.sh la
The command addNewServerTarget.sh registers the reports server to OPMN and
Enterprise Manager.
The following entry is added to $ORACLE_HOME/opmn/conf/opmn.xml :
<iascomponent id="la" status="enabled" idmatching="false">
<processtype id="ReportsServer" moduleid="ReportsServices">
<processset id="la" restartondeath="true" numprocs="1">
<environment>
<variable id="PATH"
value="/home/ias10g/OraHome1/bin:/usr/bin:/usr/ccs/bin:/bin:/usr/kerberos/bin:/opt/IBMJ
ava2131/bin:/opt/IBMJava2
131/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin"/>
</environment>
<moduledata>
<category id="generalparameters">
<data id="batch" value="yes"/>
</category>
<category id="restartparameters">
<data id="reversepingtimeout" value="120"/>
</category>
</moduledata>
<dependencies>
<OID infrastructure="true"/>
<database infrastructurekey="portal"/>
<managedprocess iascomponent="OC4J" processtype="OC4J_BI_Forms"
processset="default_island" autostart="true"/>
<managedprocess iascomponent="HTTP_Server" process
type="HTTP_Server" processset="HTTP_Server" autostart="true"/>
</dependencies>
<start timeout="120" retry="3"/>
<stop timeout="120"/>
<restart timeout="120"/>
<ping timeout="30" interval="30"/>
</processset>
</processtype>
</iascomponent>
4. Restart OPMN and all OPMN managed processes.
opmnctl stopall
opmnctl startall
This will start the Reports Server la too.
The log entries for starting Reports Server through OPMN can be found in
/home/ias10g/OraHome1/opmn/logs/la~ReportsServer~la~1
5. The tag value restartondeath="true" is responsible to restart the Reports Server
in case it crashes.
This may be set to "false" while troubleshooting Reports Server crash issues to
prevent OPMN from
restarting the reports server.
2. Replace the rep_hostname with the standalone report server name.
Go to %OMH% /sysman/emd
Check for <Target> tag where its attribute “NAME†should matches as follows:
“<ias_instance_name>_Reports_Server: <reports_server_to_be_removed>”
Where
“oracleas.dbserver†is ias_instance_name
Select from Starting Tag <Target..> to ending tag </Target> and delete selected lines.
Now go to %OMH%/dcm/bin
Give following commands to update and resync console with new configuration: