Duplicate CPID

Message boards : Questions and problems : Duplicate CPID
Message board moderation

To post messages, you must log in.

AuthorMessage
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106555 - Posted: 27 Dec 2021, 18:33:31 UTC

I have a problem with two of my machines, one was cloned from the other a long time ago. At the time some Boinc projects got mixed up, but they worked it out automatically somehow.

Now I'm on grcpool, the problem is occurring again. When one of them synchs with grcpool, the pool changes the hostname to that one, thinking it's the same machine. How do I seperate them? I've tried uninstalling boinc from one of them and deleting the boinc data directory, but the problem persists. The CPID is the same for both machines, dd731609735947bc6aed4d89a2205adc, one is called ryzen, the other is called glass.
ID: 106555 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 1694
United Kingdom
Message 106558 - Posted: 27 Dec 2021, 19:45:06 UTC - in response to Message 106555.  

Not quite sure if this is a BOINC problem or a GRIDCOIN ONE.
ID: 106558 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106561 - Posted: 27 Dec 2021, 21:17:20 UTC
Last modified: 27 Dec 2021, 21:17:46 UTC

Since it's on the same two machines that really upset WCG before, because I cloned one to the other, and the same thing is happening now - same CPID, I'm sure that's what's wrong. All I need to know is where the machine has stored the CPID, so I can delete it and it can get a new one. I can't find it in the registry or the data or user folders.

Perhaps, even reinstalling Boinc, a project recognised it and it got the same ID again? Would changing the Windows network name help?
ID: 106561 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106563 - Posted: 27 Dec 2021, 21:36:29 UTC - in response to Message 106561.  

No, changing the network name didn't help. Does somebody know how to make it forget who it is?
ID: 106563 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 1694
United Kingdom
Message 106564 - Posted: 27 Dec 2021, 22:21:30 UTC - in response to Message 106555.  

Not quite sure if this is a BOINC problem or a GridCoin one. A substantial change to one of the machines, such that it is no longer recognised as the same computer would be one way to resolve this but certainly not the most elegant way. If I come up with something better I will post.
ID: 106564 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106566 - Posted: 27 Dec 2021, 22:44:54 UTC - in response to Message 106564.  

When I cloned it, it was a substantial change. Every single component was dramatically different.

Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc).
ID: 106566 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 225
United Kingdom
Message 106568 - Posted: 27 Dec 2021, 22:49:31 UTC - in response to Message 106566.  

When I cloned it, it was a substantial change. Every single component was dramatically different.

Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc).


I believe that substantial change is Windows to Linux or Intel to AMD - not just Win7 to Win10 or Ryzen 5 to Ryzen 7.
ID: 106568 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106570 - Posted: 27 Dec 2021, 22:52:29 UTC - in response to Message 106568.  

When I cloned it, it was a substantial change. Every single component was dramatically different.

Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc).


I believe that substantial change is Windows to Linux or Intel to AMD - not just Win7 to Win10 or Ryzen 5 to Ryzen 7.


The CPU changed from an Intel i5 to a Ryzen 9.
ID: 106570 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 225
United Kingdom
Message 106571 - Posted: 27 Dec 2021, 22:54:25 UTC - in response to Message 106570.  

When I cloned it, it was a substantial change. Every single component was dramatically different.

Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc).


I believe that substantial change is Windows to Linux or Intel to AMD - not just Win7 to Win10 or Ryzen 5 to Ryzen 7.


The CPU changed from an Intel i5 to a Ryzen 9.


That should have done it.
ID: 106571 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106573 - Posted: 27 Dec 2021, 22:57:48 UTC - in response to Message 106571.  

When I cloned it, it was a substantial change. Every single component was dramatically different.

Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc).


I believe that substantial change is Windows to Linux or Intel to AMD - not just Win7 to Win10 or Ryzen 5 to Ryzen 7.


The CPU changed from an Intel i5 to a Ryzen 9.


That should have done it.


It didn't. I cloned from the i5 to the Ryzen 9, then ran Boinc on them both, can't remember which first. At that point it had the drastically different CPU and motherboard and a different hard disk all at once. The memory was similar, the OS the same, and the GPU the same.
ID: 106573 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1636
Australia
Message 106577 - Posted: 28 Dec 2021, 0:15:11 UTC

This is the info page about cpid: Cross-project_identification

Results from a web search suggest that using a different email address may give you a different cpid.
ID: 106577 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 703
United States
Message 106578 - Posted: 28 Dec 2021, 0:32:42 UTC - in response to Message 106561.  

For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file.
The external CPID field is the one that the stats sites and GridPool pay attention to.
ID: 106578 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106579 - Posted: 28 Dec 2021, 0:36:32 UTC - in response to Message 106577.  
Last modified: 28 Dec 2021, 0:36:47 UTC

This is the info page about cpid: Cross-project_identification

Results from a web search suggest that using a different email address may give you a different cpid.


I assume that could be temporary, and changing it back to the original email address would give me yet another new CPID? I'd prefer to keep the same email address or I'd need seperate accounts on all the projects, and keeping track of credit would be difficult.

I'll try this tomorrow, time for bed in the UK....
ID: 106579 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106581 - Posted: 28 Dec 2021, 0:38:50 UTC - in response to Message 106578.  
Last modified: 28 Dec 2021, 0:42:21 UTC

For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file.
The external CPID field is the one that the stats sites and GridPool pay attention to.


I've just checked one of the offending machines, and that field is blank. Can I just put anything in there? I suppose I could make something that looks similar to what they should be.

