Certain best practices can be used when setting up replication.
Note: |
The Volume Replicator Advisor (VRAdvisor), a tool to collect and analyze samples of data, can help you determine the optimal size of the Replicator Log. |
Some best practices regarding setting up replication are as follows:
Create the Primary data volumes with drive letters. Plan the size and layout of the data volumes based on the requirement of your application. You must configure the Primary and Secondary data volumes with the same name.
If you create the Replicator Log volume manually, then make sure that you do not assign a drive letter to the Replicator Log volume. Veritas recommends that you create the Replicator Log volume as a mirrored volume. For better performance, Replicator Log should be a mirrored-striped volume.
To improve write performance configure the data volumes and the Replicator Log volume on different physical disks.
Veritas recommends that you create a Replicator Log volume of the same size on the Primary and Secondary. Size the Replicator Log appropriately to avoid overflow.
As Volume Replicator uses Replicator Log volumes, Veritas recommends that you do not format these volumes with any file system. When a volume is assigned for use as a Replicator Log volume, the existing file system and data is lost.
Plan the bandwidth of the network to be used, based on your requirement.
You can choose to use either the UDP, TCP, or STORAGE protocol for network communication between the Primary and Secondary during replication. You can use the STORAGE protocol only for a Bunker Secondary if the storage on the Bunker Secondary is visible from the Primary host.
Make sure that the Secondary volumes are not formatted and no other application uses these volumes. If you use these volumes for replication, all the original data on these volumes is lost.
Avoid using RDS and RVG names with special characters with the exception of the hyphen (-) or an underscore (_). The names can have a maximum of 31 characters and can begin with a hyphen (-) or underscore (_) character.
If you want to replicate encapsulated volumes, ensure that the volume names and sizes on the Secondary are the same as the corresponding volume names and sizes on the Primary. The volume name is auto generated while encapsulating the volume.