Posts by John Gifford

1) Message boards : Web interfaces : PHP Webpage based BOINC monitor (Message 66448)
Posted 28 Dec 2015 by John Gifford
Post:
Alternatively is there a way to force a client to create a checkpoint in the work unit. Because looking at BOINC Tasks I can see that the client in question hasn't written a checkpoint in nearly 6 hours.
2) Message boards : Web interfaces : PHP Webpage based BOINC monitor (Message 66447)
Posted 28 Dec 2015 by John Gifford
Post:
I run a home LAN with multiple computers crunching BOINC units now rather than running BOINC manager on either every computer on multiple instances on one computer I would like to be able to create a custom webpage on my home intranet that can access all running clients from a list I give it and show me the current state of any active units (particularly fraction done).
I've used BOINC-LCS as a base and that has had some success does seem to work OK, the original script read the client_state.xml file on each running computer once that file was put onto a web server. After some editing of the php based scripts I can get it to read the boinc_task file in the correct slot folder too so I can refresh and get a more up-to-date result. However I've run into an odd hitch, one client (Ubuntu linux based) though showing active connection to the boinc manager and currently reporting a 90+% complete on the current unit has not written a boinc_task.xml file to the folder it is supposed to, I've checked the /var/lib/boinc-client/slots folders there is no file there. Can anyone help with maybe a php based function I could add or bolt into my script to connect to the client via gui rpc so I can get a live result? Any help would be appreciated.
3) Message boards : Web interfaces : Webpage BOINC manager (Message 55898)
Posted 8 Sep 2014 by John Gifford
Post:
Well the verdict is as follows:
The BOINC GUI PHP just does nothing, I don't know if it's a config thing, but it just shows the name of the computer it's supposed to be accessing and nothing else.

BOINC LCS you have to install a webserver on every computer that's crunching. OK so I installed a light apache on all of them and it works but the LCS setup uses the client_state.xml to get the task details. BOINC have changed the file that gets written when the crunching is taking place. Rather than rewriting the client_state.xml file every time BOINC now changes a boinc_task_state.xml file inside a 0, 1, 2, 3 etc folder which are in turn inside the slots folder. So if your PC can crunch 8 units at the same time you have 0-7 folders. To get it to work correctly it's going to take some heavy rewriting of the php code, I've managed to get it to show the fractions from the last write of the client_state file but that's not current.

I think both of these add-ons are out of date and need to be revised. LCS looks the most promising though.

John Gifford
4) Message boards : Web interfaces : Webpage BOINC manager (Message 55896)
Posted 8 Sep 2014 by John Gifford
Post:
Jord you're a godsend, thank you.

I'll have a look at the add-ons and let you know how I get on if you're interested. I did try contacting the dev team myself but I just got an automail reply that I required to be registered to mail them, and at the time I wasn't registered.

At first glance I might give the LCS a try, the home server I've got is running an apache platform. But thanks a million

John Gifford
5) Message boards : Web interfaces : Webpage BOINC manager (Message 55812)
Posted 6 Sep 2014 by John Gifford
Post:
I don't know if someone has managed to do this already, if so then I would appreciate being pointed in the right direction. I have been crunching Seti@home units for some years, even before BOINC. But now I have a small network of computers, every one of them is crunching seti units in one form or another. I have each setup to enable remote access from my home server. So I can run multiple BOINC managers on that server and they all display on screen with a constantly updated display of the progress of each PC on my network...great! I also have each Boinc manager skinned in simple view so I know which computer it is referring to.

However, when the power manager kicks in on the server display it ends up shifting around the Boinc windows I lay them out in one pattern and they get moved and stacked at random. Also any single PC that requires restarting then means restarting the manager on the server.

What I was wondering therefore: Is there a Boinc manager type display that could be incorporated into a webpage instead of the separate program? Effectively a webpage monitor that could rather than requiring the client to be active could sit and wait for a PC client connecting when available? That way I can setup a single webpage display that I could put into kiosk mode on the server. I don't strictly require all the remote control stuff as I just want to monitor the progress of the work being done. I understand HTML, CSS and PHP quite well but have not got a clue where to start with something like this.

Any help would be appreciated.

John Gifford

Additionally there used to be a program with the original Seti@home that allowed a single computer to cache work units and then farm them out across a network. Anyone know if there is anything similar for Boinc?




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.