Add Protection Policy to Replication Server

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/zdlra/{raId}/replicationServers/{repServerName}/protectionPolicies/{policyName}

Add a protection policy to the the replication server on a Recovery Appliance. If necessary for replication to function properly, add protected databases that are in the upstream policy, but not in a downstream policy, to either an existing or newly created downstream policy.

Request

Path Parameters
Header Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Parameter to identify the protection policies to be added to the Replication Server
Show Source
Nested Schema : protectionPolicies
Type: array
List of protection policies to be added to the Replication Server
Show Source
Nested Schema : AddPolicyToReplicationServerDetails
Type: object
Parameters for the Add Protection Policy to Replication Server API.
Show Source
  • Recovery Window Goal of the downstream policy to be created (only if useExistingDsPolicy is false). Value is in ISO 8601 duration format. Examples - P2D (2 days), PT3H (3 hours), PT78M (78 minutes), PT345S (345 seconds)
    Example: P3D
  • Name of downstream protection policy that databases should be added to (either an existing or to be created policy on the downstream).
    Example: GOLD_DOWNSTREAM
  • Administrator credential for the downstream Recovery Appliance
    Example: NAMED:NC_RA_DOWNSTREAM
  • Downstream Recovery Appliance database name.
    Example: DB_DOWNSTREAM
  • Downstream Recovery Appliance name.
    Example: RA_DOWNSTREAM
  • Replication Server name on downstream Recovery Appliance. Value is only needed if enableTwoWayReplication is true.
    Example: DB_DOWNSTREAM_UNIQUENAME_DB_UPSTREAM_UNIQUENAME_REP
  • Database user name for a unique virtual private catalog user on the downstream Recovery Appliance to be granted permission to manage the replicated backups. This user will be granted access to each protected database enrolled with the downstream protection policy.
    Example: REPUSER_FROM_DB_UPSTREAM_UNIQUENAME_TO_DB_DOWNSTREAM_UNIQUENAME
  • An additional downstream VPC user that should be granted access to the protected databases in the downstream policy for backup and recovery purposes. This user is not the same as the replication user.
    Example: BACKUPUSER1
  • Default Value: false
    Indicates if two-way replication should be enabled, which means that the downstream protection policy will also be added to the downstream replication server which points to the upstream Recovery Appliance.
  • Allowed Values: [ "REPLICATION", "READ-ONLY", "REQUEST-ONLY" ]
    Mode to use when adding the protection policy to the replication server. Possible values are REPLICATION (default), READ-ONLY and REQUEST-ONLY.
  • Number of databases that need to be enrolled on downstream Recovery Appliance.
  • Allowed Values: [ "rac_database", "oracle_database" ]
    Recovery Appliance database type (rac_database for production, oracle_database for view based RAs)
  • Default Value: false
    Indicates if the initial replication is to be skipped (default is false).
  • Upstream Recovery Appliance database name.
    Example: DB_UPSTREAM
  • Database user name for a unique virtual private catalog user on the upstream Recovery Appliance who should be granted access to the protected databases in the upstream policy. Only needed if enableTwoWayReplication is true.
    Example: REPUSER_FROM_DB_DOWNSTREAM_UNIQUENAME_TO_DB_UPSTREAM_UNIQUENAME
  • Indicates if databases in the upstream protection policy that are not enrolled on the downstream Recovery Appliance should be added to an existing downstream policy. If false a new policy will be created on the downstream Recovery Appliance, and those databases will be added to it.
Back to Top

Response

Supported Media Types

202 Response

Accepted
Body ()
Root Schema : ReplicationServerDpSubmissionDetails
Type: object
Replication deployment procedure submission details.
Show Source

400 Response

Bad Request. The payload is null or missing some parameters
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized. The user does not have permissions to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error. Exception in execution of REST API.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable. The server is unable to process the request.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top