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
0
votes
1 answer

MariaDB Master-Master replication with 3 servers, no ports open on master

I want three MariaDB database servers, one master and two "slaves". I want to be able to read and write on every server, and have this replicated on the other servers. I read on the internet that this is called "master-master replication". Now I do…
0
votes
0 answers

PostgreSQL Subscribers and Publishers (Multi-Master Scenario)

I'm currently trying to develop a solution that would be trying to focus on Multi-Master Databases So here is how it's supposed to operate I want so that whenever an Agent makes a change to a database, changes are stored in the agent DB, and then…
0
votes
0 answers

MariaDB replication lagging up to a dozen times a day for no obvious reasons

We first set up MariaDB replication using less powerful servers but considering our increased database load we had to rent more powerful servers and that's when the troubles began. Right now the replication between the master and slave occasionally…
0
votes
0 answers

Hyper-V replication to Multiple servers

i have 2 hosts that have VM's running on them. i have been able to enable replication from host A and B to 1 replica. they are not on a domain and i have had to configure certificate based authentication. However i have now been asked to add a…
0
votes
1 answer

kubernetes - Running dovecot with serveral replicas

I am in the process of setting up an email server through kubernetes. I managed to get postfix up and running and now am trying to setup dovecot. As I am expecting a bit of traffic for dovecot I want to run several instances which all have to be…
realShadow
  • 71
  • 1
  • 10
0
votes
1 answer

mongo secondary node - weird log entries

I have mogodb cluster with 4 nodes, all nodes work on standard 27017 port. I found weird things in my mongod.log on a secondary node: {"t":{"$date":"2022-03-26T23:22:34.593+03:00"},"s":"I", "c":"NETWORK", "id":22944, …
Antonio
  • 169
  • 1
  • 11
0
votes
1 answer

MySQL 8 replication via non-ssl connecion

I'm trying to setup tiny master-slave environment with percona-server-server.x86_64-8.0.27-18.1.el8. A plan is to use non-ssl connections between the nodes as the servers will communicate in the LAN only. But following error is received on…
varas
  • 1
0
votes
0 answers

Replicating filesystem Samba and Windows

I'm looking for a way to create a replicating filesystem between Samba and Windows. I thought that DFSR would be the answer but Samba doesn't support SYSVOL replication. I also looked at syncthing but it seemed somewhat resource intensive, because…
0
votes
1 answer

Stretch Cluster File Server with Storage Replica - Partnership not reversing on failure simulation

First off, sorry if this is the wrong place to post this. I have a Storage Replica setup running in a MSCS Stretch Cluster configuration, two sets of two VMs with each set running on a separate ESXi host, acting as a File Server. Each set has two…
0
votes
1 answer

How to send a single parent ZFS filesystem snapshot and all its descendents' same snapshot to a new pool?

If we zfs snapshot -r tank@20220129, all sub-filesystems also get that snapshot. How to send that single snapshot of tank with all sub-fs's to a new pool (no historical base of snapshots)? While zfs send -R tank@20220129 will send all sub-fs's, it…
math
  • 230
  • 2
  • 9
0
votes
1 answer

openldap master/slave replication configuration return TLS error from slave

I am trying to add a TLS secured replication between a master and a slave ldap server. The replication without TLS work well. I encounter this error from the slave : slapd_client_connect: URI=ldap://master.domain.com Error, ldap_start_tls failed…
user161458
  • 21
  • 5
0
votes
1 answer

Two PDCs, two ADs, two domains - how to replicate one domain/AD to the other?

Here's the history: SERVER2 was a 2016 Essentials Edition server, standalone with no other DCs. The OS became corrupted in a few areas, and so a decision was made to replace it. A standalone clean install wasn't an option, as applications running on…
InteXX
  • 753
  • 2
  • 15
  • 33
0
votes
1 answer

Should replica DB be in 'recovery' - PostgreSQL

I have two databases that are using streaming replication and appear to be in this state postgres 16319 0.0 0.5 137949952 3077260 ? Ss Aug22 0:11 /usr/pgsql-12/bin/postmaster -D /var/lib/pgsql/12/data/ postgres 16321 0.0 0.0 249564 2080 ?…
0
votes
2 answers

How to replicate growing files?

I need to replicate a bunch of continuously growing large log files from a network file share. Can't use rsync, because I don't have ssh access to the server. Is there any existing Linux tool that can do incremental replication based on comparison…
0
votes
0 answers

MySQL not saving to separate data directories

Lately I've been struggling with MySQL and it's data directory a lot. At first, I've tried docker for multiple instances but our company doesn't prefer docker no one knows why. So I come up with a solution. Some information; Multiple servers (6)…