Installation and configuration of replica storage

Intro

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.


How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!



Related Posts


Starwind: setting up a highly available storage
StarWind Virtual SAN is software that turns Windows into an iSCSI target server. The advantage of StarWind is that it can be used to put the storage in high availability by installing two StarWind servers, because this is managed at the software leve

ISCSI target role
The iSCSI target role turns your server into a storage array by creating virtual disks (vhdx) and presenting them to another server using the network. Prerequisites At least two servers: a target server, which will present the volume (s). an initiato

QNAP: add a shared folder
In this tutorial, we will see how to create a shared folder with a QNAP NAS and access it from Windows. Creating the shared folder 1. Go to the administration interface and open Control Panel << 1 >>. 2. In the Privilege << 1 >

Leave a Comment