This topic describes how to configure log transfer parameters for a standby cluster.
In the primary cluster, run the following command to configure REDO_TRANSPORT_OPTIONS for a standby cluster.
Sample command:
obclient> ALTER SYSTEM MODIFY CLUSTER 'obcluster' CLUSTER_ID 3 SET REDO_TRANSPORT_OPTIONS = 'SYNC NET_TIMEOUT=30000000 ';
Notes:
The cluster name is
obcluster.The cluster ID is 3.
The transfer mode is
SYNC, andNET_TIMEOUTis 30s.SYNC/ASYNC: specifies the log transfer mode.SYNCindicates the synchronous mode, andASYNCindicates the asynchronous mode. The default value isASYNC.NET_TIMEOUT: specifies the timeout duration for the primary cluster to wait for a response from a standby cluster in SYNC mode when the protection mode is maximum availability. If no response is received after the timeout duration is elapsed, the primary cluster is automatically downgraded to the ASYNC mode.NET_TIMEOUTis meaningless in other modes.
You can query the log transfer parameters of a cluster in the following ways:
Query the
V$OB_STANDBY_STATUSview of the primary cluster to view the log transfer parameters of each standby cluster.obclient> SELECT CLUSTER_ID, REDO_TRANSPORT_OPTIONS FROM V$OB_STANDBY_STATUS;Query the
V$OB_CLUSTERview of a cluster to view its log transfer parameters.obclient> SELECT CLUSTER_ID, REDO_TRANSPORT_OPTIONS FROM V$OB_CLUSTER;