Installation and configuration of replica storage

Storage replication (storage replica) is a feature that comes with Windows Server 2016 that lets you replicate a volume to another server. To work the feature requires two volumes per server. The first for storing data and the second for logs.

Storage replica

 

Storage replica works on the principle Active / Passive. The data is accessible only from the source node, on the destination it is not possible to access the same disk connect locally on the server.

It is possible to reverse the direction of replication in case of failover.

There are two modes of replication:

  • Synchronous: when writing a data it is done simultaneously on both servers, the acknowledgment of the writing of the data must be made on both servers.
1. The application writes data
2. The log data is written and the data is replicated to the remote site
3. The log data is written to the remote site
4. Acknowledgment of receipt of the remote site
5. Receipt of confirmed application writingt& t1: data emptied on the volume, logs always written continuously

Source Microsoft

  • Asynchronous: the data is initially written to the source server and then to the replication server.
1. The application writes data
2. Journal data written
3. Receipt of confirmed application writing
4. Replicated data at the remote site
5. Log data written on the remote site
6. Acknowledgment of reception of the remote site
t& t1: data emptied on the volume, newspapers always written continuously

Source Microsoft

Prerequisites

To put in the functionality it is necessary:

  • Two Windows 2016/2019 servers with:
    • Fixed ip address
    • Member of the same domain
    • A partition for the data
    • A partition for logs in production predict 10GB
  • Make sure the hosts contact each other by their NETBIOS name
  • Open Port Communication 445/5445

servers

Disks

In order to ease server administration for role installation, I added both servers in the domain controller’s server manager.



Related Posts


Installing and Configuring Storage Spaces Direct (S2D) on 2 VMs

In this article, we will see how to set up Storage Spaces Direct under two VMs. S2D is the solution hyperconverged of Microcrost arrival with Windows Server 2016. I also took advantage of this lab to

Create a raid 1 with Windows

In this tutorial, I will explain how to create a RAID 1 on Windows with Disk Manager. I have personally used this technique on several occasions both on my personal computers and on backup servers to

Configure a SAN disk on Windows

Introduction In this tutorial, we will see how to configure a SAN-type disk to present to a Windows server. SAN type disks are LUNs / Volume that are presented in FC / iSCSI / SAS. They are often host

Scroll to Top