Image Replication
-
Okay - I’ll make a storage node-only install in a few minutes and give it a shot.
With that in mind, is it feasible to keep troubleshooting the current issue with the full servers?
-
@ty900000 said in Image Replication:
With that in mind, is it feasible to keep troubleshooting the current issue with the full servers?
We can. Step one - on the 2nd box, if you’ve created a storage node for the primary box, delete that.
Step 2, on your primary box, ensure the images are actually there still on disk. -
The 2nd box has only itself as a storage Node. The primary box does have the images still on it; I verified with du -h and they are the correct size.
-
@ty900000 Is the storage node in the same storage group as the master node?
-
@ty900000 there are no other members to sync to means the fog server and the storage node are in separate groups. Also you said you made blank image entries. What do you mean by this? Creating an image definition does not mean fog can replicate it because ther is no file data to replicate.
-
No, they are in separately defined storage Groups.
-
Okay. I changed the secondary storage Node to the primary’s storage Group.
And, the image files exist on the primary server. I’ll also delete the image definition on the secondary server to see if that helps it along, too.
-
@ty900000 said in Image Replication:
Okay. I changed the secondary storage Node to the primary’s storage Group.
That’s what will fix this. Try to restart the FOGImageReplicator and monitor the logs afterwards, it should start working after a bit.
-
Well, I’ll be! I think that worked. I could have sworn I had the same configuration before, but I guess not. That’s my fault.
Since it’s over a WAN link, it’ll take over an hour to move this one image. I’ll keep an eye on it, but it seems the primary FOG is replicating.
Thank you very much for the assistance! It’s much appreciated!
-
@ty900000 For you and for future readers, here’s some relevant documentation:
-
@ty900000 se as redes tiverem comunicação uma com a outra por VPN será q a sincronização das imagens podem funcionar por rsync? estou pensando em fazer isso na implantação do FOG que estou fazendo. Semana que vem posto os resultados.
[Moderator edit]: English auto translation - If the networks have communication with each other by VPN will the synchronization of the images be able to work by rsync? I’m thinking of doing this in the implementation of the FOG I’m doing. Next week put the results.
-
Yes, you can manually rsync the images over. I’m doing the replication between nodes so my coworkers who know nothing of Linux can synchronize images across FOG installations without asking me to do it.