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
6
votes
3 answers

What are the typical methods used to scale up/out email storage servers?

What I've tried: I have two email storage architectures. Old and new. Old: courier-imapds on several (18+) 1TB-storage servers. If one of them show signs of running out of disk space, we migrate a few email accounts to another server. the servers…
nareshov
  • 61
  • 4
6
votes
2 answers

Create kickstart configuration file from existing configuration

Is there a script or another way to automatically generate a kickstart configuration file from the system state of an existing server so that the file can be use to replicate (not clone) the configuration of the system in another install? I know…
ÜMineiro
  • 63
  • 1
  • 1
  • 5
6
votes
2 answers

Data from a table in 1 DB needed for filter in different DB

I have a Win Form, Data Entry, application that uses 4 seperate Data Bases. This is an occasionally connected app that uses Merge Replication (SQL 2005) to stay in Sync. This is working just fine. The next hurdle I am trying to tackle is adding…
6
votes
2 answers

MySQL replication issues after a power outage

After a power outage at our data centre, the slave MySQL databases are struggling. This is in the logs for one of the slaves: 100118 10:05:56 [Note] Slave I/O thread: connected to master 'repl@db1:3306', replication started in log 'bin-log.004712'…
jabley
  • 335
  • 3
  • 9
5
votes
1 answer

HyperV 2016 storage redundancy on non-redundant SANs

We have a setup here consisting of: More or less a dozen of HyperV hosts. Two FC SANS (SAN "A" and SAN "B"). All elements composing this infrastructure are redundant, EXCEPT for the SANs. They are equal in capacity and connected to the HyperV…
JavierS
  • 95
  • 4
5
votes
1 answer

Redis: read-only slave vs fail-over slave?

I'm reading a lot of documentation around Redis network configurations, and I'm confused about how it seems the requirements in the architecture mental model I had, don't seem to map with the current options. First of all: I don't need sharding,…
knocte
  • 347
  • 1
  • 6
  • 18
5
votes
1 answer

Master-Master File Sync between DataCenters

My problem is regarding a master-master (3 master nodes) file synchronization setup, where each node is in a different DataCenter. I have three application servers where users can create/modify/delete files and I need to keep them in sync, hopefully…
Jimmy
  • 221
  • 2
  • 6
5
votes
2 answers

Is ceph replication based on nodes or disks?

Im currently evaluating storage systems for xenserver. Because data replication is important in the case of a failure i have a question regarding replication in ceph. As far as i know every disk in a node is an osd by itself (disks are not in any…
laubed
  • 66
  • 1
  • 4
5
votes
1 answer

Windows Active Directory backup to a file

How can i take a complete backup of windows Active Directory into a single file and is it possible to restore this AD backup to another server? I cannot use active directory replication now, because of the connectivity issues.
Vishnu
  • 711
  • 2
  • 8
  • 15
5
votes
2 answers

CouchDB replicate ALL databases?

I have a CouchDB I'd like to replicate to another server in order to do backup dumps without taxing the production server. The production CouchDB has a varying number of databases and I'd like to sync everything and not worry about how many DBs are…
Tommy Burazin
  • 53
  • 1
  • 6
5
votes
2 answers

Can't config replica set using MongoDB 3

I'm trying to create a replica set in MongoDB version 3.04. I followed this tutorial and getting the next error while trying to add nodes using the primary server: vacrep:PRIMARY> rs.add('server address here') { "ok" : 0, "errmsg" : "Quorum…
Ofir
  • 181
  • 1
  • 1
  • 6
5
votes
3 answers

Replicated shared filesystem

I'm looking into setting up a shared filesystem/file server on AWS (EC2) infrastructure that offers replication and fairly painless failover. This filesystem would host potentially millions of files that are a few megs in size. Those files would be…
Alex
  • 471
  • 7
  • 18
5
votes
3 answers

Replicating a linux web server

I'm planning on replicating a web server for high availability purposes. The server is running as a Ubuntu 15.04 virtual machine in Hyper-V and has MariaDB 10.0, Apache 2.4 and PHP-FPM 5.6 installed. The 2nd virtual machine will start as a direct…
gijs007
  • 117
  • 1
  • 4
  • 18
5
votes
2 answers

what distributed file system for a two-node failover setup?

I'm trying to set up a redundant setup consisting of two servers that have everything redundant: the database (MySQL master-master in active/passive mode) the file system (distributed/replicated) our application software (kept in sync using the…
Udo G
  • 443
  • 4
  • 9
  • 20
5
votes
2 answers

How to force active directory replication from one DC to another

I am having issues replicating AD from one DC to another. Both servers are Windows Server 2008 R2 SP1. I have used the GUI option in sites and service to force replication. I have also tried repadmin, and ntsdutil. The command for repadmin that I…