Questions tagged [replication]

Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility.

Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility. It could be data replication if the same data is stored on multiple storage devices, or computation replication if the same computing task is executed many times. A computational task is typically replicated in space, i.e. executed on separate devices, or it could be replicated in time, if it is executed repeatedly on a single device.

The access to a replicated entity is typically uniform with access to a single, non-replicated entity. The replication itself should be transparent to an external user. Also, in a failure scenario, a failover of replicas is hidden as much as possible.

It is common to talk about active and passive replication in systems that replicate data or services. Active replication is performed by processing the same request at every replica. In passive replication, each single request is processed on a single replica and then its state is transferred to the other replicas. If at any time one master replica is designated to process all the requests, then we are talking about the primary-backup scheme (master-slave scheme) predominant in high-availability clusters. On the other side, if any replica processes a request and then distributes a new state, then this is a multi-primary scheme (called multi-master in the database field). In the multi-primary scheme, some form of distributed concurrency control must be used, such as distributed lock manager.

1036 questions
2
votes
2 answers

MySQL Replication Error

I recently updated my master server to 5.1.41 and noticed that the slave was no longer replicating. It was returning this erorr: 091208 12:53:31 [ERROR] Slave I/O: error connecting to master 'xxx@xxxxxxxx.com:3306' - retry-time: 10 retries: 86400,…
Ian
  • 335
  • 1
  • 3
  • 19
2
votes
0 answers

DRBD - Protocol A slower than B and C

I have a simple, not quite so simple question: why the heck is protocol A slower than B and C in my setup? I mean, I've been stuck on this for over a week now, tried "all" the configurations, played with max-buffers max-epoch-size, sndbuf-size,…
2
votes
6 answers

MySQL replication out of sync

I have a master-master replication system. However, due to an auto-increment issue, I got an error in replication...and it stopped replicating. Someone told me to do: stop slave; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; start slave; It didn't work.…
Alex
  • 8,471
  • 26
  • 75
  • 99
2
votes
1 answer

MongoDB on AWS (EBS): 3 replicas vs. 2 replicas + Arbiter

We have a fairly large Mongo DB running in AWS. Currently, we are running with a replica set with 3 instances. Each instance has 5TB of attached EBS storage. This comes out to over $1000/month per instance. On top of this, we have both a prod and…
herbrandson
  • 163
  • 5
2
votes
1 answer

mariadb replication over ssh tunnel

I'm trying to do mariadb replication over a ssh tunnel. Here is my config. First, I created a ssh tunnel from my replication server(R1) to my Master server (M1). ssh -L 13306:localhost:3306 -p 22111 admin@M1 -f -N Both the mariadb instances are…
2
votes
0 answers

AD Replication error: lingering objects in DomainDnsZones

I manage a small environment (single forest, single domain) with only two Ws2008 R2 DCs. Recently I started having replicationg issues from DC01 to DC02 due to lingering objects in naming context DC=DomainDnsZones, DC=mydomain, DC=com still existing…
howtired
  • 91
  • 1
  • 7
2
votes
3 answers

How to check DFSR or FRS for Sysvol Replication with Powershell?

I've been investigating how to check whether DFSR or FRS for Sysvol Replication is used with powershell. Here is my naive methods, I have tried to implement. Check if the DFS replication is installed PS C:> Get-WindowsFeature|where Displayname…
Ender
  • 614
  • 3
  • 9
  • 14
2
votes
1 answer

Hyper-V Replica from windows 2012 to windows 2008

My Customer has two hyper-v foc with san storage. one is built on windows 2008 datacenter and the new one is built on windows 2012 datacenter. can I make a hyper-v replica from a windows 2012 hyper-v to the old windows 2008 cluster, or do I have to…
2
votes
1 answer

Why are GlusterFS replicated volumes not recommended for Hosts in different datacenters?

Any tutorial I can find about GlusterFS replicated volumes assumes that both (all) bricks are on the same private network which then also leads to the conclusion they must be in the same datacenter. e.g. "The problem is when the storage you would…
Chris
  • 76
  • 2
  • 6
2
votes
1 answer

Changing Recovery Model in Replicated Database

I now am the proud owner of two servers that replicate with each other. I had nothing to do with the install, but (of course), now i have to support the databases. Both databases are in the Simple recovery model, but the users want to ensure as…
Rob
  • 201
  • 1
  • 7
2
votes
0 answers

Dovecot dsync replication setup

I'm using dovecot with master/master replication using dsync, and I did the setup as described on https://wiki.dovecot.org/Replication What is total unclear to me, and I could not figure it out until now. Do I have to setup the replication in both…
holger81
  • 21
  • 1
2
votes
0 answers

Postgres-Repmgr node is marked as inactive after reboot

I'm using using a cluster with 2 psql servers. I'm using repmgr to manage replication and failover. Replication works fine, and when my master fail, the standby takes the lead. My problem is when I try to reup master as a slave. I use this…
2
votes
1 answer

MongoDB Active-Active Multiple Datacenters

I am looking for a method to configure MongoDB servers across 2 different datacenters where they remain in an active-active configuration. Site A is the normal Production environment that customers access and all writes are sent here, but all data…
Eroji
  • 203
  • 2
  • 5
  • 8
2
votes
2 answers

FSMO-owner not replicating

I have an Active Directory with 6 DCs, where the newly added DC02 is not replicating. It's a mixed environment from Windows 2003 It is also the owner of PDC, RID and Infrastructure roles. Now I'm wondering what the best way to move forward is. The…
jcrossbeam
  • 260
  • 2
  • 13
2
votes
0 answers

Server 2012 replication error

I have 2 Windows 2012 DCs (DC1 and DC2). From DC2 replication works while from DC1 I keep getting the error "replication error rpc server is unavailable. I'm attempting to do this from Active Directory Sites and Services. DNS functions correctly and…