Oracle RTD Component Characteristics

15-102 Oracle Fusion Middleware High Availability Guide Models are associated at design time with a Choice Group. This defines the list of Choices to which prediction and reports apply. Decision Center Workbench Services, which supports the deployment of Inline Services by Decision Server, also provides the Decision Center web interface. Decision Center displays the structure and decisioning history of Inline Services. Business users use Decision Center to view reports about the effectiveness of their analytical models and to tune their hosting Inline Services. Decision Center interacts with the Learning Server to query the contents of the Learning Models. Learning Services Learning records are created when an Inline Service session closes. Learning records are batched in memory configurable and queued to be stored in the Oracle RTD database. This is done for performance reasons - to minimize the number of database transactions required to store learning records in the Oracle RTD database. By default, Oracle RTD buffers 100 records, with a queue for 50 buffers. A worker thread is responsible for writing learning records to the Oracle RTD database. Learning Services awakens periodically and: ■ Reads learning records from the database ■ Generates new predictive models Each predictive model is associated with a specific Inline Service. Therefore, an Inline Service is only affected when it has a new predictive model. All Inline Services are isolated from updates to another Inline Service’s models. Predictive models are propagated to the Decision Server. Each Decision Server frequently polls the Oracle RTD database for new predictive models. When a new predictive model is found, it is loaded into memory. Decision Studio, RTD Clients and Tools Decision Studio is an Eclipse based development environment for developing Oracle RTD Inline Services. Decision Studio is also used to deploy and download an Inline Service from an Oracle RTD Server through the Oracle RTD Workbench Services web service. Oracle RTD provides a number of client components that make it easier to integrate with Oracle RTD Decision Server. For example, Oracle RTD provides a Java client that provides a wrapper for Oracle RTD web service calls, caches default result sets on the client side, and provides default responses when the Oracle RTD server is not responding. For more information on Oracle RTD client tools, refer to the Oracle Fusion Middleware Platform Developers Guide for Oracle Real-Time Decisions. Administration of Oracle RTD Oracle Enterprise Manager Fusion Middleware Control is used to configure Oracle RTD single instance and cluster-wide attributes.

15.3.1.1 Oracle RTD Component Characteristics

This section describes the Oracle RTD component characteristics. Configuring High Availability for Oracle Business Intelligence and EPM 15-103 The Oracle RTD Server and its components are Java or web based components. They run either within the Java or web container. Communication between Decision Studio and Oracle RTD clients with the Oracle RTD Server is through a number of web services. Oracle RTD manages session information locally and does not rely on a web server for session management. This is because Oracle RTD requires long running sessions to complete a business process vs the typical session associated with a web application. A single Decision Server session might receive requests from several HTTP sessions from different client servers. An Oracle RTD session can be fast, or it can last several hours, days or weeks. If a server fails, the request will be directed to another server and a new session will be created. For the most part, session information is read from an external data source or calculated. These values will be reread or recalculated on a new session. Oracle RTD uses session information to calculate likelihood and not for storing state of a business transaction this is delegated to a transactionaloperational system. Therefore, the loss of session information does not adversely impact a business process.

15.3.1.1.1 Component Lifecycle Oracle RTD is managed through Oracle Enterprise

Manager Fusion Middleware Control. The Fusion Middleware Control is used to start, stop, undeploy, deploy, and monitor Oracle RTD services.

15.3.1.1.2 Process Flow The process flow for Oracle RTD is:

1. A call is made by an external application to an Oracle RTD integration point. 2. The request is sent to the Oracle RTD’s Decision Service web service, which is authenticated by Oracle Web Services Manager before the Decision Service serves the request. 3. The request is then forwarded to the targeted Inline Service and the target informant or advisor within the Inline Service. 4. Informant processing includes executing rules, executing functions, accessing entities, and creating learning records. 5. Advisor processing includes executing decisions, executing rules, executing functions for eligibility filtering, accessing entities, and returning a list of eligible choices.

15.3.1.1.3 External Dependencies Configuration information for Oracle RTD is

self-contained and stored in its own database schema. However, an Inline Service can load its entities or external rules from external data sources.

15.3.1.1.4 Configuration Artifacts Configuration information is stored in the Oracle RTD

database, and it is updated using the Fusion Middleware Control. Data source configuration information is set using the Oracle WebLogic Server Administration Console.

15.3.1.1.5 Deployment Artifacts Oracle RTD Inline Services are created in Decision

Studio. Developers use the Decision Studio deployment facility to deploy an Inline Service. The Inline Service is packaged by Oracle RTD Studio and uploaded to an instance of Decision Server. The Decision Server stores all uploaded Inline Services to the Oracle RTD operational tables.

15.3.1.1.6 Log File Locations You can view Oracle RTD log files using Oracle Enterprise

Manager Fusion Middleware Control. To view the log files from the Oracle RTD home 15-104 Oracle Fusion Middleware High Availability Guide page, right-click the deployed Oracle RTD application in the navigator pane, and select Logs View Log Files . This displays the Log Messages screen, on which you can view the log files. For more information on viewing Oracle RTD log files, see Oracle Fusion Middleware Administrators Guide for Oracle Real-Time Decisions.

15.3.2 Oracle RTD High Availability Concepts