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

combine two mysql replication log files

So I use a master-master replication of a mysql database and load balance traffic between the two. This results in server A with a binlog of all it's transactions and Server B with a binlog of only it's transactions. Each server also has a…
Joel
  • 31
  • 1
3
votes
1 answer

Changing tablespace on table with streaming replication

I've been searching for answers for a while know but can't find any reliable source. We have 2 postgres servers that replicates using streaming replication. I now need to move some tables to a different tablespace (residing on a different volume),…
jishi
  • 868
  • 2
  • 11
  • 25
3
votes
0 answers

Solution for file data backup, versioning and replication

We have a growing set of data files (.wav files, image files etc) which are data, i.e not part of the application code - uploaded and modified by users. The number of files is in the 1000s and the total size reaches GBs. We have several server…
Amir Abiri
  • 227
  • 1
  • 3
  • 7
3
votes
1 answer

Read Only Domain Controller not replicating after writable domain controller outage

I have a RO domain controller that replicates with a writable DC which is at another site. The other week the writable DC was out for about 2 days because of maintenance at that site. After this outage, the RODC is no longer replicating with the…
Kelvin
  • 31
  • 1
  • 2
3
votes
1 answer

mongodb keep looping while trying to sync data

I'm converting my my standalone mongodb into a replica set. I've added one more member (and I want to add two more members later, and to shutdown the primary server). My primary mongodb is running 2.2.3, and the new replica member running the latest…
Dor
  • 43
  • 5
3
votes
1 answer

Exchange Local Continuous Replication - Seeding Fails

When setting up Local Continous Replication on an Exchange 2007 server's larger database, the wizard consistently fails with a message along the lines of: The log file xxxx for SERVERNAME\Your Storage Group is missing in the production copy. …
Katherine Villyard
  • 18,550
  • 4
  • 37
  • 59
3
votes
2 answers

What type of AD replication is needed for a non-mesh Hub and Spoke network?

I'm having AD replication issues (OUs not replicating, FRS, etc) and suspect the issue is that the network admins have modified AD Sites And Services in ways that disabled the ISTG and other aspects. Specifically, I see a number of site links, site…
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
3
votes
2 answers

Static master in Redis replication

I'm running replicated Redis that includes a master and just one slave. My goal is to implement a replication (using Redis sentinels) in which the slave becomes master when the master goes down, but additionally the old master is promoted back when…
empe
  • 33
  • 2
3
votes
2 answers

pg_archivecleanup not found Postgres 9.1, even though it is installed?

I have streaming replication setup on 2 Postgres 9.1 servers. Everything is ok apart from the archivecleanup. In the logs it says: sh: 1: pg_archivecleanup: not found 2013-11-19 09:17:37 GMT WARNING: archive_cleanup_command "pg_archivecleanup…
user199835
  • 31
  • 1
  • 2
3
votes
2 answers

postgresql slave to master table replication

I currently have a few dozen sites pushing data to a central database over VPN with rsyslog. All these records are going into one table (there are roughly 20 - 30 per second being inserted per site). Thus, there are roughly 30 million records in ONE…
whobbs
  • 31
  • 2
3
votes
1 answer

glusterfs mounts get unmounted when 1 of the 2 bricks goes offline

I have an odd case where 1 of the 2 replicated glusterfs bricks will go offline and take all of the client mounts down with it. As I understand it, this should not be happening. It should fail over to the brick that is still online, but this…
Shiquemano
  • 31
  • 3
3
votes
1 answer

how to install pg_archivecleanup for postgresql 9.3 on Ubuntu

I am trying to get streaming replication working with postgresql 9.3 on Ubuntu 13.04 (Raring Ringtail). I installed postgresql on master and slave by doing: apt-get install postgresql I believe I have all the bits in place for replication, except,…
colour me brad
  • 71
  • 1
  • 2
  • 3
3
votes
3 answers

invalid DN 21 (Invalid syntax) on Converting slapd.conf OpenLdap

Actually i want to configure ldap as master-slave replication using syncrepl method, On any reference which i found,I'm running on Centos 6 machine and openldap v2.4.23. I following step by step on…
Pirates
  • 31
  • 3
3
votes
2 answers

"Could not create IPv6 socket" postgresql standby error

I'm trying to create Postgresql 9.1 hot-standby using following steps: Configured 2 virtual linux machines. Master's ip: 10.10.10.1, Standby's ip: 10.10.10.2. Ping test passed. Restored the same db backup on both. Edited pg_hba on master. Added…
Alex
  • 131
  • 1
  • 1
  • 3
3
votes
2 answers

MySql server master-master seconds_behind_master jumps

I'm running a 4 servers master-master cluster of MySql. (2 servers version 5.1, and 2 version 5.5) While checking the slave status, i see the seconds_behind_master at 0, and half a second after i see it jumps to 2000, and so fourth. What could it…
shaharmor
  • 337
  • 4
  • 16