Disabling Mostly-Read-Only Attributed Features
If you do not want any of the read-only enabled delivered components or processes redirected to the standby database, then you can disable the read-only attribute for the specific component or process by going to the appropriate component definition or process definition and deselecting the read-only check box.
In the following features, the read-only attribute behavior is hard-coded:
-
Query as a service (QAS).
-
Any component that uses ICQueryService.
Note:
The SQL of any component that uses ICQueryService, will be redirected to the standby database. PSQUERY Viewer is an example of one such component; it does not need to be explicitly marked RO, because it uses ICQueryService.
The following sections describe how to disable hard-coded read-only attributes for these features.
Disabling the Read-Only Behavior for QAS
To disable the read-only behavior for QAS Run the PT_SETQASADG Application Engine program on your database.
For example, from the DOS command line the syntax is:
<PS_HOME>\bin\client\winx86\psae -CD <dbname> -CT ORACLE -CO <userid> -CP <userpswd> -R RUN01 -AI PT_SETQASADG -I
Use the values for the database name and user ID that you entered on the startup tab of Configuration Manager for <dbname> and <userid> respectively. However, be aware that <userpswd> is not the same as the connect password you entered on the Configuration Manager startup tab. Enter a value for <userpswd> that is the password you want to be associated with the <userid>.
Disabling the Read-Only Behavior for Components that use ICQueryService
To disable routing of components that use ICQueryService to the standby database, modify the following line in the Database Options section of the Application Server configuration file:
;Disable ICQueryService Standby Routing=
Enable this line by removing the initial comment character (;) and setting the parameter value to 1. For example:
[Database Options]
;=========================================================================
; Database-specific configuration options
;=========================================================================
UseLocalOracleDB=0
;ORACLE_SID=
EnableDBMonitoring=1
PSDB Maximum Cursors=
Disable ICQueryService Standby Routing=1