Choosing a WebLogic Server Configuration for Use with Oracle RAC Validating Connections when using WebLogic Server with Oracle RAC Additional Considerations When Using WebLogic Server with Oracle RAC

Using WebLogic Server with Oracle RAC 11-3

11.4.3 Shared Storage

In an Oracle RAC configuration, all data files, control files, and parameter files are shared for use by all Oracle RAC instances. An HA storage solution that uses one of the following architectures is recommended: ■ Direct Attached Storage DAS, such as a dual ported disk array or a Storage Area Network SAN ■ Network Attached Storage NAS For a complete list of supported storage solutions, see your Oracle documentation.

11.5 Configuration Options in WebLogic Server with Oracle RAC

When using WebLogic Server with Oracle RAC, you must configure your WebLogic Domain so that it can interact with Oracle RAC instances and so that it performs as expected. The following sections describe configuration options and requirements: ■ Section 11.5.1, Choosing a WebLogic Server Configuration for Use with Oracle RAC ■ Section 11.5.2, Validating Connections when using WebLogic Server with Oracle RAC ■ Section 11.5.3, Additional Considerations When Using WebLogic Server with Oracle RAC

11.5.1 Choosing a WebLogic Server Configuration for Use with Oracle RAC

Consider the following alternatives: ■ Using GridLink data sources, see Oracle® Fusion Middleware Licensing Information. ■ To connect to multiple Oracle RAC 10g or Oracle RAC 11g instances when using global transactions XA, Oracle recommends the use of transaction-aware WebLogic JDBC multi data sources, which support failover and load balancing, to connect to the Oracle RAC nodes. For more information see Section B.6, Using Multi Data Sources with Global Transactions. ■ To connect to multiple Oracle RAC 10g or Oracle RAC 11g instances when not using XA, Oracle recommends the use of non-transaction-aware multi data sources to connect to the Oracle RAC nodes. Use the standard multi data source configuration, which supports failover and load balancing. For more information see Section B.7, Using Multi Data Sources without Global Transactions. The following table may help you as you try to determine which configuration is right for your particular application: Table 11–1 Choosing Configurations to Use with Oracle RAC Requires Load Balancing? Requires Failover? Requires Global Transactions XA? Uses Oracle RAC Services See... Yes Yes Yes Yes Section 4, Using GridLink Data Sources Yes Yes Yes No Section B.6, Using Multi Data Sources with Global Transactions 11-4 Oracle Fusion Middleware Configuring and Managing JDBC Data Sources for Oracle WebLogic Server

11.5.2 Validating Connections when using WebLogic Server with Oracle RAC

Applications can use the JDBC 4.0 Connection.isValid API to verify connection viability.

11.5.3 Additional Considerations When Using WebLogic Server with Oracle RAC

Dynamic Transaction Processing DTP is not supported to coordinate transactions when using GridLink Data Sources or multi data sources with Oracle RAC. Yes Yes Yes Yes Section B.8, Configuring Connections to Services on Oracle RAC Nodes. Yes Yes No Yes Section B.8, Configuring Connections to Services on Oracle RAC Nodes. Yes Yes No No Section B.7, Using Multi Data Sources without Global Transactions Note: WebLogic Server does not support oracle.ucp.jdbc.ValidConnection.isValid or oracle.ucp.jdbc.ValidConnection.setInvalid . Table 11–1 Cont. Choosing Configurations to Use with Oracle RAC Requires Load Balancing? Requires Failover? Requires Global Transactions XA? Uses Oracle RAC Services See... 12 Using JDBC Drivers with WebLogic Server 12-1 12 Using JDBC Drivers with WebLogic Server WebLogic Server works with JDBC drivers that offer the following functionality: ■ Are thread-safe ■ Can implement transactions using standard JDBC statements JDBC drivers that do not implement Serializable or Remote interfaces cannot pass objects to a remote client application. This section describes how to set up and use JDBC drivers with WebLogic Server. It includes the following sections: ■ Section 12.1, JDBC Drivers Installed with WebLogic Server