You are on page 1of 6

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. 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.

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> opmnctl stopall


%ORACLE_HOME%\opmn\bin> opmnctl startall
%ORACLE_HOME%\opmn\bin> opmnctl status
%ORACLE_HOME%\opmn\bin> opmnctl startproc ias-component=<standalone report server name as seen
in status>
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. 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.

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

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 :

       <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. 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 restart­on­death="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.

4. Restart the Oracle<instancename>ASControl from the Services window.

5. Restart OPMN and all OPMN managed processes.

%ORACLE_HOME%\opmn\bin> opmnctl stopall


%ORACLE_HOME%\opmn\bin> opmnctl startall
%ORACLE_HOME%\opmn\bin> opmnctl status
%ORACLE_HOME%\opmn\bin> opmnctl startproc ias-component=<standalone report server name as seen
in status>
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.

Go to %OMH% /sysman/emd

Open file targets.xml for editing.

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.dbserver _Reports_anand

Where

“oracleas.dbserver” is ias_instance_name

“anand” is reports server name

Select from Starting Tag <Target..> to ending tag </Target> and delete selected lines.

<Target TYPE=”oracle_repserv” NAME=”<ias_instance_name>_Reports_Server:


<reports_server_to_be_removed>” …>

</Target>
Save and Close targets.xml file.

Now go to %OMH%/dcm/bin

Give following commands to update and resync console with new configuration:

1. dcmctl updateconfig -ct opmn -v -d


2. dcmctl resyncinstance -v -d

Once done without any error, go to %OMH%/bin

Give following commands to restart the console:

1. emctl stop iasconsole


2. emctl start iasconsole

That’s it, Report Server is removed now!

You might also like