19211503 Creating New or Delete Report Server in Middle Tier | Windows 2000 | Xml

How to Manually Add a Standalone Report Server to the EM Console Website

Applies to:
Oracle Reports Developer - Version: 9.0.4 to 10.1.2 Microsoft Windows 2000 Oracle Application Server Forms and Reports Services 9.0.4 / 10.1.2

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: addNewServerTarget.bat <standalone report server> then add the report server manually.

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: -----------------------1. Back up the targets.xml and opmn.xml configuration files: • • %ORACLE_HOME%/sysman/emd/targets.xml %ORACLE_HOME%/opmn/conf/opmn.xml

2. Edit the %ORACLE_HOME%/sysman/emd/targets.xml as follows: 1. 2. Make a copy of the in-process server entry in the targets.xml and paste directly below it. Replace the rep_hostname with the standalone report server name. There are 4 of them to replace.

3. Edit the %ORACLE_HOME%/opmn/conf/opmn.xml as follows: 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. 4. Restart the Oracle<instancename>ASControl from the Services window. 5. Restart OPMN and all OPMN managed processes.
%ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> in status> opmnctl opmnctl opmnctl opmnctl stopall startall status startproc ias-component=<standalone report server name as seen

2 Microsoft Windows 2000 Oracle Application Server Forms and Reports Services 9. Replace the rep_hostname with the standalone report server name.xml %ORACLE_HOME%/opmn/conf/opmn.Applies to: Oracle Reports Developer .4 / 10. Back up the targets.1.bat <standalone report server> then add the report server manually. a.xml Registering a standalone Reports Server with OPMN.xml and paste directly below it.1.2 standalone installation to add the standalone report server to targets.0. ================================================== 1.0.1 for an example of the entry to copy in the opmn. Start a new Reports Server using the command     rwserver.Version: 9.1.xml as follows: 1.0. Solution Manual steps for Oracle Application Server Forms and Reports Services 9. See step 3 in Note 260367. Register the newly created Reports Server la using the command     $ORACLE_HOME/bin/addNewServerTarget. 3. Stop the Reports Server.2 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.4 / 10.4 to 10.0.1. Edit the %ORACLE_HOME%/opmn/conf/opmn.sh server=la 2.xml and opmn.xml configuration files: • • %ORACLE_HOME%/sysman/emd/targets.xml: -----------------------1. If the following command is not adding the standalone report server to the targets. Make a copy of the in-process server entry in the opmn.xml: addNewServerTarget.2 (Forms & Reports ONLY) installation.sh la . 3.4 / 10. Edit the %ORACLE_HOME%/sysman/emd/targets.xml 2. There are 4 of them to replace.xml and paste directly below it. Make a copy of the in-process server entry in the targets.xml and opmn.xml as follows: 1. 2.

sh registers the reports server to OPMN and  Enterprise Manager.xml :        <ias­component id="la" status="enabled" id­matching="false">             <process­type id="ReportsServer" module­id="ReportsServices">                <process­set id="la" restart­on­death="true" numprocs="1">                   <environment>                      <variable id="PATH"  value="/home/ias10g/OraHome1/bin:/usr/bin:/usr/ccs/bin:/bin:/usr/kerberos/bin:/opt/IBMJ ava2­131/bin:/opt/IBMJava2­ 131/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin"/>                   </environment>                   <module­data>                      <category id="general­parameters">                         <data id="batch" value="yes"/>                      </category>                      <category id="restart­parameters">                         <data id="reverseping­timeout" value="120"/>                      </category>                   </module­data>                   <dependencies>                      <OID infrastructure="true"/>                      <database infrastructure­key="portal"/>                      <managed­process ias­component="OC4J" process­type="OC4J_BI_Forms"  process­set="default_island" autostart="true"/>                      <managed­process ias­component="HTTP_Server" process­ type="HTTP_Server" process­set="HTTP_Server" autostart="true"/>                   </dependencies>                  <start timeout="120" retry="3"/>                   <stop timeout="120"/>                   <restart timeout="120"/>                   <ping timeout="30" interval="30"/> </process­set>             </process­type>          </ias­component> 4.    The following entry is added to $ORACLE_HOME/opmn/conf/opmn.    The log entries for starting Reports Server through OPMN can be found in    /home/ias10g/OraHome1/opmn/logs/la~ReportsServer~la~1 5. Restart OPMN and all OPMN managed processes.     opmnctl stopall     opmnctl startall    This will start the Reports Server la too.    This may be set to "false" while troubleshooting Reports Server crash issues to  prevent OPMN from     restarting the reports server.   The command addNewServerTarget. . The tag value restart­on­death="true" is responsible to restart the Reports Server  in case it crashes.

Restart OPMN and all OPMN managed processes. 5. %ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> %ORACLE_HOME%\opmn\bin> in status> opmnctl opmnctl opmnctl opmnctl stopall startall status startproc ias-component=<standalone report server name as seen . Replace the rep_hostname with the standalone report server name. Restart the Oracle<instancename>ASControl from the Services window. 4.2.

<Target TYPE=”oracle_repserv” NAME=”<ias_instance_name>_Reports_Server: <reports_server_to_be_removed>” …> … </Target> .> to ending tag </Target> and delete selected lines. Go to %OMH% /sysman/emd Open file targets.dbserver _Reports_anand Where “oracleas.Removing Report Server in Middle Tier January 9th. 2008 by Rajender Singh · 3 Comments Example. I have following report server (highlighted) which I need to delete.xml for editing..dbserver” is ias_instance_name “anand” is reports server name Select from Starting Tag <Target. Check for <Target> tag where its attribute “NAME” should matches as follows: “<ias_instance_name>_Reports_Server: <reports_server_to_be_removed>” In our example it is oracleas.

xml file. dcmctl resyncinstance -v -d Once done without any error. go to %OMH%/bin Give following commands to restart the console: 1. Now go to %OMH%/dcm/bin Give following commands to update and resync console with new configuration: 1.Save and Close targets. emctl start iasconsole That’s it. emctl stop iasconsole 2. dcmctl updateconfig -ct opmn -v -d 2. Report Server is removed now! .

Sign up to vote on this title
UsefulNot useful