Questions tagged [master-slave]

A master/slave protocol involves one dominant participant (the master) controlling communication with one or more other participants (slaves). Prefer to tag the specific protocol, such as "i2c". For master/slave database replication, prefer "replication".

790 questions
20
votes
6 answers

Adding members to Replica Set on MongoDb

I am trying to create a replica set with MongoDb, the servers hostnames are: hostname hostname-1 hostname-2 Each of these has all the relevant hostnames detailed in their /etc/hosts file (They;re all running Ubuntu 10.04 64-bit) When I do an…
sicr
  • 2,148
  • 5
  • 23
  • 27
20
votes
11 answers

What's a good Java-based Master-Slave communication mechanism?

I'm creating a Java application that requires master-slave communication between JVMs, possibly residing on the same physical machine. There will be a "master" server running inside a Java EE application server (i.e. JBoss) that will have "slave"…
Phuong LeCong
  • 1,834
  • 16
  • 19
18
votes
1 answer

Apache Solr: Slave replicates 10+ times every time it polls (excessive commits?)

We're using Apache Solr (3.1.0) to index a lot of articles written for multiple sites. We have a master/slave setup (replication config at the bottom), where server 1 indexes the articles, and server 2 replicates the index. The slave should poll the…
17
votes
5 answers

Why Jenkins says "Server rejected the 1 private key(s)" while launching the agent?

I am successfully able to connect to remote machine using SSH but when I am launching the agent from Jenkins it throws the following error: ERROR: Server rejected the 1 private key(s) for user1…
ANIL
  • 2,542
  • 4
  • 25
  • 44
15
votes
10 answers

The server rejected the connection: None of the protocols were accepted

I'm facing a weird issue when I launch Jenkins as Windows service in my client VM. 1) I have launched Jenkins as Windows service in my client side master machine (a Windows VM) and configured my local machine as a slave and I'm unable to establish…
Sid
  • 645
  • 1
  • 7
  • 19
15
votes
4 answers

Restart Jenkins slave from master

I use jenkins master-slave configuration for capturing Performance metrics of a product. We have observed that jenkins-slave tends to accumulate memory and thus influences the Performance metrics being captured. To ensure consistency of the metrics…
Praneeth
  • 439
  • 2
  • 6
  • 11
13
votes
1 answer

Mysql error 1236 from master when reading data from binary log

I have 2 MySql with a master/slave configuration and the replication is failing. The MySql Master crashed and a new register in the mysql-bin.index was created. I deleted this new register because this file was not existed in the file system. Then…
eltortuganegra
  • 159
  • 1
  • 2
  • 9
13
votes
7 answers

Jenkins Slave Permission Denied while copying slave.jar

I get a permissions denied but don't know why. From my jenkins master I was able to run the following command using ssh-rsa-key scp /var/cache/jenkins/war/WEB-INF/slave.jar jenkins@:/var/jenkins/ Note: I did manually create…
dlite922
  • 1,924
  • 3
  • 24
  • 60
13
votes
1 answer

MySQL Replication fails with error "Could not parse relay log event entry."

I've searched google thoroughly for a definitive solution or set of steps to resolve this issue, but there don't seem to be many high quality results, and I haven't found the question on stack overflow. We're trying to set up MySQL replication using…
nolliecrook
  • 131
  • 1
  • 1
  • 4
12
votes
5 answers

JMeter 4 - can't execute jmeter-server in windows 7

I download latest JMeter 4, As part of Remote Testing To run JMeter in remote node, start the JMeter server component on all machines you wish to run on by running the JMETER_HOME/bin/jmeter-server (unix) or JMETER_HOME/bin/jmeter-server.bat…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
11
votes
3 answers

Jenkins: Logfile location on slave nodes?

I have a jenkins master-slave setup through JNLP connections. Everything is working fine except I can not find any logs on the slave nodes. There are logs on the master in $JENKINS-HOME/logs/slaves but none on the slave node. Can you tell me on…
Q-man
  • 115
  • 1
  • 1
  • 6
11
votes
4 answers

Jenkins Slave - How to add or update ENVIRONMENT variables

Has anyone tried a way to add or update an ENVIRONMENT variable in a Jenkins slave's configuration using Jenkins Rest/API or any other way. Using Jenkins Swarm plugin, I created a slave (it uses JLNP to connect to the Jenkins master) but ENVIRONMENT…
AKS
  • 16,482
  • 43
  • 166
  • 258
10
votes
5 answers

Error 'Unknown table engine 'InnoDB'' on query. after restarting mysql

I have mysql DB on server S1 (mysql version 5.1.41-3ubuntu12.7-log), i have created master-slave for this DB on server S2 (mysql version 5.1.54-1ubuntu4-log). the DB on S1 was using one data file (ibdata). after dumping the DB to S2 i set…
Alaa
  • 4,471
  • 11
  • 50
  • 67
10
votes
3 answers

How to Master/Slave switch, load balancing in CakePHP

I need to implement master/slave/load balancing into an existing site. Does anyone use these (or other) implementations for master/slave switching? The resources I found on how to implement master/slave into Cake:. (preferable)…
10
votes
2 answers

Starting remote Erlang nodes

I want to write a master-slave application in Erlang. I am thinking at the following things I need from the architecture: the slaves shouldn't die when the master dies, but rather try to reconnect to it while the master is down the master should…
hyperboreean
  • 8,273
  • 12
  • 61
  • 97
1
2 3
52 53