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.

1020 questions
11
votes
1 answer

ZFS on Linux (ZoL) and realtime replication

I would like to understand what is the best solution for realtime replication between two ZFS on Linux (ZoL) boxes connected by a 10 GbE link. The goal is to use them for virtual machines; only one box at a time will run the virtual machines and the…
shodanshok
  • 44,038
  • 6
  • 98
  • 162
11
votes
3 answers

Windows DFSR - Changed replicated directory permissions and now have a 350,000 backlog for more than a week

Question: Is there a way to make this 350,000 file backlog complete faster? For nearly every file the only change was a change to the ACL for each affected file. Some files have changed content, but that is not the common case in this…
Emmaly
  • 425
  • 2
  • 8
  • 16
10
votes
4 answers

Is GlusterFS a good pick for keeping webservers in sync?

I've got 2 webservers, with the chance of having to add more servers along the way. Right now I keep these servers in synch using lsyncd + csync2. It works well performance wise because all files are on both servers (no network access required to…
sbrattla
  • 1,456
  • 3
  • 26
  • 48
10
votes
2 answers

Expected performance of e-SATA port multiplication?

For a certain read/write workload, I get 30 MiB/s from a 4-disk array using esata port multiplication. When I move the exact same array to four individual sata connections, I get 90 MiB/s for the same workload. Is this the expected performance…
Daniel Browning
  • 113
  • 1
  • 6
10
votes
4 answers

MySQL simple replication problem: 'show master status' produces 'Empty set'?

I've been setting up MySQL master replication (on Debian 6.0.1) following these instructions faithfully: http://www.neocodesoftware.com/replication/ I've got as far as: mysql > show master status; but this is unfortunately producing the following,…
simon
9
votes
1 answer

Can ZFS using snaphots replace DRBD using sync protocol A?

This question is related to a former, more generic one, but this time I would like to ask more specifically if ZFS can replace DRBD in a use case like mine. That is two servers, both hosting their own VMs or other services while replicating the VMs…
9
votes
1 answer

Redis Multi-Master Replication

Scenario: We have two datacentres which run concurrently (both serve traffic). Each has it's own entire stack of infrastructure, so it can operate without the other being up. That said, we would like, when network conditions allow for it, for our…
user65539
9
votes
2 answers

How to scale out OpenStreetMap data efficiently

For over a year now, I'm running an in-house PostGIS server filled with OSM data, used for both Mapnik-based tile generation and Nominatim-based geocoding, updated with day replicates. This works pretty well. However, as usage is growing…
Pierre
  • 243
  • 2
  • 8
9
votes
3 answers

Run a MongoDB configuration server without 3GB of journal files

For a production sharded MongoDB installation we need 3 configuration servers. According to the documentation "the config server mongod process is fairly lightweight and can be ran on machines performing other work". However, in the default…
Thilo
  • 240
  • 1
  • 2
  • 9
9
votes
6 answers

Create a MySQL slave from another slave, but point it at the master

Problem I have MySQL replication setup between 2 servers, master (A) and slave (B). I need to add a new slave to the mix (C). I want this slave to get it's updates directly from the master, I do not want chain replication from the slave. However,…
Alex Recarey
  • 441
  • 1
  • 6
  • 14
9
votes
1 answer

Which binlog format to use for MySQL Replication?

Just about to start using MySQL replication and I'm wondering what kind of binlog format is the best to use? There's Row, Statement and Mixed. I'm going to be using 5.1.49. Row is winning at the moment but I'm just wondering why I should use mixed…
delenda
  • 91
  • 1
  • 1
  • 2
9
votes
4 answers

How to find slave's IP address and user name from Master server?

I am writing code to extract the IP address and username of all slave servers in a MySQL replication environment. Does anyone know any function, variable, or something else that I can run in the console and retrieve these infos without looking into…
Kourosh Samia
  • 301
  • 1
  • 5
  • 12
8
votes
2 answers

Is there a difference in bandwidth consumption between a RODC and RWDC?

My organization has deployed 2008 RODCs on multiple seagoing platforms. The idea was to extend our shore-based domain onto our ships to better control security policies. RODCs were selected with the assumption they would consume less bandwidth. …
8
votes
1 answer

AD Replica DC Promotion Stall

I recently inherited infrastructure duties for a small startup I am working with. My traditional role has been development, so bear with me... I was hoping to start off on the right foot, and get Active Directory up and running in Azure. I have…
8
votes
4 answers

Need to DUPLICATE HTTP requests to two servers

We're developing an new server to replace an old one, and want to put the side by side for before & after tests - so that we can compare the end result and find the discrepancies. The input to both services (old and new) is HTTP requests (mostly if…
Moshe Eshel
  • 233
  • 2
  • 7
1
2
3
67 68