Is it possible/useful in any way to run folding@home on a server and accessing the Webinterface remotely? If there is a solution where I need an reverse proxy, this is not a problem and also the authentication could I enable self with the use of the Reverse Proxy.
I've tried to use the forum search, but I couldn't find anything about that...
Running F@H on a server
Moderators: Site Moderators, FAHC Science Team
-
- Site Moderator
- Posts: 2850
- Joined: Mon Jul 18, 2011 4:44 am
- Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4 - Location: Western Washington
Re: Running F@H on a server
Hi and welcome to the forum.
This is possible, actually. First, install the FAHClient software on the server. It should prompt you for the username, team ID, and passkey, so you can put that all in. Once FAHClient is running and the folding has started as you want, stop the service with "sudo service FAHClient stop" and edit /etc/fahclient/config.xml. Add the following two lines:
<allow v='10.0.0.0/8 127.0.0.1'/>
<password v='PASSWORD_GOES_HERE''/>
Where the subnet is the external IP address or subnet, and the password is custom of course. Then restart FAHClient with "sudo service FAHClient start" and it should start folding again. From there, on your main computer, install the FAHControl package, which is a front-end to FAHClient. In the bottom-left corner, click "Add" and put in the server's IP address and the password you chose. FAHControl should connect and you should be able to control F@h on the server. This link won't be encrypted, but should work. The default port is TCP 36330.
This is possible, actually. First, install the FAHClient software on the server. It should prompt you for the username, team ID, and passkey, so you can put that all in. Once FAHClient is running and the folding has started as you want, stop the service with "sudo service FAHClient stop" and edit /etc/fahclient/config.xml. Add the following two lines:
<allow v='10.0.0.0/8 127.0.0.1'/>
<password v='PASSWORD_GOES_HERE''/>
Where the subnet is the external IP address or subnet, and the password is custom of course. Then restart FAHClient with "sudo service FAHClient start" and it should start folding again. From there, on your main computer, install the FAHControl package, which is a front-end to FAHClient. In the bottom-left corner, click "Add" and put in the server's IP address and the password you chose. FAHControl should connect and you should be able to control F@h on the server. This link won't be encrypted, but should work. The default port is TCP 36330.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
Re: Running F@H on a server
... and you can also in fact open up the web-interface for remote access. For that, you on the server in Advanced Control -> Configure -> Expert add a new client option "web-allow" with value again e.g. "10.0.0.0/8 127.0.0.1". I believe I've noticed that that option must be space-seperated (i.e., as displayed) if the server is Windows, comma-seperated ("127.0.0.1,192.168.1.0/24") if the sever is Linux. Also in this case restart FAHClient on the server. The (default) port to access is 7396.
Re: Running F@H on a server
Hmm, obviously the FAHClient won't start. Also with standard configuration it won't start
Is there something like a log file where I can get more information about what the problem is?
I'am running Debian on my server and of course there is no desktop environment (I think this shouldn't be a problem because the FAHClient has no GUI, except for the Web-Interface)...
Is there something like a log file where I can get more information about what the problem is?
I'am running Debian on my server and of course there is no desktop environment (I think this shouldn't be a problem because the FAHClient has no GUI, except for the Web-Interface)...
Re: Running F@H on a server
It looks like it has seen an old process, that is already stopped... I try rebooting the server...
Edit: Rebooting works
Edit: Rebooting works
Re: Running F@H on a server
Now it seems to be working, but it shows "Ready" and doesn't start. What should I do?
Ah Screenshot can be found here: https://tmp.kanjias.de/Screenshot_2020- ... -42-57.png (Note: Server saves logfiles, that would be automatically deleted maximum all 2 weeks if there is no VERY GOOD reason to keep them (known attack for example))
Ah Screenshot can be found here: https://tmp.kanjias.de/Screenshot_2020- ... -42-57.png (Note: Server saves logfiles, that would be automatically deleted maximum all 2 weeks if there is no VERY GOOD reason to keep them (known attack for example))
Re: Running F@H on a server
Now it's working ^^
-
- Posts: 1996
- Joined: Sun Mar 22, 2020 5:52 pm
- Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21 - Location: UK
Re: Running F@H on a server
It was simply waiting for a WU assignment I guess … looking at the FAH log would confirm what the delay was but most likely just a busy assignment server.
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070
(Green/Bold = Active)
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070
(Green/Bold = Active)
Re: Running F@H on a server
Ah ok. Good to know.