This guide follows on from Part 7 of my step by step guide to building a 6 GPU Mining rig. Originally this was going to cover profitability and ROI, but I realized I have not yet explained how to make sure your rig runs 24/7. You need to do this by setting up auto restart in the event of power cuts/crashes.
Auto Restart GPU Mining Rig
As running your rig 24/7 is key to maximizing your profitability, I have moved profitability and ROI to part 9 and will cover crashes and power cuts now.
Hopefully by now your mining rig has been hashing away for a day or two and you are fairly confident everything is stable. Before we leave your GPU rig on auto pilot, we need to be able to do three things:-
- Be able to remotely monitor your rig to make sure it is hashing 24/7.
- Have a procedure to auto restart your rig and fire up nicehash after a power cut.
- Have a method to remotely restart you rig in the event of a crash.
You can easily monitor your rig’s live hash output on the Nicehash website by either logging into your account, or checking your miner by entering your wallet address here.
That’s fine, but it’s not really very convenient. I much prefer to have an app on my phone I can check 24/7 to see if my miners are active. Unfortunately Nicehash does not have it’s own tracking app, but there are a number of 3rd party apps available.
My favorite for iOS is Nicestats which pretty much lets you track everything including your wallet balance, miners and daily profit. Google Play has a lot more apps available, but I can’t personally vouch for one particular app.
The main thing is you need an app that lets you see if your active miners are working in real time.
Auto Restart after Power Cut
If you have been following my step by step guide you should have already set your GPU mining rig to auto reboot after a power cut. You will also have disabled Windows login. How to do this is covered in detail in Part 4 here.
This means if you do get a power cut, your rig should get back into Windows by itself.
Now we need to setup Nicehash to auto run and start mining. First you need to load Nicehash and under settings make sure the “Autostart Mining” box is checked (top box under Misc shown below). Once checked you can save and close.
Next we need to use windows task scheduler to automatically load nicehash after windows loads. In the windows search bar type “Task Scheduler” and select it from the list.
Once open you need to click on “create task” shown in the actions column on the right hand side of the program.
Next type any name, check the box “run only when user is logged in” and tick the box “run with the highest privileges”.
Under the triggers tab you need chose the drop down Begin the task “At log on”. Select “Any user” and then tick the box “delay for 30 seconds”.
Under the actions tab, choose new action and then choose “Start a program” from the Action drop down box. Hit browse and then locate the .exe file for Nicehash Legacy. Click OK.
Finally on the settings tab make sure the “Allow task to be run on demand”, and”Run task as soon as possible after a scheduled start is missed” is ticked. Also make sure you remove the tick from “stop the task if it runs longer than 3 days”.
Save and exit. Then restart your mining rig and wait 30 seconds for Nicehash to load. If all has gone to plan your GPU mining rig should auto fire up and start mining in Nicehash!
Remotely Restarting your Mining Rig
Whilst the above will help if you have a power cut, it won’t help if your rig crashes/freezes and doesn’t restart. For crashes we need to be able to remotely restart our rig.
There are a number of ways to do this including windows remote desktop and various 3rd party remote desktop solutions. I’m not a fan of these as some require a fixed ip address (which you may not have) and 3rd party solutions have their own security issues.
Force a restart
I have a very crude, but effective way to force your rig to restart at any time without requiring a remote desktop solution. In Part 1 of my guide I listed an energy monitor: TP-Link HS110 Wi-Fi Smart Plug with Energy Monitoring. This is a great bit of kit which will allow you to monitor the power at the wall of your rig from an app on your mobile.
You simply plug this into the wall and then plug your GPU mining rig PSU into the energy monitor plug. Now follow the instructions that came with the energy monitor to get the app working. Once setup you should be able to monitor your power remotely on your mobile phone.
There is one other great feature of this plug – it allows you to remotely turn the power on/off through the app. Now if you see your miner stops hashing you can turn the power on/off, forcing your mining rig to reboot. Now you have a manual way to force a restart in the event of a crash.
Some form of energy monitor is also vital for calculating your ROI which I will cover in Part 9.