Storage Policy Based Management and Replication
A new set of rules have been introduced to the ”DataCore.SANsymphonyV2 rules” ruleset to support the virtual volume (vVol) replication. These rules appear in the new “Replication” tab that is accessible from Create VM Storage Policy > DataCore.SANsymphonyV2 rules > Replication > Custom > Replication Settings in the vCenter.
To enable replication support, two rules must be specified in a policy:
- Target Site (FQDN) – Fully qualified domain names of the replication partner site where the vVols will be replicated.
- Target Storage Container – Name of the Storage Container (Virtual Disk Template) belonging to the target site.
The Target Site must be same as the First DataCore Server in the corresponding Target Storage Container (or Virtual Disk Template) to ensure that the virtual machines are compliant.
When a virtual machine (VM) is created using a policy that contains the replication rules, DataCore VASA Provider creates the vVols on both current and target sites and enables replication between them.
Example: Combinations
Four combinations are possible based on the two rules mentioned above.
Refer to the policies and the associated table mentioned below that explains the possible combinations and the expected behavior when these policies are applied.
The policies mentioned below are examples only.
- P0 - No Replication
- P1 - {Target-Site - S1, Target-Container - C11}
- P2 - {Target-Site - S1, Target-Container - C12}
- P3 - {Target-Site - S2, Target-Container - C21}
Existing VM Policy | New VM Policy | Expected Behavior |
---|---|---|
P0 |
P1/P2/P3 |
Creates vVols at the target site in the target container and sets up replication. |
P1 | P0 | Removes replication and deletes the target vVols. |
P1 | P2 | If the target container C12 has a different pool than C11, then the replication will be destroyed and the target vVols will be deleted. After that, a new set of vVols will be created in the pool specified in C12 and replication will be reconfigured. |
P1 | P3 | First, the replication will be destroyed and the target vVols will be deleted at site S1. Then a new set of vVols will be created in site S2 and replication will be reconfigured. |
Also see: