master-slave

Hudson -- Step by step guide to set up master and slave machines

As you can see, the link to that on the hudson website is dead. So, I was hoping for a little step by step for setting up a windows slave with a linux master. I managed to setup hudson on the windows machine, but how do i link the slave to report back to the master and initiate build from the master to run on the windows slave. Basica...

Hudson -- windows slave running a shell script.

I am trying to run a shell script lets call it fml.sh on my windows slave machine. I have installed msys. I can run the script from cmd with the following call. C:\msys\1.0\bin\sh.exe -e -x "C:\path\to\fml.sh" Now in my build pre-build code I run that very same line from within hudson I get the following response. AllocationBase 0x7...

MySQL Replication woes - slave not updating

mysql> show slave status\G; *************************** 1. row *************************** Slave_IO_State: Connecting to master Master_Host: 10.0.6.55 Master_User: slave_user Master_Port: 3306 Connect_Retry: 60 Master_Log_File: mysql-bi...

mysql replication incompatible statements problem

hello, i wanted to setup a new mysql database slave running a newer version of mysql => 5.1.41 than the master => 5.0.75, which -- as far as i know -- should normally be no problem. however, as it turns out setting up replication fails, because i used a SQL statement in 5.0.75 which apparently does not work in 5.1.41 anylonger: the sta...

Master and Slaves failover from Slave snapshot

Hello, I plan to use MySQL setup with one master server and several slave servers. I would perform regular consistent backup of the data EBS on one of the slave servers (I will always stop database before and restart it when it is finished). Slaves failover I one of the slave fails, I will start new instance and moun EBS based on the l...

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) gamephase.net/posts/view/master-slave-datasource-behavior-cakephp bakery.cakephp.org/articles/view/master-...

CodeIgniter configure different IP for READ and WRITE MySQL data

My company has been setting up a different server for read and write access of mysql DB. Previously, we use custom php script. However, I was recently given task to create tools by leveraging CI. I've done it on test server. Now, I'm confused, how to implement it on live server. ...

reliability: Master/slave pattern is doomed?

More and more of the noSQL databases that are in the spotlight uses the master/slave pattern to provide "availability", but what it does (at least from my perspective) is creating the weak link in a chain that will break anytime. - Master goes down, slaves stops to function. It's a great way to handle big amounts of data and to even out...

Spreading a single build over multiple slaves Hudson

I want to write an ant script that is distributed over multiple slaves. I don't understand exactly how the hudson system works but it seems to simply run the whole of one type of build on a single slave. I would like multiple slaves to run in parallel to do my testing. How can i accomplish this? ...

Zend master slave mysql

I want to switch slave db if master fails. I found Master/Slave switch, but its for reading writing (seems very logical, but not this case). Can you give " db failure" strategy in zend? ...

Rails 3 and mysql master-slave replications

Hi! Want to set up mysql master-slave replications in rails app. Are there plugins/db adapters available for Rails 3? Does the Masochism plugin work properly with rails 3? ...