Just add it to your cgminer.conf, like this:
"pools" : [
{
"url" : "stratum+tcp://middlecoin.com:3333",
"user" : "1E5PLsiUEzGqfLoLx5d1xpHF79jETTZcws",
"pass" : "x"
},
{
"url" : "stratum+tcp://eu.middlecoin.com:3333",
"user" : "1E5PLsiUEzGqfLoLx5d1xpHF79jETTZcws",
"pass" : "y"
}
]
You can add as many as you want.
You can also do stuff like auto-balance (mines all pools simultaneously), or failover-only, which starts at the top of your list and works its way down as servers fail. Google for cgminer.conf options and you'll get more details if you need it.
Is it possible to do this without editing the .conf file? I wouldn't want to bother doing that. Would I have to change the startup command if I did edit the .conf file?
If you are using .bat to start it this is what i use, with backup pool...
timeout /t 30
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://eu.middlecoin.com:3333 -u 1NhQX7r3BsPbMgiAaVnTgvs5W2fvQSgKa5 -p wooooo --failover-only -o stratum+tcp://middlecoin.com:3333 -u 1NhQX7r3BsPbMgiAaVnTgvs5W2fvQSgKa5 -p wooooo -o stratum+tcp://middlecoin.com:8080 -u 1NhQX7r3BsPbMgiAaVnTgvs5W2fvQSgKa5 -p wooooo --intensity 13,13,13,13 -g 2 --auto-fan --thread-concurrency 8192 --worksize 256 --shaders 4096 --gpu-engine 1015,1030,800,1030 --gpu-vddc 1.06 --temp-cutoff 95 --temp-target 82 --temp-overheat 90
Wow, thanks! The pools seem to be quite unstable at the moment, since my miners are switching between eu and us servers every few minutes. The script seems to work fine though. Btw, what's the function of that "timeout /t 30" at beginning?
No worries, thats because I've got the .bat file set to automatically run when my computer turns on, and i like to give the operating system 30seconds to get everything running smoothly before i start mining.
I use that config for my 2 7990s, depending on your cards you'll likely want to tweak the intensity, gpu engine settings etc.
If you want your rig to autostart mining from windows when you turn it on, follow these instructions (Copied & pasted from another site):
We want cgminer to automatically start mining whenever the rig is powered on. That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations.
In your cgminer folder, right-click on your new mine_litecoins.bat file, and click “Copy”.
Now, click on the Start Menu, then right-click on “All Programs”. Finally click on “Open All Users”.
Double-click “Programs”, then double-click “Startup”. Right-click anywhere on the empty background of the Startup folder and select “Paste shortcut”.
You should see a shortcut to your mine_litecoins.bat batch file appear in the startup folder. Windows should automatically execute it upon bootup.
Yes dasource, the first listed is the prefered, so it is repeatedly tried in the background if its switched to one of the next few as a backup, until it is back online, then it will resume mining with the first listed.
Dasource - yes, it auto keeps on trying the first pool repeatedly in the background when it is down, and as soon as its back up will reconnect. If its down it connects to next found in the list in order.