Message boards : Server programs : Cloning Fedora 25 with BOINC Preinstalled
Message board moderation
Author | Message |
---|---|
Send message Joined: 1 Dec 16 Posts: 2 |
I have a VM with Fedora 25 and BOINC installed. I'd like to clone a couple of copies but when I do every copy of the app has the same computer account ID. Is there a way to reset the ID? |
Send message Joined: 29 Aug 05 Posts: 15560 |
What if you remove the ID from client_state.xml and set the host_ID to zero before restarting BOINC? Just taking a guess here... I would think the moment that copy then made contact with the server that it would get appointed a new ID. |
Send message Joined: 4 Jul 12 Posts: 321 |
It's usually better to just remove the entire client_state.xml and provide a pre configured account_URL.xml file if you want the host to attach to a specific project at start. If you are using a recent version the Client uses the MAC of the computer to reuse any old hostid on the server. So you don't end up with new hosts everytime you reimage a computer. |
Send message Joined: 29 Aug 05 Posts: 15560 |
Yes, I suppose you're right in that removing the client_state.xml and client_state_prev.xml files will remove all that info, giving it essentially a factory reset. But are you sure about the MAC address? |
Send message Joined: 4 Jul 12 Posts: 321 |
Yes, we are using an initial account_*.xml to install BOINC on the compute nodes in the ATLAS Cluster. In the past we had problems with such kind of installations but since changing to a BOINC version that generates the host CPID using the MAC of the host we have no problems. The server can find the previous host entry in the DB based on the CPID granted that you always use the same user. |
Send message Joined: 13 Jun 14 Posts: 81 |
When I've done that previously I start BOINC, let it run benchmarks, and then copy the VM form that point. Once you start adding projects the client CPID is created. |
Send message Joined: 4 Jul 12 Posts: 321 |
When I've done that previously I start BOINC, let it run benchmarks, and then copy the VM form that point. That works too but you need to remember to add projects once you started a fresh VM. That is just an extra step that you might want to prevent if you already know which project or account manager will be attached. |
Send message Joined: 1 Dec 16 Posts: 2 |
Thanks, I ended up just installing BOINC after the clone. Natasha |
Send message Joined: 13 Jun 14 Posts: 81 |
When I've done that previously I start BOINC, let it run benchmarks, and then copy the VM form that point. I made a .bat with the projects I wanted to attach to. So once the system was up I just ran attach.bat and was done. That was the easiest way for me at the time. As I was doing 10 VMs attaching to the same 6 projects. |
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.