5.11 Configuring Shared SCAN for Oracle Grid Infrastructure

Follow this procedure to share the same SCAN among multiple clusters, so that only one of these clusters runs the SCAN listeners, and databases of all clusters can use the SCAN-VIPs of this cluster for all of their database connections.

  1. To configure shared SCAN for an Oracle Member Cluster:
    1. Log into the Oracle Domain Services Cluster as root user, and run the following command:
      srvctl add scan_listener -clientcluster cluster_name
      srvctl export scan_listener -clientcluster cluster_name -clientdata cluster_manifest_file_name
      srvctl add ons -clientcluster cluster_name
      srvctl export ons -clientcluster cluster_name -clientdata cluster_manifest_file_name
      srvctl start scan_listener -clientcluster cluster_name
    2. Run the Oracle Grid Infrastructure installer and install Oracle Member Cluster. Use the Member Cluster Manifest file with shared SCAN details created earlier to configure this Oracle Member Cluster with shared SCAN.
  2. To configure shared SCAN for an Oracle Standalone Cluster:
    1. Log in as root user to the Oracle Standalone Cluster which has a local SCAN configured, and run the following command:
      srvctl add scan_listener -clientcluster cluster_name
      srvctl export scan_listener -clientcluster cluster_name -clientdata scan_filename
      srvctl add ons -clientcluster cluster_name
      srvctl export ons -clientcluster cluster_name -clientdata scan_filename
      srvctl start scan_listener -clientcluster cluster_name
    2. Run the Oracle Grid Infrastructure installer and install the Oracle Standalone Cluster. Use the shared SCAN file created earlier to configure this Oracle Standalone Cluster with shared SCAN.