The protection of virtual machines in VMware vCenter Site Recovery Manager (SRM) is based on whether these machines are associated with any of the datastore groups that SRM calculates. These datastore groups may contain VMFS LUNs and/or RDM LUNs and are calculated based on what file resources the virtual machines are configured to use. These resources could be VMDK disk files, floppy disk images, CD-ROM/DVD-ROM images, or RDM LUNs. Datastore groups are also known in the SRM terminology as LUN groups.
In SRM, each and every datastore group that is calculated can only be associated with one array replication pair. That is, a datastore group can only contain LUNs from the same array replication pair.
Based on the replication example in the Purpose section of this article, SRM may calculate the following datastore groups. The actual datastore groups that SRM calculates may be less than these depending on what file resources a given virtual machine uses.
These are possible datastore groups that SRM can build:
- Datastore groups associated with array replication pair: Array-1 ---> Array-1R
-
-
Datastore groups associated with array pair: Array-2 ---> Array-2R
-
-
DS-group-4: Containing LUN-3 only
-
DS-group-5: Containing LUN-4 only
SRM builds these two datastore groups if both of these conditions apply:
-
-
Virtual machines that use resources on LUN-3 do not use any resources from LUN-4.
-
Virtual machines that use resources on LUN-4 do not use any resources from LUN-3.
-
These virtual machines should not be using any resources from any other LUNs that are associated with any other array replication pairs.
-
DS-group-6: Containing both LUN-3 and LUN-4
SRM builds this datastore group if this condition applies:
-
-
Datastore groups associated with array pair: Array-1 ---> Array-2R
-
-
Datastore groups associated with array pair: Array-2 ---> Array-1R
-
To know if a virtual machine can be protected SRM, all file resources used by that virtual machine must be located on LUNs that:
If any of the three conditions are not met, SRM report that it cannot protect this virtual machine because one or more file resources it is using is not replicated. Even if the LUNs are replicated, if the other two conditions are not met, SRM still report the same error message and the virtual machine shows in SRM as Not Protected.
These scenarios illustrate where a virtual machine cannot be protected by SRM even though all file resources that are used by that virtual machine are located on or more LUNs that are all replicated.
Scenario #1
A virtual machine uses a resource from LUN-1 (or LUN-2) and another resource from LUN-3 (or LUN-4).
SRM cannot protect this virtual machine because some file resources used by this virtual machine are associated with one array pair (array pair Array-1 --> Array-1R for LUN-1 or LUN-2), while the other file resource is associated with another array replication pair (Array-2 --> Array-2R for LUN-3 or LUN-4).
In this case, SRM tries to combine LUN-1, LUN-2, LUN-3, and LUN-4 into the same datastore group but it cannot since there are two array replication pairs involved.
Scenario #2
A virtual machine uses a resource from LUN-3 (or LUN-4) and uses LUN-5 as an RDM.
SRM cannot protect this virtual machine because some file resources used by this virtual machine are associated with one array pair (array pair Array-2 --> Array-2R for LUN-3 or LUN-4), while the other file resource (LUN-5) is associated with another array replication pair (Array-1 --> Array-2R).
In this case, SRM tries to combine LUN-3, LUN-4, and LUN-5 into the same datastore group but it cannot since the there are two array replication pairs involved.
Scenario #3
A virtual machine uses a resource from LUN-1 (or LUN-2) and uses LUN-6 as an RDM.
This is similar to Scenario #2. This virtual machine cannot be protected.
Scenario #4
A virtual machine uses a resource from LUN-1 (or LUN-2), other resources from LUN-3 (or LUN-4) and uses LUN-5 as an RDM.
This is a combination of Scenario #1 and Scenario #2. This virtual machine cannot be protected.
Scenario #5
A virtual machine uses LUN-5 as an RDM and also LUN-6 as another RDM.
This virtual machine cannot be protected because LUN-5 and LUN-6 do not belong to the same datastore group and because they are associated with two separate array replication pairs.