Questions tagged [master-slave]
125 questions
0
votes
1 answer
Keepalived loadbalancing with Nginx not working with only backup Nginx alive after Master Nginx dies
I am using 2 Nginx servers on 2 different machines with Keepalived installed respectively on both machines. Below is the configuration for both Keepalived.
MASTER KEEPALIVED
vrrp_instance VI_1 {
state MASTER
interface eth0
…

Ankur Soni
- 101
- 3
0
votes
1 answer
Mysql Master-Slave replication database duplication issue
I have done master-slave replication for performing web-server mirroring. Web contents are getting replicated properly. But I am facing issue in database replication. Database is replicated and slave can read the master log position as well. I have…

Anand Shrestha
- 41
- 5
- 12
0
votes
4 answers
MySQL Master-Master with offsets getting ERROR 1872
I'm trying to fix the replication between a master-master MySQL database replication model.
Server 1 (with the IP of 192.168.2.6) is configured with:
auto-increment-increment = 2
auto-increment-offset = 1
So it writes only odd…

Dean Householder
- 101
- 1
- 4
0
votes
1 answer
Master/Master and Master/slave replication issues on raspberry pi 3
So for 2 weeks, I've been trying to set a Master/Master replication ( with apache2 web server and mariadb database ) on two Raspberry pi using different methods I've found all over the web ( french tutorials as well ). Many of these methods were…

Gabby
- 11
- 1
0
votes
1 answer
Centos 7 , Master-slave replication iptables?
This is the iptables on my mysql_slave server:
# sample configuration for iptables service
# you can edit this manually or use system-config-firewall
# please do not ask us to add additional ports/services to this default…

J.chen
- 1
0
votes
1 answer
overwrite values with mysql master-slave replication
I have a production database with master-slave replication being done on it. Production DB backups are done off of the slave server.
I'd like to make it so that an arbitrary number of development environments can be replica's of the slave. The…

neubert
- 317
- 8
- 26
0
votes
1 answer
Domain Slave Zone Definition
I've been using Linode for about a year, and am still confused by 'Master' Domain Zone and 'Slave' Domain Zone terminology on their DNS Manager. The term 'Zone' in conjunction with 'Master' AND 'Slave' do not seem to be used anywhere else online…

Stephen
- 123
- 2
0
votes
1 answer
Master-Slave semi circle replication not working in MySQL
I didn't know how to describe it so I am calling it semi circle. Here's what I am doing.
Server A
Server B = This is slave of Server A
Server C = This is slave of Server B
When I update something on Server A then it is reflected on Server B. But…

Frank Martin
- 741
- 2
- 12
- 24
0
votes
1 answer
Making master server slave of another master
I have 4 MySQL servers Master1, Master2, Master3 and Master4.
Both Master1 and Master2 are masters of each other while Master3 and Master4 are masters of each other.
I want to make Master3 slave of Master1. Is this possible?
Following diagram shows…

Frank Martin
- 741
- 2
- 12
- 24
0
votes
2 answers
Bind DNS named.config serial- Should it autoincrement? Alternatives to ammending it each time
I'm configuring a DNS service for the first time which involves a master DNS server and a slave DNS server. On investigating why the slave zones were not updating after I make edits to the zones on the master DNS, I discovered that the serial value…

treetop
- 51
- 7
0
votes
1 answer
creating a consumer by cloning the provider in openldap, anything wrong with that?
I have setup an ldap server on centos 7 as a provider and created a consumer by simply cloning the provider and adding syncrepl.ldif to it and seems to work just fine. In all the documentations and examples that I am reading, no one mentions doing a…

kevbuntu
- 169
- 1
- 1
- 7
0
votes
1 answer
Can not select multiple LDAP servers with authconfig bug report
There is this bug report "Can not select multiple LDAP servers with authconfig"
Red Hat Bugzilla – Bug 1142830; https://bugzilla.redhat.com/show_bug.cgi?id=1142830
which is suppose to be solved on version authconfig-6.2.8-9.el7.
I am using…

kevbuntu
- 169
- 1
- 1
- 7
0
votes
1 answer
how a client switches from provider to consmure openldap centos 7
I have setup a basic provider/consumer and client openldap on centos 7. Data does get replicated to the consumer when I add something to the provider and it is all synced up. The client can read info from the master(provider). Now I like to turn off…

kevbuntu
- 169
- 1
- 1
- 7
0
votes
1 answer
openldap replication on centos 7 not replicated
I have setup a simple openldap server on centos 7 minimum. Added a couple of users and setup a client that can retrieve the users using getentpasswd and ldapsearch works fine between the two. Then I have tried to setup a simple replicator…

kevbuntu
- 169
- 1
- 1
- 7
0
votes
1 answer
Master and slave bind DNS servers with different version
I am having issues with my master-slave setup, so I'm trying to release what is an causing troubles.
Master is running on CentOS Linux release 7.1.1503 (Core) and using BIND 9.9.4-RedHat-9.9.4-29.el7_2.1 (Extended Support Version).
Slave is running…

Zvezda
- 13
- 6