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

Current replication techniques in PostgreSQL

I'm planning to migrate from MySQL to PostgreSQL, but worried about the apparent luck of replications solutions there. Are there any current replication techniques that can be used out of box? Heartbeat/DRBD would probably work, but I'm looking for…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
3
votes
1 answer

How to replace ZFS pool root with a snapshot after replication

I'm replacing some failing disks with new ones, and rather than replace them one by one I have created a new ZFS pool on the new disks, and copied the old pool over to the new one. I did this at the pool level so all the volumes within would be…
Malvineous
  • 1,095
  • 11
  • 28
3
votes
1 answer

Apache Derby master/slave replication and clustering

I'm interested in the possibilities of master/slave replication for Derby in client/server mode (if at all possible). However, I'm unable to find any material that either explains it in a decent fashion or is able to convince me that master/slave…
Luke
  • 3,826
  • 8
  • 36
  • 40
3
votes
0 answers

On-prem Hyper-V VM replicate to Azure

So I have a question. I'm used to replicating my VMs to azure using site recovery. Im now facing an issue with one of our clients having a very slow upload speed and needing to send the initial copy over that slow line, it's about 900gb that needs…
Saeed
  • 366
  • 3
  • 11
3
votes
1 answer

PostgreSQL hot standby cannot start because max_connections is a lower setting than on the master

I have a PostgreSQL 9.6 master and standby server each. Both this line in their respective postgresql.conf: max_connections = 100 The standby's recovery.conf looks as follows (actuals host, user, and cluster hidden): standby_mode =…
rookie09
  • 623
  • 1
  • 6
  • 17
3
votes
1 answer

Active Directory - Only bridgeheads get the full forest replication

In my Active Directory, we have two sites. One site has a single domain controller. The other site, DefaultFirstSiteName, has two domain controllers. When I view the replication status from the non-primary domain controller using repadmin /showrepl…
gnu_byte
  • 33
  • 3
3
votes
0 answers

GPO says Version Mismatch on Domain Controller when Versions appear to Match

On my primary domain controller, the AD and Syslog version of each of my GPO policies appears to match correctly: However, when I run a Group Policy Results report, it says that their is an "AD / SYSLOG Version Mismatch": According to repadmin…
William
  • 363
  • 1
  • 11
  • 28
3
votes
0 answers

ZFS over LUKS over (NBD or NFS)? Need encrypted replication solution

I am using ZFS(ZoL) over LUKS on home and on remote server. All is working perfectly and fast. I do snapshots by cron, but now I want to replicate them to some backup storage. I have a small 2-HDD dlink dns-323 nas, on which I have debian installed.…
Ural
  • 161
  • 6
3
votes
2 answers

Why Redis slaves don't take over the master after master fail in Redis Cluster?

I have a Redis Cluster with 2 masters and 4 slaves (2 slaves for each master). After I manually crash a master (i.e. redis-cli -p 6379 debug segfault) slaves doesn't do anything. They detects that something wrong with the master but they are doing…
Oleksandr
  • 733
  • 2
  • 10
  • 17
3
votes
1 answer

Postgresql replication with pgpool or pgbouncer

I'm looking for a good configuration for a postgresql replication with a robust failover strategy (self hosted). Actually, I configured two postgresql instances in master / slave with repmgr. Now, I don't know what to put before these two instances…
Luca Leen
  • 39
  • 1
  • 3
3
votes
1 answer

Two folders synchronization (1 way sync), one in intranet the other one in extranet

I have one server in intranet (joined to domain, accessible via domain account) and the other one in extranet (not joined to domain, accessible via hopping station using a local account). Shared folders on intranet servers are accessible for domain…
ray
  • 143
  • 9
3
votes
1 answer

SQL Server Replication only for Enterprise Edition? Does it require Enterprise on both sides? Other solution?

My situation: I've been looking for an option of data replication for my SQL Server (I'm not expert on it, I should say it - neither on English Language). I've seen a few options, like Log Shipping and SQL Replication. For Log Shipping, I've read…
3
votes
2 answers

Why does MySQL Galera not replicate the user table?

I am running a 3 node MySQL 5.6 Galera Cluster. Everything is in sync and looks fine, but as I just found out the user table was not in sync. One particular user was not present on the other nodes where I thought it might replicate it after…
merlin
  • 2,093
  • 11
  • 39
  • 78
3
votes
1 answer

When and how should we shard MongoDB when we are bound to physical machines?

We maintain a search service that serves data from MongoDB. Our Mongo production instance is arranged in a 4 node replica set across four physical servers. The database is comprised of several small collections and one large collection. The large…
Chris M
  • 31
  • 1
  • 4
3
votes
1 answer

remote Powershell script Scheduled task

I am having trouble running a Powershell script as a scheduled task. The script remotely logs into two Hyper-V hosts, queries the replication status and emails the result back to me. The script works fine when I run it manually, either in…