Guidance for Replication Configuration
The letter tasks in this section are intended for guidance only. They were most likely completed already, but are provided here as a refresher and to be complete, because they are necessary for proper replication configuation.
(Guidance only) Task A: Create a Virtual Private Catalog (VPC) account
Note:
This task is offered as guidance only to show how the VPC user relates to replication. VPC user creation is typically not part of the replication setup, because the VPC user creation is already completed during the initial database onboarding to the Recovery Appliance.
RMAN must connect to the Recovery Appliance catalog when backing up to a Recovery Appliance.
Note:
You can also use existing VPC users.
The requirements of the VPC user password are:
- At least 15 characters in total
- At least 1 lower case letter
- At least 1 upper case letter
- At least 1 number
- At least 1 special character
For example: Welcome*123456789
In this step, you create a Virtual Private Catalog (VPC) user for a specific protected database or set of protected databases.
For one-way and two-way replication. Run from the upstream RA1:
racli add db_user --user_name=<REPL_VPC_USER> --user_type=vpc Additionally for two-way replication. Run from the downstream RA2 with a different user name:
racli add db_user --user_name=<REPL_VPC_USER2> --user_type=vpc racli list db_user
(Guidance only) Task B: Create protection policy.
A protection policy needs to exist on both the upstream and downstream Recovery Appliances. The upstream and downstream protection policies are independent. Four (4) default protection policies available for use.
If a suitable protection policy does not exist, create one appropriate for the replication. If this is one-way replication, create this protection policy on the upstream Recovery Appliance.
If this is two-way replication setup, run the same command on both Recovery Appliances Policy names do not need to be identical; they can be the same or different. Each Recovery Appliance operates independently.
racli create protection_policy --protection_policy_name=YOUR_POLICY
--storage_location_name=<YOURLOC> --recovery_window_goal=11day --autotune_reserved_space=YESRefer to racli create protection_policy for other appropriate arguments.