ADD_REPLICATION_SERVER

This procedure adds the specified replication server configuration to the specified protection policy. After the operation succeeds, the Recovery Appliance replicates backups of databases protected by this policy to the downstream Recovery Appliance.

See CREATE_REPLICATION_SERVER.

Syntax

PROCEDURE add_replication_server (
   replication_server_name IN VARCHAR2,
   protection_policy_name IN VARCHAR2
   skip_initial_replication IN BOOLEAN DEFAULT FALSE,
   read_only IN BOOLEAN DEFAULT FALSE,
   request_only IN BOOLEAN DEFAULT FALSE
   copyall_backups IN BOOLEAN DEFAULT FALSE,
   comments IN VARCHAR2 DEFAULT NULL);

Parameters

Table 21-5 ADD_REPLICATION_SERVER Parameters

Parameter Description

replication_server_name

The name of the replication server configuration to associate with the protection policy.

protection_policy_name

The name of the protection policy to associate with the replication server configuration.

skip_initial_replication

If set to TRUE, initial replication is skipped.

read_only

The setting that controls replication behavior to a downstream Recovery Appliance.

If TRUE, then the Recovery Appliance treats the downstream replication server as a read only device. Specifically, backups are not replicated to the downstream replication server. Backups that exist on the downstream are restorable through the upstream Recovery Appliance.

If FALSE or not specified, then the Recovery Appliance does the normal initial replication.

request_only

When adding a replication server to a protection polity with request_only set to TRUE, backups are not replicated to the downstream replication server. At startup time of the local Recovery Appliance, a calculation is made to determine which backups exist on the remote Recover Appliance and not locally. Those backups that exist remotely are requested to be sent from the downstream to the local Recovery Appliance. This feature requires that the two Recovery Appliances are paired with each other.

If FALSE or not specified, the Recovery Appliance does normal replication.

copyall_backups

When adding a replication server to a protection policy with copyall_backups set to TRUE, all backups for each of the databases are chosen for initial replication to the downstream Recovery Appliance. If set to FALSE the most recent level 0 including archivelogs and control files are replicated.

comments

Optional user supplied comment describing reason for executing this command.