Replication Log File Records

17-46 System Administrators Guide for Oracle Business Intelligence Enterprise Edition ConfigServerProperty Defines connection parameters for the Presentation Services SAWBridge server and the transport protocol. Its attributes are: Defines server name and value: Note: The settings that you use here are determined by whether the value for the transport protocol is set to use HTTP N or socket based TCP Y. ■ name - Defines the server name, for example: oracle.bi.presentation.url - when using HTTP protocol oracle.bi.presentation.sawservers - when using socket based TCP protocol. ■ value - Defines the server address, for example: http:localhostanalyticssaw.dll - when using HTTP protocol the mapping alias of SAWBridge servlet localhost:9710 - when using socket based TCP protocol. Defines the transport protocol name and value: ■ name - The transport protocol name, for example: oracle.bi.presentation.usesoaptcptransport ■ value - The transport protocol for connecting to the Presentation Services can be either of the following: N - Use HTTP protocol Default value. Y - Use socket based TCP protocol. ConfigFolderset Defines a list of catalog folders. Its only attribute is name, which you can set to the logical ID of the server or to all. FoldersetFolder Adds a folder to the folderset. Specifies the full path to the catalog folder. ConfigReplicationTask Defines the replication tasks. Its attributes are: ■ source. The name of the source computer. This must match the name of an instance that is defined in the Server element. ■ destination. The name of the destination computer. This must match the name of an instance that is defined in the Server element. ■ folders. The name of the folderset. This must match a folderset that is defined in a Folderset element. ■ lastPerformed. The timestamp of the last successful run of this task. The sawrepaj utility updates this value. ■ localChanges. Specifies whether changes made directly on the source computer are to be exported: true. Changes are to be exported. Default false. Changes are not to be exported. ■ remoteChanges. Specifies whether changes that were made on another server and that were replicated on the source server are to be reexported: true. Changes are to be re-exported. false. Changes are not to be re-exported. Default Table 17–5 Cont. Replication Agent Configuration Elements in config.xml Element Description Configuring and Managing the Oracle BI Presentation Catalog 17-47

17.12.5.3 Example config.xml File

The following is an example of the config.xml file: ?xml version=1.0 encoding=UTF-8? -- Oracle BI Presentation Services Replication Agent Configuration File -- -- replicate entire catalog from host1 to host2 -- Config General ExportDirectory\\host1\sharedExportDirectory LogExpiresHours48LogExpiresHours General Server name=1 user=admin1user pwd=admin1password Property name= oracle.bi.presentation.url value =http:host1.com:portanalyticssaw.dll Property name=oracle.bi.presentation.usesoaptcptransport value=N Server Server name=2 user=admin2user pwd=admin2password Property name=oracle.bi.presentation.sawservers value =localhost:10712 Property name=oracle.bi.presentation.usesoaptcptransport value=Y Server Folderset name=all FolderFolder Folderset ReplicationTask destination=2 source=1 folders=all Config

17.12.6 Editing the instanceconfig.xml File for Replication

For each instance of Presentation Services that contains a catalog to replicate, you must edit the instanceconfig.xml file for the following: ■ Enable replication. By default, the replication functionality is disabled for instances of Presentation Services. ■ Configure replication for a clustered environment. In a clustered environment, several instances of Presentation Services can share the same Oracle BI Presentation Catalog. For replication to work properly, you must: – Ensure that each instance of Presentation Services writes to its own log file to avoid concurrency issues. – Ensure that changes made by all instances are taken into account during import and export operations. ■ Specify the number of records to be kept in a replication log file. ■ Specify the time period in hours from which replication log files are to be read for replication operations. The following procedure provides information about configuration changes that you can make for replication. Before you begin this procedure, ensure that you are familiar with the information in Section 3.4, Using a Text Editor to Update Configuration Settings. To manually edit the settings for the replication of catalogs: