ディザスタ・リカバリのためのリージョン間Autonomous Data GuardでのATPデータベースの使用
Oracle Autonomous Databaseのリージョン間Autonomous Data Guard機能は、データベースのデータ保護とディザスタ・リカバリを提供します。
ATPでクロス・リージョン・スタンバイ・データベースでAutonomous Data Guardを有効にすると、プライマリ・データベースとスタンバイ・データベースの両方のホスト名を含む単一の接続文字列を使用して、新しいATPウォレットを手動で構築できます。 このようにして、スタンバイATPデータベースにフェイルオーバーすると、Visual Builderは自動的に再試行され、スタンバイ・リージョンのATPに接続され、その後アクティブ・データベースになります。
プライマリとリモートの両方のデータベース接続文字列を含むウォレットを手動で構築する方法の詳細は、「クロス・リージョンAutonomous Data Guardに関するノート」を参照してください。
プライマリ・ホスト名とスタンバイ・ホスト名を識別するウォレット内のデータベース接続文字列は次のようになります:
atpsample_tp = (description_list=
(failover=on) (load_balance=off)
(description= (retry_count=5)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.us-ashburn-1.oraclecloud.com))(connect_data=(service_name=g0de0f6e24ce255_atpsample_tp_tp.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))
(description= (retry_count=5)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.ca-montreal-1.oraclecloud.com))(connect_data=(service_name=g0de0f6e24ce255_atpsample_tp_tp.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes))))ノート:
接続文字列を構築する場合は、デフォルトの「20」ではなく、retry_countを「5」に変更します。