United BOINC

 
  • Increase font size
  • Default font size
  • Decrease font size
Home BOINC information Host identification and merging

Host identification and merging

E-mail Print PDF
AddThis Social Bookmark Button

We haven't found a universal hardware-level mechanism (CPU chip ID, MAC address) for uniquely identifying computers. So we do it in software as follows: When a computer first contacts a project's scheduling server, the server creates a database record for the computer , which includes a host ID and an RPC sequence number. The computer ID and the RPC sequence number are also stored in the client's client_state.xml file. The client increments the RPC sequence number on each scheduler request.

 

If the scheduling server receives an RPC with a sequence number less than the expected sequence number (usually indicating that the user has copied the client_state.xml file between computers) it creates a new database record and returns a new ID.

Merging duplicate computer records

This mechanism can lead to situations where a project's server has multiple database records for a single computer. For example, this will occur if the user deletes the client_state.xml file. The user can merge these duplicates into a single record via a web interface.

You may only merge two computer records if

  • They have the same processor type (Intel, AMD etc.) and operating system.
  • They don't overlap in time; i.e. computer 1's last RPC happened before computer 2's first RPC, or vice-versa.

There are two ways of merging computer records:

  • To merge a single computer, open its Summary page, and click on "Merge this computer". You will see a list of computers eligible to be merged with this one, and you can select any or all of them.
  • The "Your computers" page has a link Merge computers by name. This feature lets you automatically merge all eligible computers having the same domain name. This is handy if you run a "computer farm" and periodically reformat all the drives.

Alternate identification method at World Community Grid

In absence of a merge feature at this project, WCG introduced an alternate method called host matching to recognize previously existing devices to prevent new / duplicate registrations. For that the server compares standard information exchanged during server-client communications being:

  • user name
  • domain_name
  • ip_addr (the ip of the client on the local network)
  • operating system name
  • processor vendor
  • memory

The most recent record that matches this criteria (if found) will be re-used. It will cancel any results currently assigned to the client, and then issue new work. This is because a user might be trying to clear out some work that was causing some form of trouble. If any of this information is hidden through for instance setting the <suppress_net_info> flag in the cc_config.xml file suppressing the IP address or domain_name, the method fails and will create a new device registration.

 

Who's Online Who's Online

We have 337 guests online

Login Form Login form

Login with an OpenID & Login with Gmail - Allowed!Allowed login methods

Statistics Statistics

Members : 200
Content : 97
Web Links : 10
Content View Hits : 1352084

Check out these cool BOINC videos!

The science behind Rosetta@homeThe science behind Rosetta@home

 

Einstein@home - LIGO Gravitational Wave ObservatoryEinstein@home - LIGO Gravitational Wave Observatory

 

climateprediction.net - Results Programme Documentaryclimateprediction.net - Results Programme Documentary

 

Poll Poll 1

Is BOINC manager "User friendly"?
 

Poll Poll 2

How many BOINC projects are you running?
 

Poll Poll 3

Have you ever used an Account Manager?