Project URL out of date

Conan
Conan
Joined: 19 Jun 05
Posts: 172
Credit: 8254819
RAC: 4900

G'Day Gary, What I tried was

G'Day Gary,

What I tried was placing the account file from another machine onto my problem machine, restarting BOINC and then seeing if it created a new ID, which it did for Primegrid when I tested it.

 

It would seem that it may work with a new, clean state file as MarkJ suggested, but I am already running other projects so that was not possible.

 

I have done again what I did with Primegrid and placed an account file from another machine (this time an Einstein account file) into my BOINC folder, stopped and restarted BOINC and now Einstein is working and I have a new Work Unit.

 

It created a new ID as I guessed it would but it is working. I was trying to keep the old info but as I said in the PM to you, it is not the first time that I have gotten a new ID on this machine, so no big deal really.

 

At least it is finally working, I have no idea why BOINC manager would not let me add a computer but we have gotten around it and I am now cooking on gas.

 

Thanks to Mikey, MarkJ and especially Gary, for your help in sorting this issue out.

 

Conan

 

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117528980197
RAC: 35377808

Conan wrote:What I tried was

Conan wrote:
What I tried was placing the account file from another machine onto my problem machine, restarting BOINC and then seeing if it created a new ID, which it did for Primegrid when I tested it.

 You should have just tested it with an Einstein account file and left poor old Primegrid alone :-).

Conan wrote:
It would seem that it may work with a new, clean state file as MarkJ suggested, but I am already running other projects so that was not possible.

 I'm pretty sure that MarkJ suggested a new state file (which would have been created from information sent back by the scheduler) because (like me) he didn't realise that Primegrid was already running and had already created a state file :-).

Conan wrote:
I have done again what I did with Primegrid and placed an account file from another machine (this time an Einstein account file) into my BOINC folder, stopped and restarted BOINC and now Einstein is working and I have a new Work Unit.

 That's great news.  I'm really glad you have got it sorted.

Conan wrote:
It created a new ID as I guessed it would but it is working. I was trying to keep the old info but as I said in the PM to you, it is not the first time that I have gotten a new ID on this machine, so no big deal really.

This is why when I refurbish an old machine, I always create a quite small template state file with just a couple of crucial bits of information that guarantee the machine will use the former ID, even if there has been a complete change of OS and hardware.  It's easy for me since I only support one project.

With multiple projects, it's still possible.  You use the existing state file and add a new <project> ... </project> block to it.  That added block would be quite short with basically just the critical information.  The server just needs to know that the old host ID does indeed belong to the account listed in the account file and then it will fill in for you all the vast quantity of lines of information that normally reside in a specific project block.  Once you've done it a couple of times, it's a pretty simple thing to do.

Here is a classic example of where this has proved useful to me.  About 2 weeks ago, a late summer storm caused a fraction of a second power glitch which took out 90% of the fleet.  A couple of machines had severe file system corruption and wouldn't reboot.

In those or similar situations, the easiest recovery is to install a replacement disk, install the OS from a live USB, use a script to install all the BOINC stuff from templates, modify the template state file to give the correct host ID, launch BOINC and have it contact the project to get the 100's of tasks that the machine had at the time of the storm, resent as 'lost tasks'.  In less than an hour, the damaged machine was back crunching those very same tasks, with no other volunteer having to wait two weeks for those otherwise inaccessible tasks to time out.

The corrupted disks that were removed have been completely zeroed, re-partitioned, re-formatted and read/write checked for bad blocks and put in the stockpile for the next time this sort of event happens :-).  I have quite a collection of old disks (many 20GB IDE) that were put into service in business machines around 2002.   I purchased (and put back into service as crunchers) those machines in lots of 10 in computer auctions in 2006/7 when they were listed for sale.  I ran them for a couple of years and then shut down most of them and upgraded the rest with new board/CPU/RAM around 2009.  I have a big stockpile of spares to choose from :-).  I'm still using the disks and some of the PSUs.  Amazingly, very few of the disks have ever failed.

 

Cheers,
Gary.

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

I have an AT@T UNIX PC from

I have an AT&T UNIX PC from 1986 with a 40 MB hard disk still alive.

Tullio

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.