Imaging Computers

Anonymous
Topic 13254

Quote:
We are about to re-image a couple of computers. I noticed that when we re-image a computer with BOINC that it is reporting out incorrectly. For instance, here is the situation. Take 2 computers, initially one running BOINC, the other not. I ghost the image to the other machine and now I have 2 machines whith identical images. I look at my BOINC account and it still shows 1 computer. When the computer that has been imaged transfers the work it has done, then the BOINC account manager still shows 1 computer but now it shows the machines name has been changed to whichever machine was the last reported. Any help would be appreciated.

Mark, when you 'clone' a computer, you have two computers each with the same host id (a number). The BOINC scheduler keeps track (in the database) of how many times it has been contacted by each host. The host machine ALSO keeps a record. The FIRST host to contact the scheduler has a consistent number of contacts with the database. But the SECOND host has fewer contacts recorded than the scheduler. In such cases, the scheduler assigns a new identity (hostid) to the SECOND machine.

Does this help? I'm not sure I understand your question.

Bruce

Bruce Allen
Bruce Allen
Joined: 15 Oct 04
Posts: 958
Credit: 170,849,008
RAC: 0

Imaging Computers

Quote:
Yes, I think that will answer the question. In other words, when I clone a computer, the scheduler will eventually assign a new identity. Just wanted to make sure before we start cloning all the computers in all of our labs.

You should be able to clone all the computers in your labs in this way. But please do keep an eye on them afterwards to be sure that they are behaving properly.

Cheers,
Bruce

Bernd Machenschalk
Bernd Machenschalk
Joined: 15 Oct 04
Posts: 2,684
Credit: 25,950,161
RAC: 34,820

You can force a new hostid

You can force a new hostid assignment by deleting the line from the file client_state.xml. Note that this is similar to resetting the project, so if you want to keep things running as they were on the original machine, make a backup copy of the file first, then delete the line, ghost the image, and restore the original file on the one machine.

BM

BM

Comment viewing options

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