The file has:
<cross_project_id>d8ffd2cc24b930b1c79b0041a5f21fc5</cross_project_id>
<external_cpid></external_cpid>

But grcpool.com shows that machine as dd731609735947bc6aed4d89a2205adc
ID: 106581 · Report as offensive
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 611
United States
Message 106583 - Posted: 28 Dec 2021, 1:10:54 UTC - in response to Message 106581.  
Last modified: 28 Dec 2021, 1:27:47 UTC

For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file.
The external CPID field is the one that the stats sites and GridPool pay attention to.


I've just checked one of the offending machines, and that field is blank. Can I just put anything in there? I suppose I could make something that looks similar to what they should be.

The file has:
<cross_project_id>d8ffd2cc24b930b1c79b0041a5f21fc5</cross_project_id>
<external_cpid></external_cpid>

But grcpool.com shows that machine as dd731609735947bc6aed4d89a2205adc


I just went through this as un-accountably, einstein had not put a value in the extern_cpid field

The value in there is the one for all your systems, the one that starts with 53...

https://www.gridcoinstats.eu/cpid/53ed9d9b7d568cb7eb1ccc25a7dc4492

Hopefully you do not have different external CPIDs which is a PITA to fix.

[edit] I do not see any of your system addresses. Either you have another account or the systems have not propagated their CPID into the eu stats table. if you put in my name you will see 5 active addresses each corresponding to a system CPID and under that the four main projects I work on. You should have a single external CPID good for all your work.
ID: 106583 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 703
United States
Message 106584 - Posted: 28 Dec 2021, 1:53:42 UTC - in response to Message 106581.  

Gridcoin depends on a single CPID address across all projects. That address is the one that goes into external_cpid in every host computers client_state.xml file.

The other cpid addresses are for identifying each host for only that particular project in EACH project section of the client_state. Those addresses have nothing to do with gridcoin. They are only important for the individual host stats at the 3rd party aggregation websites or the projects websites.

As Joseph points out the CPID you need to concentrate on is the one starting with 53ed . . . that needs to be put into every <external_cpid> field in every project section in the client state file. The easiest way is to use the global Find and Replace function in a file editor.
ID: 106584 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 703
United States
Message 106585 - Posted: 28 Dec 2021, 1:55:25 UTC - in response to Message 106583.  

Yes, Einstein is notorious for leaving the <external_cpid> field blank and unfilled because they use outdated server software. Updated server software fills that in and properly propagates it to all the project fields in the client state file.
ID: 106585 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106592 - Posted: 28 Dec 2021, 16:20:53 UTC - in response to Message 106585.  
Last modified: 28 Dec 2021, 16:55:11 UTC

PROBLEM SORTED, SEE MY LATER POST AND DON'T READ THE BELOW UNLESS YOU'RE BORED......



I didn't realise there was more than one entry in client state. The one I saw blank was Einstein. All the others on my computer "Ryzen" are:
<cross_project_id>d8ffd2cc24b930b1c79b0041a5f21fc5</cross_project_id>
<external_cpid>163f049997e8a2dee054d69a7720bf05</external_cpid>
Einstein only has the (same) cross_project_id, with external left blank.

That external CPID doesn't seem to relate to me, but one of the grcpool.com pools: https://www.gridcoinstats.eu/cpid/163f049997e8a2dee054d69a7720bf05

Note I used gridcoin 3 years ago and stopped, and only started again yesterday, so you might be looking at an old version of me. I'm using grcpool.com as a pool, and not solo crunching.

Picard (a seperate machine, I don't think was cloned) has the same IDs.
Black (a seperate machine, not cloned) has the same IDs.
Glass (the one having a problem with Ryzen, definitely a clone) has the same IDs.

I'm confused now, clearly neither of these is used to identify a computer, it's used to identify me. I need to seperate the two computers so I can set different projects for them in the account manager (grcpool.com).

Perhaps what I need is this? <host_cpid>6741f045fe588ae7762d5277e80edf4b</host_cpid> That is shown on the page on grcpool.com for the computer black, and it's also in the client state on that computer.

Glass and Ryzen both get called dd731609735947bc6aed4d89a2205adc, on the pool page and in client state.
Black has a different one, 6741f045fe588ae7762d5277e80edf4b

So I'm trying making a random one up for glass to differentiate it from ryzen....
Failed. It took the random number I put in, showing it on the pool page, but overwrote ryzen, despite a different ID and network name, and entirely different hardware.

So perhaps the pool remembered it and merged it? Trying again, new random ID and new network name at once, also reconnecting to grcpool.com instead of just synching....
Failure. The fake number is not accepted by projects.
ID: 106592 · Report as offensive
Peter Hucker of the Scottish B...
Avatar

Send message
Joined: 6 Oct 06
Posts: 1344
United Kingdom
Message 106594 - Posted: 28 Dec 2021, 16:54:02 UTC - in response to Message 106592.  
Last modified: 28 Dec 2021, 17:06:16 UTC

Fixed! If you have two hosts one cloned from the other, the <host_cpid> is presumably generated from the hardware. The clone will then have the <host_cpid> generated from the original's hardware. To sort it, ON THE CLONE, detach from all projects, close Boinc, make <host_cpid> blank in client state, then start up Boinc, no need to attach to anything, it will immediately generate the correct <host_cpid> for that hardware. If you try this on the original, it will just generate the same <host_cpid> again.
ID: 106594 · Report as offensive

Message boards : Questions and problems : Duplicate CPID

Copyright © 2022 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.