Bitcoin Forum
May 05, 2024, 02:57:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] cgminer/vertminer/etc. rig multi-switcher with support for LeaseRig conf.  (Read 2188 times)
kenshirothefist (OP)
Sr. Member
****
Offline Offline

Activity: 457
Merit: 273



View Profile
February 18, 2014, 12:39:37 AM
Last edit: February 19, 2014, 06:31:50 AM by kenshirothefist
 #1

Problem: I have multiple rigs and I often switch different cgminers to be able to mine coins based on various algorithms (regular scrypt, scrypt-adaptive-nfactor, keccak sha-3, etc). I also lease my rigs on LeaseRig and customers often requests to switch a particular rig or all of them to a particular algorithm.

Solution: Make a simple back-end script and a simple web interface to be able to do all this with a single button click. Oh yeah, let the dreams come true!

---
So, basically I made a simple web page, actually a web wrapper to control my Linux based multi-mode rigs. This solution is only for Linux rigs (I guess the majority of serious rig providers are running some sort of Linux on the rigs anyway) and requires some Linux knowledge to properly set-up the environment. With this solution rig provider can control his rig's "mode" remotely solely with web browser.

The system consist of one shell script that handles cgminer "mode" via screen sessions and one php web page to control rig's "mode" - this php web page basically just calls the underlying shell script. Apache or some other webserver must be running on the rig (just basic install of apache is good out of the box with defaults). To be able to support Windows rigs one would have to write some kind of whatever script/app to be able to start/stop different cgminers (different forks of cgminers) in windows - I have no idea how to do this; but one could re-use the php web app on Windows rigs as well.

See demo video. This video shows how this script is stopping one cgminer and switches to another cgminer or vertminer or whatever. Keep in mind that this script switches cgminer and also (optionally) changes all the needed config at LeaseRig (see also the other demo below):

Video DEMO: http://files.kobal.org/caveminers/cgminer_switcher_demo.m4v

Further more, I made another php wrapper that enables me to switch mode for all my rigs at once, just with a single button ... this one actually just submits proper POST data to each rig's php web wrapper, see the demo here (this demo doesn't show cgminer, but cgminer is switching in the background just as it is on the previous demo):

Video DEMO: http://files.kobal.org/caveminers/cgminer_multi_switcher_demo.m4v

---
Things to keep in mind:
- currently only Linux rigs are supported
- this let's you change rig's cgminer instance as well as LeaseRig rig's configuration (type, speed, description, pools)

---
These scripts are in beta development. I'm not responsible for any kind of issues due to cgminer failures or errors! USE AT YOUR OWN RISK!

But if you like it, consider dropping a few mBTC to 1LfFJV321RKeUmhRAf9T5VXKreX7Zdm4y7 ... Thanks!

---
Quick (and dirty) how to (repeat this steps on each of your rigs):
http://files.kobal.org/caveminers/cgminer_switcher_README.txt

get the shell script here: http://files.kobal.org/caveminers/cgminer_switcher.sh.tar.gz
get the web scripts here: http://files.kobal.org/caveminers/cgminer_switcher_php.tar.gz

---
btw: here you can grab some Linux compiled versions of cgminer (and it's forks):
http://files.kobal.org/cgminer/cgminer-3.7.2-kalroth-20140204-LINUX.tar.gz
http://files.kobal.org/cgminer/cgminer-3.7.3-kalroth-keccak-LINUX.tar.gz
http://files.kobal.org/cgminer/cgminer-vertminer-gpu-LINUX.tar.gz
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!