Once the VASA providers are registered and the vVol datastores are mounted, the next step is to create one or more replication-based storage policies.
In order for VMware to recognize that a virtual machine is replicated, it must be assigned to a storage policy that indicates replication is enabled. When a replication-based storage policy is assigned to that VM, a replication group can be chosen to ensure proper consistency protection on the target FlashArrays.
To create a policy, click on the top menu and choose Policies and Profiles.
Choose VM Storage Policies and then Create VM Storage Policy:
Select one of the two vCenters and enter a name that expresses the policy contents in a meaningful way. It is useful to remember that a storage policy does not have a 1:1 mapping to replication groups: any replication group that matches the policy is valid to be used for a VM with that policy. The more specific you make the policy, the less replication groups will be matched. VMware refers to matching replication groups as compliant.
Click Next. Now choose the option "Enable rules for "com.purestorage.storage.policy" storage":
Under placement, choose at least one rule.
If the goal is to make this policy valid for any FlashArray, choose Everpure FlashArray and set it to true.
If the goal is to make this policy specific to one or more FlashArrays, choose FlashArray Group and enter in each FlashArray it should be valid for. In this case it will only be valid for the FlashArray local to vCenter-01, flasharray-m50-1.
Click on the Replication tab and choose Custom. Then click on Add Rule.
Here is where there is a lot of flexibility. At a minimum, one rule must be chosen.
Be as specific as needed-just remember that the target FlashArray must have a protection group that exactly matches the features chosen. For this example, Replication Capable was chosen and a target site of flasharray-m50-2 was selected.
This policy will then ensure that: