This action might not be possible to undo. Are you sure you want to continue?
Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
Modified: Jun 25, 2012 Type: WHITE PAPER Status: PUBLISHED Priority: 3 Oracle E-Business Suite Release 12 has numerous configuration options that can be chosen to suit particular business scenarios, uptime requirements, hardware capability, and availability requirements. This document describes how to configure Oracle E-Business Suite Release 12 for Active Data Guard Reporting.
Note: At present, this document applies to UNIX and Linux platforms only.
The most current version of this document can be obtained in My Oracle Support Knowledge Document 1070491.1. There is a change log at the end of this document. A number of conventions are used in describing the Oracle E-Business Suite architecture: Convention Application tier Database tier Primary System Standby System oracle CONTEXT_NAME Meaning Machines (nodes) running Forms, Web, and other services (servers). Sometimes called middle tier. Machines (nodes) running the Oracle E-Business Suite database. Primary Oracle E-Business Suite system Oracle E-Business Suite system running as a data guard standby to the primary system, open for read only access. User account that owns the database file system (database ORACLE_HOME and files). The CONTEXT_NAME variable specifies the name of the Applications context that is used by AutoConfig. The default is <SID >_ <hostname >. Full path to the Applications context file on the application tier or database tier. The default locations are as follows. Application tier context file: <APPL_TOP >/admin/ <CONTEXT_NAME >.xml Database tier context file: <RDBMS ORACLE_HOME >/appsutil/ <CONTEXT_NAME >.xml Oracle E-Business Suite database user password. Represents command line text. Type such a command exactly as shown. Text enclosed in angle brackets represents a variable. Substitute a value for the variable text. Do not type the angle brackets. On UNIX or Linux, the backslash character can be entered to indicate continuation of the command line on the next screen line.
APPSpwd Monospace Text <> \
This document is divided into the following sections: Section 1: Section 2: Section 3: Section 4: Overview Concurrent Manager Reporting Configuration Managing ADG Support
Section 5: Managing Simulated Standby Section 6: Managing Concurrent Programs Section 7: Database Triggers Section 8: Understanding ADG Process Flow Section 9: Maintenance and Housekeeping Section 10: Understanding READ ONLY Violations Section 11: Approved Reports Appendix A: Example Configuration Appendix B: Opening a Physical Standby Read Only Appendix C: Example ADG Concurrent Manager Appendix D: Creating and Using Database Services Appendix E: ADG Reporting Tables
Section 1: Overview
An Active Data Guard [ADG] database is a data guard physical standby database opened for read access. This document assumes that you have a data guard physical standby database configured for read access. To set up physical standby for Oracle E-Business Suite Release 12, see My Oracle Support Knowledge Document 1070033.1. This document details the required steps to allow Concurrent Manager Reports to be run on ADG.
1.1 Active Data Guard
An Active Data Guard database applies redo from the primary. Although ADG guarantees query consistency [ by a standby query SCN ] the redo should be applied as soon as possible to the standby to ensure reports are using up to date data. A delay of 30 seconds is no different to a job being held on a primary manager queue for an extra 30 seconds.
1.2 Software Prerequisites
This document assumes the following minimum software versions: Software Component Oracle E-Business Suite Minimum Version 12.1.3 or higher Additional Patches Infrastructure patch 9434627 9434627:R12.FND.B Enabling patch 9505793 9505793:R12.FND.B patch 9526837 9526837:R12.FND.B . Recording ADG violations: <patch 10070167> patch 10134846 None - included in patchset.
Oracle Database 11gR1 Oracle Database 11gR2
22.214.171.124 or higher 126.96.36.199 or higher
1.3 Parallel Concurrent Processing
In order to use Concurrent Manager Reporting you must be using Parallel Concurrent Processing with new processing nodes set up to handle ADG reports. It is recommended that these nodes, although part of the primary system , be colocated with the ADG database as the majority of network traffic will be between the report programs and the ADG database. This decision will of course depend on the network latency between the primary and the ADG [ standby ] servers. In this ADG manager configuration, the concurrent manager connects to the primary database; only the reports connect to the ADG database.
By using automatic redirection. However. No DML of any sort is permitted other than DML executed via database links.3. Concurrent Reporting requires some level of application level DML.com/epmos/faces/ui/km/DocumentDisplay. With this option. a process is required to allow customers to identify reports that can be run on ADG. as for security reasons all db links are checked to ensure that they resolve to primary. https://support.1 Identifying Reports that can be run on Active Data Guard Section 11 contains a list of reports that have been validated against Active Data Guard. However. if network latency was not an issue the report could be assigned to any node. Temporary tables provide the greatest challenge for Concurrent Reporting. There is nothing special about the node other than its location .9/24/12 Document 1. In the current implememtation. 1. Only Oracle Reports programs that have no direct or indirect DML are supported. This can be done in one of two ways: 1. So for example <sequence>. from updating the FND_CONCURRENT_REQUESTS table through to setting up Row Level Security via the multi-org temporary table.4 ] FND Debug is not supported. the reports need to be redirected to the standby. This is done by providing a simulation mode. this is currently not the delivered solution. As per usual database security practice the traffic between the two servers should be encrypted using standard SSL .5 Security The only new security issue is the requirement to secure the SQL net traffic between the standby and the primary. The configuration steps required are covered in the following sections. Redirect reports to ADG. a concurrent processing node needs to be set up for ADG reporting.see <Document 376700.ctrl-state=uwfh2uefp_128 3/21 . 2.oracle. not to mention custom reports. It is of course technically possible to change the database link for temporary tables to a local. there are many thousands of Oracle Reports programs. Once a node has been set up.jspx?_adf. read-write scratch database. Section 2: Concurrent Manager Reporting Concurrent Manager support for ADG reporting is currently restricted as follows: Only Oracle Reports programs are supported.nextval is not supported as this requires a dictionary update. This information is logged to both V$ views and database trace files.4 Read-Only Limitations ADG is a READ ONLY database. This limitation applies to both user and dictionary DML. using existing work shifts and rules. request submission will automatically push the request to the first available standby [concurrent manager].2 Redirecting Reports to Active Data Guard As mentioned in 1. Therefore. where reports run on primary but log READ ONLY violations. [ This excludes FND level DML discussed in 1. as all access must be via a database link. temporary tables are resolved to the primary. For a report to be run on ADG it must have been previously run on the primary. 2.1>. 2. The process for running ADG reporting is : Identify reports that can be run on ADG.in other words. By changing the Session Properties within the Concurrent Program Definition form and specifying an ADG instance.
skip this step.register_connection(p_type => fnd_adg_utility.enable_database_triggers. 1. 1. the standard APPS account does not have the "CREATE PUBLIC DATABASE LINK" privilege ] 1. As discussed earlier. assigning it the node co-located with ADG.oracle.If enabled. execute fnd_adg_utility. See Appendix B for the steps to open a data guard database read only.disable_adg_support.2 Configure Parallel Concurrent Processing and set up an ADG Manager Follow the steps in Document 406982.] The <connect_str> can be the standard autoconfig generated TNS alias. This is achieved by using compile time directives to ensure that no database link dependencies are brought in until customers choose to enable ADG support. registering the node for batch processing only.1 and open the database READ ONLY.disable_database_triggers.1 for cloning an applications tier to set up Parallel Concurrent Processing.jspx?_adf. 3. Recompile invalid objects 1. 2. execute fnd_adg_utility. Switching RPC System On Out of the box.ctrl-state=uwfh2uefp_128 4/21 .9/24/12 Document Section 3: Configuration 3. it is recommended that this node.e.switch_rpc_system_off. the link must resolve to a READWRITE database with the same DBID. 7. 3. be co-located with the ADG database as the majority of network traffic will be between the report programs and the ADG database Start up the application and register a new concurrent manager.clone_clean. 3. 1. Optionally enable database triggers . 5. execute fnd_adg_utility. execute fnd_adg_utility. To ensure that this manager only handles reports destined for ADG. It is beyond the scope of this document to discuss the concurrent manager architecture but an example configuration is supplied in Appendix C.prepare_for_rpc_system. 8. although part of the primary system . Register a database link that will be used to connect to the primary. Create a database link that will be used to connect to the primary. [ Although it is possible to create the database link dynamically. execute fnd_adg_utility.i. or use standard RDBMS scripts. p_link_connstr => <connect_string> ).4 Prepare System for reporting As the APPS user carry out the following steps. Switching the RPC system on does two things: https://support. 3. execute fnd_adg_utility. 3.com/epmos/faces/ui/km/DocumentDisplay. execute fnd_adg_utility. execute fnd_adg_utility.if this is the first time. This will fail unless the database link registered in step 4 is valid .switch_rpc_system_on. 1. create public database link <db_link> using <connect_str> [ The link must be public and the connect string a TNS alias. -.1 Configure an ADG database Set up a physical standby using My Oracle Support Knowledge Document 1070033. 6.compile_rpc_dependents.see Section 7 1. Disable system . 2. p_link_name => <db link name>. ADG support is disabled. use exclude/include rules. It will be validated before it can be used.C_CONNECT_STANDBY_TO_PRIMARY.3 Apply Patches Apply patches as per Software Prerequisites . execute fnd_adg_utility. 4.
4. The TNS alias requirements are discussed below.9/24/12 Document 1. It is recommended to create an <IFILE> https://support. Connection to Simulated Standby.<standby_number>). Up to five connections [ ADG databases ] can be specified. Only valid when type is C_CONNECT_PRIMARY_TO_STANDBY. Note that enabling the compile time directive doesn't mean that the code path will be executed. Cannot be set to TRUE unless APPS account has "CREATE PUBLIC DATABASE LINK" privilege. There must be at least one C_CONNECT_PRIMARY_TO_STANDBY connection in order for reports to use ADG. [ Not that C_CONNECT_STANDBY_TO_PRIMARY is automatically validated during the RPC system switch. Default is FALSE.see Section 5. Enables the compile time directive so that the REMOTE code path is now available.validate_connection(<type>. connect as a privileged user and create the required database links using the aliases detailed below. C_CONNECT_TO_SIMULATED_STANDBY is required for using the simulated standby feature . link_name link_owner link_connstr varchar2 varchar2 varchar2 create_db_link_if_undefined Boolean standby_number number C_CONNECT_STANDBY_TO_PRIMARY was discussed in 3.ctrl-state=uwfh2uefp_128 5/21 . Creates synonyms to allow REMOTE DML via database links. fnd_adg_utility. 2. Allowable values 1 to 5.] fnd_adg_utility. Therefore.register_connection Option Type Description Use constant from fnd_adg_utility: type Boolean C_CONNECT_STANDBY_TO_PRIMARY C_CONNECT_PRIMARY_TO_STANDBY C_CONNECT_TO_SIMULATED_STANDBY Database link name.jspx?_adf.5 as the RPC system cannot be enabled until this connection has been registered. Defaults to PUBLIC which is the only allowable value. TNS Aliases There is currently no autoconfig support for ADG aliases so theses aliases need to be set up manually both on the database and middle tier. It just brings in the REMOTE code path for compilation.oracle. It is not recommended to add this privilege to the APPS account. This is used for DML operations from the standby. Connections from Primary to Standby. Before a connection can be used it must be validated.5 Register ADG connections Connections are registered via fnd_adg_utility.com/epmos/faces/ui/km/DocumentDisplay. These are the connections used for running the reports. There are three types of connections: Connection from Standby to Primary. Resolves to a TNS alias.register_connection. Database link connect string. This is a connection to primary that allows a report to run on primary as if it were running on standby. 3.
It cannot be the same alias as C_CONNECT_TO_SIMULATED_STANDBY <STANDBY_TO_PRIMARY>.register_standby_cm_class Option standby_number rule_class_app_id rule_class_id Type number number number Description Allowable values 1 to 5. The Class Id for the rule.oracle. See Appendix C for an example of setting up an ADG manager.jspx?_adf. the managers need to be configured and registered.com/epmos/faces/ui/km/DocumentDisplay.6 Configuring Concurrent Managers Once you have set up a dedicated concurrent processing node for ADG concurrent managers. Conversely.1 Enabling/Disabling ADG support https://support. Yes An alias that connects to the primary database via a dedicated service.9/24/12 Document and copy the contents to the respective tiers <TNS_ADMIN> directory.ctrl-state=uwfh2uefp_128 6/21 . All valid requests will now be routed to the designated manager. The Class Application Id for the rule. See Section 5 for further details on Simulated Standby. such that ADG managers are included. all others are excluded. the request will be routed based on existing rules/shifts defined for the program. To ensure that only ADG managers handle standby requests.register_standby_cm_class. Section 4: Managing ADG Support Before discussing how concurrent programs are managed the control process is discussed. Required on Required on Database Applications Tier (Primary Tier & ADG) Yes No Yes Connection Type TNS Alias Description C_CONNECT_STANDBY_TO_PRIMARY C_CONNECT_PRIMARY_TO_STANDBY An alias that connects to the primary database. Once configured this rule needs to be registered using fnd_adg_utility. you need to designate an include/exclude rule. 4. An alias that connects to an ADG instance. For a given request type use the following SQL to determine the class ids: select APPLICATION_ID. fnd_adg_utility. if the ADG manager/database is unavailable. Yes Yes 3.REQUEST_CLASS_ID from fnd_concurrent_request_class where REQUEST_CLASS_NAME='<REQUEST_TYPE>'.
Option Type Description When a request completes successfully on primary. To help answer this. they do not need to be changed and the defaults are fine. always_collect_primary_data Boolean This is the ONE option that is honoured even if ADG support has been disabled enable_redirect_if_valid enable_standby_error_checks enable_automatic_redirection debug_rpc enable_commit_wait max_commit_wait_time runtime_validate_timestamp standby_error_threshold debug_slave_rpc Boolean Boolean Boolean Number Boolean Number Boolean Number Number Redirect valid reports to standby regardless of the state of the concurrent managers.see Section 4. In this simulation mode. Note that trace file access requires a directory object that resolves to the instance trace directory.jspx?_adf. 4. the ADG manager must be running for the report to be redirected.No debug 1 . In most cases.ctrl-state=uwfh2uefp_128 7/21 .1 Section 5: Simulated Standby One of the problems with redirecting reports to an ADG database. https://support.com/epmos/faces/ui/km/DocumentDisplay. mark report as having run at least once on primary. the EBS infrastructure will scan the trace file/V$ views and record the number of violations.i.set_control_options. 2. Disabling ADG support is done for two reasons: 1.oracle.disable_adg_support. Currently unused Currently unused Currently unused Currently unused Currently unused FALSE TRUE FALSE 0 TRUE Initial Value This API can only be called when ADG support has been disabled . After a program has completed. The initial value is FALSE .enable_adg_support. Automatically redirect if the report can be run on ADG. All other settings are left unchanged. it is possible to run a simulation where a report runs on primary but is executed as if it were running on standby.2 General Options These options are set by calling fnd_adg_utility. SQL that would fail on the standby is logged to both database trace files and V$ views. To allow the control APIs to be called. Check for ADG instance read only errors. is determining whether a report will run on a READ ONLY database.e. To disable all standby/simulation actions. execute fnd_adg_utility. 0 . Conversely it can be disabled at any time.Enable SQL TRACE.9/24/12 Document ADG support must be enabled before it can be used: execute fnd_adg_utility.
Read Only Violation Processing During logoff processing. See Appendix D for an example of creating and using a database service.ora level. If a report can be run in simulation mode.2. During logoff processing. do not report violations unless above threshold. NULL simulation_error_threshold Number 5 trace_directory_obj varchar2 NULL This API can only be called when ADG support has been disabled . via Grid infrastructure or using the DBMS_SERVICE package. the following data is recorded : Session level violations in fnd_adg_simulated_stndby_trc Program level violations in fnd_adg_concurrent_program. database triggers must also be TRUE enabled . This directory object must provide READ access to the diagnostic trace directory .ctrl-state=uwfh2uefp_128 8/21 .see Section 7. 5. Run the concurrent program. a dedicated database service needs to be created and then registered. To capture read-only violations.i. [ Note: The violation count in fnd_adg_simulated_stndby_trc is the total count. the directory where SQL trace files are created.e. then this option will automatically direct to the simulation connection.oracle. A directory object for the standard RDBMS trace directory. To identify that a connection is for simulation.see Section 4.com/epmos/faces/ui/km/DocumentDisplay.set_simulated_standby_options Initial Value Option Type Description enable_simulated_standby Boolean Enables/disables simulation mode. the program is marked as runnable on standby. If the simulation was successful and no violations were recorded. ] https://support. in fnd_adg_concurrent_program it is the count less the threshold.see Section 7. FALSE enable_auto_simulation Boolean simulated_standby_service varchar2 A database service can be set at the init.jspx?_adf.1 5.1 Simulation Options fnd_adg_utility. Set simulation options Enable database logon/off triggers . Use the simulated standby connect string for the concurrent program or use redirection.9/24/12 Document The process of using simulated standby is as follows: Register a Simulated Standby Connection Create a database service to identify a simulation connection.
the following has to be true before a report can be run on standby. Report must be the correct type . run_on_standby no_standby_failures Boolean Set to TRUE to mark as runnable on standby. then automatically redirect to the first available ADG database.a concurrent request will be redirected to the ADG concurrent managers. The state changes above are handled automatically but customers may wish to override/pre-populate the program rules based on their requirements. This is set automatically so the main use is to reset the value. This is managed through the manage_concurrent_program API. fnd_adg_utility.i. max_standby_failures Set the maximum of standby failures.com/epmos/faces/ui/km/DocumentDisplay.primary key from FND_CONCURRENT_PROGRAM. ignoring any 0 always_redirect_if_valid Boolean TRUE https://support. With these conditions met. Run_On_Standby is disabled when Number no_simulated_stdby_failures > max_simulated_stdby_failures. 0 no_simulated_stdby_failures 0 max_simulated_stdby_failures Set the maximum number of simulated standby failures.jspx?_adf. and with ADG support enabled . The next step is to manage the programs that can run on an ADG database.oracle.1 . If the report can be run on standby.e. Report must have been previously been run on primary. Due to various limitations with ADG.Concurrent_Program_Id . Number Set the number of standby failures. Has no effect unless the control option "enable_redirect_if_valid" is TRUE. Report must be marked as runnable on standby . This is set automatically so the main use is to reset the value. Program level option to always redirect valid reports to standby regardless of the state of the concurrent managers. has no READ ONLY violations. has_run_on_simulated_standby Boolean Set to TRUE to mark as run as simulated standby.currently only Oracle Reports programs are supported. Report must have been run in simulation mode.9/24/12 Document Section 6: Managing Concurrent Programs Previous sections covered enabling and configuring Active Data Guard support. FALSE FALSE FALSE 0 Boolean Set to TRUE to mark as run on primary.see 4. Run_On_Standby Number is disabled when no_standby_failures > max_standby_failures Number Set the number of simulated standby failures.manage_concurrent_program Default Value Option application_id concurrent_program_id has_run_on_primary Type Number Number Description Application_id.ctrl-state=uwfh2uefp_128 9/21 .
APPLICATION_ID.oracle. Has no effect unless the control option "enable_automatic_redirection" is TRUE.manage_concurrent_program (p_application_id => f_rec. 7.enable|disable_database_triggers.jspx?_adf.com/epmos/faces/ui/km/DocumentDisplay.e. end. p_max_standby_failures => 1. Without these triggers.1 Logon/Logoff Triggers These triggers are to support simulation testing.g. The logon trigger will enable READ ONLY violation trace. p_has_run_on_primary => true ). 7. begin for f_rec in c1 loop fnd_adg_utility. e.i.2 ] then the error count for the concurrent program is incremented. p_max_simulated_stdby_failures => 5. To enable/disable these triggers use: fnd_adg_utility. declare cursor c1 is select a.9/24/12 Document use_automatic_redirection Boolean primary instance/node affinity. the following limitations apply: Trace errors and V$ data are not recorded and simulations will be treated as having no errors. the trigger does nothing on the primary.APPLICATION_ID. the logoff trigger will record the number of violations. If the error trigger is not enabled.a. The three triggers are for logon.logoff and servererror. If these triggers are not enabled. p_concurrent_program_id => f_rec. end loop. If <standby_error_checking> has been enabled [ see 4.ctrl-state=uwfh2uefp_128 10/21 .CONCURRENT_PROGRAM_ID.2 Error Trigger This trigger is only executed if ORA-16000 is raised .CONCURRENT_PROGRAM_ID from fnd_concurrent_programs a. https://support. / Section 7: Database Triggers ADG support delivers three schema level database triggers. enabling the simulation option is of limited benefit. the following limitations apply: Report failures will not be recorded. Failiures will not lead to "Run on Standby" being disabled. Use PL/SQL for bulk operations. They are disabled by default. FALSE This data is stored in FND_ADG_CONCURRENT_PROGRAM.
4 Validated connections . Simulation Set the connection string to the simulation alias and submit a request.9/24/12 Document Section 8: Understanding ADG Process Flow The process flow depends on whether automatic or manual redirection is being used.1 Manual Redirection In this mode of operation.ctrl-state=uwfh2uefp_128 11/21 . 8. If the request is successful.2 TNS aliases configured on all nodes . programs that are marked as runnable on standby and are enabled for automatic redirection will be automatically redirected to the first available ADG instance. the ERROR trigger will update the number of concurrent program standby errors.Section 4.Section 7. If the number of standby errors exceed the program level maximum.1 Simulation enabled Simulation service registered For trace file access [optional] trace directory object registered For ADG standby Registered CM class for standby . If any READ ONLY errors occur on the standby.see Section 6.2 Database error trigger enabled . Must have been marked as runnable on standby.see Section 6. ADG Concurrent Manager must be running.see Section 6. the program is marked as having been run in simulation mode. The request will be redirected to the standby.Section 3. It is possible to set this state from the API .1 Simulation options . Standby Additional prerequisites Concurrent program Must have been successfully run in simulation mode. It is possible to set this state from the API . the program will be marked as no longer runnable on standby. the prerequisites for both process flows are the following: System prepared .Section 4.Section 3.2 Automatic Redirection In this mode of operation. It is also marked as runnable on standby if the number of violations [ less threshold ] is less than the program maximum. https://support. 8. Set the connection string to the standby alias and submit the request.Section 3.5 Concurrent program Must have been previously run on the primary database.oracle. It is possible to set this state from the API .5 ADG support enabled .Section 3.Section 5.jspx?_adf.com/epmos/faces/ui/km/DocumentDisplay.Section 7. However. the connection string is set as part of the Session Properties within the Concurrent Program Definition form.6 Standby error checks enabled . ADG database must be open READ ONLY.1 For standby simulation Database logon/off triggers enabled .
switch_rpc_system_off.1 .1 Simulation Requests will automatically run in simulation mode.Section 4. execute fnd_adg_utility. 3. execute fnd_adg_utility. Connect to SQLPLUS as the <APPS> user.see Section 6. 4.9/24/12 Document Additional prerequisites: System wide automatic redirection enabled .Section 6 For simulation Enable automatic simulation . ADG Concurrent Manager must be running. the programs are marked as having been run in simulation mode. If the requests are successful.1 Removing ADG and RPC Support ADG reporting functionality can be disabled at any time as per Section 4.disable_database_triggers.2 Patch Application Applying patches to the primary database is unaffected by ADG reporting functionality. programs will be marked as no longer runnable on standby. They are also marked as runnable on standby if the number of violations [ less threshold ] is less than the program maximum.oracle.2 Program level automatic redirection enabled . 1. If the number of standby errors exceed the program level maximum. execute fnd_adg_utility. the ERROR trigger will update the number of concurrent program standby errors.see Section 6. It is possible to set this state from the API . If any READ ONLY errors occur on the standby. It is possible to set this state from the API .disable_adg_support.ctrl-state=uwfh2uefp_128 12/21 . execute fnd_adg_utility. Standby Additional prerequisites Concurrent program Must have been successfully run in simulation mode.com/epmos/faces/ui/km/DocumentDisplay. 2. To reinstate ADG support after it has been removed: 1.Section 5. 2.switch_rpc_system_on. 3. 5. execute fnd_adg_utility.enable_database_triggers.enable_adg_support. 4. Requests will be redirected to the first available standby. Connect to SQLPLUS as the <APPS> user. this does not remove database link dependencies within the EBS code. Must have been marked as runnable on standby. 9. execute fnd_adg_utility. However. carry out the following steps. ADG database must be open READ ONLY. https://support. execute fnd_adg_utility.compile_rpc_dependents. Section 9: Maintenance and Housekeeping 9. 5.compile_rpc_dependents. execute fnd_adg_utility. If for any reason you wish to remove these dependencies.jspx?_adf.
2+ there are additional reporting and control features. Default is 500.ctrl-state=uwfh2uefp_128 13/21 . 'spare statistic 1'." 11.1.com/epmos/faces/ui/km/DocumentDisplay. level 1' alter session set log_read_only_violations = true Disabling READ ONLY Violations alter session set events '3177 trace name context forever. level 0' alter session set log_read_only_violations = false Recording READ ONLY violations Version Session Level The violations count is recorded in the session level statistic.2.0. Default is 100.jspx?_adf. The circular buffer is controlled by the following initialisation parameters. _read_only_violation_max_count. _read_only_violation_max_count_per_module . Enabling/Disabling READ ONLY violations Version 11. to query the current sessions violations select a. 'read-only violation count'. v$statname b where a. x$krdrsbrov. Total size of the circular buffer..2 Enabling READ ONLY Violations alter session set events '3177 trace name context forever. Trace file Each entry is tagged with "*** READ-ONLY VIOLATION BY MODULE .value from v$mystat a.0.7 + patch 10070167 patch 10134846 11. https://support. It is for information only as the simulation option automatically handles the session events and statistics.7 + patch 10070167 patch 10134846 The violation count is recorded in the session level statistic.0.name = 'spare statistic 1'..name = 'read-only violation count'. This section provides some background on this new kernel feature.g.oracle.2.9/24/12 Document Section 10 : Understanding READ ONLY Violations The simulation feature discussed in previous sections is underpinned by a new kernel feature to allow READ ONLY violations to be tracked and recorded.statistic# = b.0. e.statistic# and b. Note that these additional reporting features are not currently used by the simulation implementation. 11.0.2. Each entry is tagged with "*** READ-ONLY VIOLATION BY MODULE . to query the current sessions violations select a.statistic# and b..value from v$mystat a.1. v$statname b where a.statistic# = b..g. A circular buffer to keep track of violations by module.2+ e." Note that trace is only generated when the following underscore parameter is set: _read_only_violation_dump_to_trace=true In 11. Maximum number of violations per module kept in the buffer.
ctrl-state=uwfh2uefp_128 .9/24/12 Document If both simulation and database triggers have been enabled. Section 11 : Approved Reports Concurrent Program Name Eligibility and Enrollment List Extract Error Report Extract Layout Report Extract Summary Report Life Events Summary Report Participation Error Detail Report by Person OTLR Missing Timecard Report Project Accounting Table List Total Hours To BEE Total Table Entries Assignments Unavailable for Processing Deductions Report Employee Payroll Movements Report Employee Run Results Report GRE Totals Report NACHA Report Payment Register Report Third Party Payment Register Report Void Payments Report (US) Absences Report Assignment Status Report Duplicate Person Report Full Person Details Report Organization Hierarchy Report Terminations Report Incomplete invoices Report Disputed invoice report Journal Entries Report Unposted items report Concurrent Prog Short Name Application BENELGEN BENXERRO BENXLAYT BENXSMRY BENLESUM BENERRPE HXT964A HXT957E HXT007A HXT957H PAYRPBLK PAYUSDED PAYRPEMV(PAY) PAYUSRRS PAYUSTOT PAYRPNAC PAYACPRE PAYRPTPP PAYRPVPRUS PERRPRAA PERRPRAS PERWSDUP PERRPFP1 PERRPROH PERRPRTM RAXIIR ARXDIR GLYRLGLG ARXGER Advanced Benefits Advanced Benefits Advanced Benefits Advanced Benefits Advanced Benefits Advanced Benefits Time and Labor Time and Labor Time and Labor Time and Labor Payroll Payroll Payroll Payroll Payroll Payroll Payroll Payroll Payroll Human Resources Human Resources Human Resources Human Resources Human Resources Human Resources Receivables Receivables General Ledger Receivables 14/21 https://support.com/epmos/faces/ui/km/DocumentDisplay. then it is simply a matter of connecting via the simulation service to enable READ ONLY violation reporting.jspx?_adf.oracle.
com/epmos/faces/ui/km/DocumentDisplay.9/24/12 Document Tax Exempt Customer Report US Sales Tax Report Commitment Balance Report Cash Requirement Report Sales Journal by GL Account Report AR Reconciliation Report Account Analysis .oracle.(180 Char) Agreement Activity Report Audit History Report Cancelled Orders Reason Detail Report Cancelled Orders Report Comprehensive Order Detail Report Credit Check Processor Credit Order Detail Report Credit Order Discrepancy Report Credit Order Summary Report Defaulting Rules Listing Report Export Compliance Report to Government Export Compliance Screening Failure Report Internal Order and Purchasing Requisition Discrepancy Report Lines on Credit Check Hold Report Order Discount Detail Report Order Discount Summary Report Order/Invoice Detail Report Order/Invoice Summary Report Orders Summary Report Orders by Item Report Orders on Credit Check Hold Report Outstanding Holds Report Payment Receipt Processing Constraints Listing Report Returns by Reason Report Sales Order Acknowledgement ZXXSTTEC ZXXSTR RAXCBR APXCRRCR RAXGLR ARXRECON GLACTANL2 OEXOEASR OEXAUDHR OEXOEOCR OEXOEOCS OEXOECOD OEXAUCRC OEXOEORD OEXCRDIS OEXOEORS OEXDERUL OEXITMGV OEXITMSF OEXIODIS OEXOECCL OEXPRPRD OEXPRPRS OEXOEIOD OEXOEIOS OEXOEOSR OEXOEITR OEXOECCH OEXOHOHS OEXPMTRC OEXOEPCL OEXOEORR OEXOEACK E-Business Tax E-Business Tax Receivables Payables Receivables Receivables General Ledger Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management Order Management 15/21 https://support.ctrl-state=uwfh2uefp_128 .jspx?_adf.
Standard Costing Shipping Transaction Summary Report Subinventory quantities report Prepayments Status Report Overtaken Vacation and Holiday OEXOEWFR OEXPODIS OEXOESOS OEXORDTP OEXOEUBD OEXOEUBK OEXWFASG WIPDJPCK WIPUTACD INVARCLI WIPDJORQ WIPRDJVR CSTRSTSR INVIRSIQ APXINPSR HXT015A Order Management Order Management Order Management Order Management Order Management Order Management Order Management Work In Progress Work In Progress Inventory Work In Progress Work In Progress Bills of Material Inventory Payables Time and Labor Appendix A . /1AGU/D-11d/ehs/110amnAGrs00agda/dm/d/D/rc' rminr err i agspotrcsse nteald e goe ros f d upr/p ytm o nbe eeuefdaguiiydsbeagspot xct n_d_tlt. https://support. rmOtoal cet dtbs drcoyojc frtaedrcoy e pinly rae aaae ietr bet o rc ietr.KOAL.rcecm sn AG.9/24/12 Document Sales Order Workflow Status Report Sales Order and Purchase Order Discrepancy Report Salesperson Order Summary Report Transaction Types Listing Report Unbooked Orders Detail Report Unbooked Orders Report Workflow Assignments Report Discrete Job Pick List Report WIP Account Distribution Report Cycle count listing Discrete Job Shortage Report Discrete Job Value Report .wthrcsse_f.ial_d_upr.O uig'D_TNB' rae ulc aaae ik D_OSADYU.KOAL.com/epmos/faces/ui/km/DocumentDisplay.oracle. rmpiayt_tnb e rmr_osady cet pbi dtbs ln AGT_TNB./di/D_w601t/igrbsagAGtae.jspx?_adf..O uig'D_IUAE' rae ulc aaae ik D_OSMLTDSADYU.ctrl-state=uwfh2uefp_128 16/21 .Example Configuration rmPbi dtbs lns e ulc aaae ik rmTeelnsasm ta AGAGT_TNB adAGSMLTDTSaisshv be cetd e hs ik sue ht D.RCECM sn AGSMLTD.o uig'D' rae ulc aaae ik d_opiayu. eeuefdaguiiysic_p_ytmof xct n_d_tlt.koal. rmsmltdsady e iuae tnb cet pbi dtbs ln AGT_IUAE_TNB./btc_t1. rmsadyt_rmr e tnb_opiay cet pbi dtbs ln agt_rmr.D_OSADY n D_IUAE N lae ae en rae.RCECM sn AGSADY. cet o rpaedrcoyAGPIAYTAEDRa rae r elc ietr D_RMR_RC_I s 'd/DSPAG1.
RCECM. e la_l s n lentv o ln_la.O' 'ULC.O' 'ULC.oracle._ONC_OSMLTDSADY 'D_OSMLTDSADYU. xct n_d_tlt.KOAL. n_d_tlt. AGT_TNB' fle as.eyccmiedrcie . ed n.eitrcneto ( fdaguiiyCCNETSADYT_RMR.rpr_o_p_ytm bgn ei fdaguiiyrgse_oncin n_d_tlt. xct n_d_tlt. ed n. n_d_tlt. AGT_TNB.jspx?_adf.KOAL.ln_la.I wl rmv eeyhn.opl_p_eedns bgn ei fdaguiiyrgse_oncin n_d_tlt.ctrl-state=uwfh2uefp_128 17/21 . e xct n_d_tlt.wthrcsse_n eeuefdaguiiycmiercdpnet.Ol rqie i cenali ue. xct n_d_tlt. PBI' 'D_IUAE' AGSMLTD ) . PBI' 'D_OSADY. / rmEapeueo otos e xml s f pin bgn ei fdaguiiystsmltdsadyotos n_d_tlt.RCECM.KOAL.9/24/12 Document rmcenu e la p eeuefdaguiiycoecen xct n_d_tlt.. / eeuefdaguiiysic_p_ytmo. o omly sd t il eoe vrtig rmicuigRCpcae adAGcnurn pormdt. e nldn P akgs n D ocret rga aa rmeeuefdaguiiyrsn_opl_ietv. n_d_tlt. _nbesmltdsady > re peal_uosmlto = fle _nbeat_iuain > as. rmeeuefdaguiiycenal e xct n_d_tlt. fdaguiiyrgse_oncin n_d_tlt._ONC_RMR_OSADY 'D_OSADYU. PBI' 'D' AG ) .la_l.RCECM.e_iuae_tnb_pin ( peal_iuae_tnb = tu. AGT_RMR.eitrcneto ( fdaguiiyCCNETT_IUAE_TNB.eitrcneto ( fdaguiiyCCNETPIAYT_TNB. rmCenali a atraiet coecen Ntnral ue.ny eurd f la_l s sd eeuefdaguiiypeaefrrcsse. https://support. 1 ) ._ONC_TNB_OPIAY 'D_OPIAYU.com/epmos/faces/ui/km/DocumentDisplay.O' 'ULC. AGT_IUAE_TNB.
pcf eurd p d 458. ed n. Start managed recovery atrdtbs rcvrmngdsadydtbs uigcretlgiedsonc FO le aaae eoe aae tnb aaae sn urn ofl icnet RM SSIN ESO. . le aaae eoe aae tnb aaae acl 2. Cancel the recovery atrdtbs rcvrmngdsadydtbs cne. / rmrgse sadyC cas e eitr tnb M ls bgn ei fdaguiiyrgse_tnb_mcas n_d_tlt. Log in as System Administrator Concurrent -> Program -> Types Create Name : ADG Application: Application Object Library https://support.e_oto_pin ( psadyerrtrsod= 6 _tnb_ro_hehl > . 0 .eitrsadyc_ls (1 .ctrl-state=uwfh2uefp_128 18/21 .pcf eurd ls d ) . le aaae pn ed ny 3.9/24/12 Document psmltdsadysrie= 'D_IUAE' _iuae_tnb_evc > AGSMLTD. psmlto_ro_hehl = 4 _iuainerrtrsod > ) . 4. fdaguiiystcnrlotos n_d_tlt. pdbgrc= 1 _eu_p > ) .seiyrqie api . ptaedrcoyoj= 'D_RMR_RC_I' _rc_ietr_b > AGPIAYTAEDR.Example ADG Manager Configuration The following is an example configuration for an ADG Concurrent Manager. / Appendix B .oracle. Open the standby database in read only mode atrdtbs oe ra ol. ed n. eet pnmd rm $aaae Appendix C . You must have acquired the licensed before carrying out the following steps. Make sure the standby is in read only mode slc oe_oefo vdtbs. 1.com/epmos/faces/ui/km/DocumentDisplay.Opening a Physical Standby Read Only Active Data Guard is a separately licensed database option.seiyrqie casi 49 .jspx?_adf.
com/epmos/faces/ui/km/DocumentDisplay.'ADG_SIMULATED'). On the ADG node.Create Service as privileged user execute dbms_service.ora or Grid infrastructure. Concurrent -> Manager -> Define Create Manager: ADG Manager Short Name: ADGMGR Application: Application Object Library Description: ADG Manager Type: Concurrent Manager Program Library: FNDLIBR Primary Node: ADG reporting node Save to commit. rem Step 2 . Update Specialization Rules for STANDARD Include/Exclude: Exclude Type: Request Type Application: Application Object Library Name: ADG [ find for type defined above ] Save to commit.create_service('ADG_SIMULATED'.jspx?_adf.9/24/12 Document Description : ADG Type for CM Save to commit. Specialization Rules Include/Exclude: Include Type: Request Type Application: Application Object Library Name: ADG [ find for type defined above ] Work Shifts Standard/24 hours Processes: 2 Sleep seconds : 20 Save to commit.oracle. rem Step 1 . Alternative approaches are to use the init.start_service('ADG_SIMULATED').Start the Service as privileged user execute dbms_service. Appendix E: ADG Reporting Tables https://support.Creating and Using Database Services The example below uses DBMS_SERVICE.ctrl-state=uwfh2uefp_128 19/21 . the following services need to be started: GSM Listener Concurrent Manager Appendix D .
oracle.ctrl-state=uwfh2uefp_128 20/21 FND_ADG_SIMULATED_STNDBY_TRC Boolean .Trace file count > V$ count 200 .V$ count > Trace file count After subtracting the base point. The rows map one to one with FND_CONCURRENT_PROGRAM and contains all program control information . a non-zero value indicates an error https://support.9/24/12 Document Table Name Type Description Contains one row and stores all control information. The column mapping is one to one with the corresponding arguments in fnd_adg_utility. the higher one is chosen. control options and simulation options. 0 . Records READ ONLY violations from simulation sessions and contains one row for each simulation session. no information will be recorded. READ_ONLY_VIOLATIONS The total number of read only violations. If there is a discrepancy between the two counts.no discrepancy 100 . Set to -1 if trigger [ simulation ]has been run outside of a concurrent job. See also TRACE_ACCESS_ERROR TRACE_FILE_NAME TRACE_ACCESS_ERROR Name of the database trace file. If the LOGOFF trigger is disabled. The base point for the error depends on whether there is a discrepancy between read only violations. A value of N would imply that the LOGOFF trigger has been fired but the LOGON trigger has been disabled.com/epmos/faces/ui/km/DocumentDisplay. Indicates possible errors during LOGOFF trigger processing.manage_concurrent_program. The mapping is one to one with corresponding procedure arguments except for RPC state. state. Column LOG_SEQ ORACLE_PROCESS_ID OS_PROCESS_ID ORACLE_SESSION_ID REQUEST_ID Description Internal sequence As per FND_CONCURRENT_REQUESTS As per FND_CONCURRENT_REQUESTS As per FND_CONCURRENT_REQUESTS As per FND_CONCURRENT_REQUESTS. The table is populated via the LOGOFF trigger. FND_ADG_CONTROL Number FND_ADG_CONCURRENT_PROGRAM Number MAGIC_SWITCH_ENABLED Should always be Y. including connections.jspx?_adf. It is calculated from both the V$ view and the trace file itself.
Invalid file name and/or permissions 3 .jspx?_adf. 2011 Changed ReportWriter to Oracle Reports. 2010 Doc updates from cert testing. Jan. Mar. Aug. 2011 Added notebox for controlled release of 9526837.Invalid path 2 . 4 .9/24/12 Document accessing the trace file.Read error. 2012 Description Removed controlled release restriction for 9526837. Change Log Date Jun. 2010 Initial creation.oracle. 1 . Oracle https://support.com/epmos/faces/ui/km/DocumentDisplay.1 by Oracle E-Business Suite Development Copyright © 2010. Nov. Internal support table.Currently unused. My Oracle Support Knowledge Document 1070491. Apr.Unknown open error. FND_ADG_PACKAGE FND_ADG_COMMIT_WAIT Boolean Number Internal support table.ctrl-state=uwfh2uefp_128 21/21 . 2010 Formatting updates + patches.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.