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


Storage Pool Configuration on Windows Server

Storage Pool Overview A storage pool in Windows Server eliminates the need for a raid configuration at the physical level of the server and manages it directly in Windows. It is possible to manage the

QNAP : volume configuration

Introduction When provisioning a NAS, the first step is to create one or more volumes with the disks installed in it. NAS QNAP offers two types of volumes: Volume based on a pool of disks. Volume on r

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 ser