Time for action – configuring FCF for JDBC connections

Let's see an example of how we can configure FCF for JDBC clients.

  1. In order to run FCF as we configured it, we need to create database services where TAF or aq_ha_notifications is disabled. As we discussed, in 11gR2, it's possible to create role-specific database services so that service is automatically enabled or disabled whenever there is a role change. The following statements can be run on the primary and standby clusters to create a database service for a production service OLTP:
    • For the primary cluster, use the following:
      srvctl add service -d ORCL_PRIM -s OLTP -r prim_node1,prim_node2 -l PRIMARY -q FALSE -e NONE -m NONE -w 0 -z 0
    • For the standby cluster, use the following:
      srvctl add service ...

Get Oracle Data Guard 11gR2 Administration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.