user5486: As title says, I have 8 identical mining machines I just want to be able to point them at the same pool all at once, is this possible with a combination of python and ssh?  If someone else already invented something could you point me to that?  If not, could you give me a basic idea on how I would tackle this myself?

user13707: I would suggest creating a bash script for this. You could write a bash script that, when executed, asks what pool you would like to switch to. It then kills all of your miners and restarts them using the new pool.

user11643: Along with starting a proxy to control which pool you mine at, you can force the proxy to control the username and password for each pool, allowing different worker names at different pools and mining towards BTC addresses, Dwolla accounts, etc.
To do this, start the proxy using the -cu and -cp commands for the worker name and password, respectively. 
For example, using "-cu worker1 -cp x" will force any work through the proxy to submit it under the username worker1 pw x, even if cgminer or other mining program uses other names). 
Also, it helps to add the -nm option if your connection is poor or the pool is giving really low difficulty shares to fast miners. This can cause huge network lag from TONs of low diff shares being submitted. Just a problem I ran into on a pool giving me diff1 shares at 1.4TH, so thought I'd share the info if your moving around pools a lot.

user4724: Here are the instructions for setting a mining proxy which allows all your miners to connect via the proxy instead of via their own config.  This way you only have to stop then start a single process on the proxy to change pools instead of messing with each miner to do the switch.

Setup mining_proxy.py on a linux machine

pont slush's mining_proxy.py at a pool of your choosing using a bash script file (remember to chmod 755  so you can run the bash script with ./)
setup each pool you want to mine with it's own script (same -sp (port)  for each )
point all your miners at the proxy server with the port you are using
make sure all pools use the same worker names and passwords (since this is setup on the miners)
start your chosen bash script (best to use screen so you can exit the session and leave it running)
miners can be switched by ssh via screen -d -r , then ctrl-c (to kill the proxy), now just run the correct bash script to switch to the next pool.



5486: <p>As title says, I have 8 identical mining machines I just want to be able to point them at the same pool all at once, is this possible with a combination of python and ssh?  If someone else already invented something could you point me to that?  If not, could you give me a basic idea on how I would tackle this myself?</p>
 13707: <p>I would suggest creating a bash script for this. You could write a bash script that, when executed, asks what pool you would like to switch to. It then kills all of your miners and restarts them using the new pool.</p>
 11643: <p>Along with starting a proxy to control which pool you mine at, you can force the proxy to control the username and password for each pool, allowing different worker names at different pools and mining towards BTC addresses, Dwolla accounts, etc.</p>

<p>To do this, start the proxy using the -cu and -cp commands for the worker name and password, respectively. </p>

<p>For example, using "-cu worker1 -cp x" will force any work through the proxy to submit it under the username worker1 pw x, even if cgminer or other mining program uses other names). </p>

<p>Also, it helps to add the -nm option if your connection is poor or the pool is giving really low difficulty shares to fast miners. This can cause huge network lag from TONs of low diff shares being submitted. Just a problem I ran into on a pool giving me diff1 shares at 1.4TH, so thought I'd share the info if your moving around pools a lot.</p>
 4724: <p>Here are the instructions for setting a mining proxy which allows all your miners to connect via the proxy instead of via their own config.  This way you only have to stop then start a single process on the proxy to change pools instead of messing with each miner to do the switch.</p>

<ol>
<li>Setup mining_proxy.py on a linux machine
<ol>
<li>pont slush's mining_proxy.py at a pool of your choosing using a bash script file (remember to chmod 755  so you can run the bash script with ./)</li>
<li>setup each pool you want to mine with it's own script (same -sp (port)  for each )</li>
<li>point all your miners at the proxy server with the port you are using</li>
<li>make sure all pools use the same worker names and passwords (since this is setup on the miners)</li>
<li>start your chosen bash script (best to use screen so you can exit the session and leave it running)</li>
<li>miners can be switched by ssh via screen -d -r , then ctrl-c (to kill the proxy), now just run the correct bash script to switch to the next pool.</li>
</ol></li>
</ol>
