Managing Storage Replica
Storage Replica (SR) is a feature of Windows Server 2019 that replicates storage volumes to other systems. SR is only available with the Windows Server 2019 Datacentre edition.
Getting ready
This recipe makes use of additional disk volumes on SRV1
and SRV2
. In the Managing physical disks and disk volumes recipe, you added two additional disks to SRV1
. In this recipe, you need to have two additional disks added to SRV2
that form the basis for storage replication. This recipe requires two additional hard disks for SRV2
—you can use the Add-DiskstoSrv1+2.ps1
script to create the disks used in this and other recipes in this chapter. You can find the script on this book's GitHub repository (https://github.com/DoctorDNS/PowerShellCookBook2019/blob/master/Chapter%2004%20-%20Managing%20Storage/Add-DiskstoSRV1%2B2.ps1).
Run this recipe on SRV1
with SRV2
and DC1
online:
- Create content on the
F:
drive inSRV1
:1..100 | ForEach { $NF = "F:\CoolFolder$_" ...