two clients same image
-
I have two clients that appear to be the same client as each host registration deletes the other registration.
Let me explain. I had been imaging a client and decided to upgrade the motherboard of that client (I’ll call this one “client A”). Imaged the “newer” mb machine okay.
Decided to recommission “old” mb into a different machine for other duties (call this one “client B”). Now, when I try to register this recommissioned client B machine, FOG thinks it is still the “client A” and will only allow deletion of the host. When I delete host FOG deletes the “client A” host and images.
What I know so far . . . I deleted any/all “client A” and “client B” hosts. Re-registered both clients and created active task to image “client A” and told FOG to capture image of “client A” then restarted “client A”. “client A” will not image, it just restarts the OS.
Some how “client A” is being “seen” by FOG as “client B” host and as I am requesting the image of “client A”, I think, FOG is seeing it as “client B” and NOT capturing image.
The FOG server is a Debian 9 running headless with FOG 1.5.0-RC-10.
When I go to MAC Address Manufacturer Listing it says “Current Records: 0”. Is FOG storing MAC addresses somewhere that I need to delete/reset to correct this issue?
-
@trebor You need to run the database maintenance commands found in the link below, and hopefully everything is solved for you:
https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Database_Maintenance_CommandsAlso, as crazy as this might sound, we did have one community member find himself with two motherboards that infact had the exact same MAC addresses… (he sent them back to the manufacturer and got free replacements). In the off chance that this happened to you, check the MAC addresses to ensure they are different.
-
@trebor said:
The FOG server is a Debian 9 running headless with FOG 1.5.0-RC-10.
Which branch of FOG did you install?
dev-branch
orworking
? I just want to make sure we know which version exactly you have.As Wayne said, please check the MAC addresses of those two machines (boot up windows -> command prompt ->
ipconfig /all
).When I delete host FOG deletes the “client A” host and images.
FOG does not delete images when you delete a host! Are you sure this is happening?
-
Both machines are two different manufacturers so, MAC addresses are different and different IP addresses. (First thing I checked but, tanks for asking.)
Second, these are NOT Windows machines.
Third, as stated in initial post “FOG 1.5.0-RC-10”. (Not sure how I got that version but I think it was from a git pull.)
Now, please, let’s move back to the question at hand . . . “client B” (via the FOG server) has got to be seeing “it’s” old images (when it was the “client A” motherboard.) This, most likely has to be due to the MAC address. How do I delete those ‘old’ backups? How do I purge by MAC address?
At this point, only four clients (here at home) so, if I have to purge every client backup since initial setup I am okay with that as it is easy enough to re-image all machines with new images.
Could this be a simpler solution, purging all backups and (essentially) starting over anew?
-
@trebor said in two clients same image:
How do I delete those ‘old’ backups? How do I purge by MAC address?
I asked you to run some DB commands that would probably fix this. Give them a shot please.
-
Had time to run the DB commands and that solved my problem. Thanks.
FOG Project is a new creature to me and despite the challenges I am really enjoying what it can do!