slave

master-slave design problem

By design,all read should be from slave,and update on master, but consider the following situation: there is a column water_mark in table_a, and I need to read from table_b whose column time_mark is larger than column water_mark of table_a, If I read from slave,then update the column water_mark to "now()" in master, what if there ...

how to use Tcl's (interp) bgerror

I'm trying to run tclhttpd in a slave interpreter but slightly modified so as to run within a tclkit. The code below "runs" (I can hit http://localhost:8015) but never reaches the puts line at the bottom because "the server does not return, it enters [vwait forever]". But when I try "the after 0 trick", e.g. prepending "after 0 " to th...

MySql Slave I/O Thread not running

I have set up replication for MySql server. I can connect from the slave machine the master server using the replication user/password. I have got the slave sql thread running but the slave i/o thread is not running and the slave i/o status comes as empty when checked using 'show slave status'. What could be the problem ? How to solve th...

C# program to switch updating from Master server to Slave server

assuming that I have setup the Database (MySQL) Replication using Master-Slave configuration, and have synchronized those Master and Slave servers, how can my C# program know that it has to update the Slave server when the Master server fails? What are the conditions that the C# program switch from the Master server to the Slave server? ...

xterm slave mode

can xterm can be used to process ANSI escape sequences and output the resulting text into a file? i mean e.g. like this: $ echo -e "\e[31mfoo\e[0m" | xterm -SOME_NICE_OPTION foo xterm has a slave mode, but i'm not sure whether it can be used to this type of task. echo "foo" | xterm -S120 writes "foo" into xterm window i have play...

how to programatically determine Bluetooth master/slave roles?

So in a bluetooth piconet, there is one master with upto seven slaves. The master sets the clock and frequency hop that the slaves sync with. But is there a way to determine which device is the master and which is the slave? I'm mainly interested in portable devices (Android,iPhone) but beggars can't be choosers, if anybody has info i...

List of Slaves connected to master - Hudson

Is there a way to find it programatically? I need this as part of an automated run; So this would be very helpful if there is an existing remote API call which can give this. ...

mplayer slave mode - can't delete files after watching

Hi I'm using mplayer in my C# app running in .NET on Windows and Mono on Linux. I start mplayer using Process.Start and run it in -slave -idle. To play a video, I write to stdin like this: loadfile {filename} When I'm ready to play the next video, I call loadfile again with the new filename. Problem: if I play a video and then somet...

Accessing IPhone/IPod-Touch USB port? (with jailbreak)

How can I use the USB-port of a jailbroken IPod? I found this app, it emulates a mass-storage device with an IPod, so it definitely is possible. USBDrive app link. I don't want something that complicated, just sent and receive a few bytes. Unfortunately it needs to be over USB, but i have no idea how they do it. My guess is they either...

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? ...

Mysql replications: slave is not readonly

Hi! After setting up mysql replications with master/slave db scheme, I noticed that the slave db server is not read-only. Of cause, after that I configured it manually in /etc/my.cnf file. I just can't understand: isn't it the default behavior that the slaves are always running in the read-only mode or it should be always configured by ...