Configure RAC Infra Datasources

If you are using Model in Image and created a JRF domain that uses a RAC database as the infra database, the RCU datasources created during domain creation are generic. You must convert the generic datasources to Multi-Data source for WebLogic Enterpise Edition or Active GridLink (AGL) for WebLogic suite edition.

To identify whether a version uses the Model in Image source type, see the Supported Image column in Patches Included in Oracle WebLogic Server for OKE.

For WebLogic Enterprise Edition:

To use the RCU datasources template in /u01/scripts/pipeline/templates/ee_generic_to_mds.yaml file with the helper ee_rac_node_urls.sh script, complete the following steps:
  1. Go to the location: /u01/scripts/pipeline/helper-scripts/
  2. Run the ee_rac_node_urls.sh script.

    This displays the required URLs. URL1 for node1 and URL2 for node2.

  3. In the model template file, replace the placeholders from the script: "$(URL1)" with the value of URL1 and "$(URL2)".
  4. Run the update domain pipeline job by using the model template file.

For WebLogic Suite edition:

To use RCU datasources template in /u01/scripts/pipeline/templates/suite_generic_to_agl_datasource.yaml file with the helper rac_suite_scan_address.sh script and add scan address or port for OnsNodeList, complete the following steps:
  1. Go to the location: /u01/scripts/pipeline/helper-scripts/
  2. Run the rac_suite_scan_address.sh script.

    This displays the scan address of the RAC.

  3. In the model template file, replace the placeholders "$(scan_address)" with the output from the script.
  4. Run the update domain pipeline job by using the model template file.