Hello fellow FOGgers
I’ve had a break from FOG for a few months but now the company I work for is moving away from using MDT and instead using FOG for all image deployment. So I’ve been tasked with getting the remote imaging part working now.
I have a aingle storage node at head office with 2 storage groups setup, one of which replicates to the remote storage nodes.
I have implemented the location plugin to handle image deployment to the remote sites. What I would like to achieve is using the head office normal node for all host registrations and image uploading but sync the image files to remote storage nodes and have image deployment controlled from head office but pulling the image file from the local storage node at each site.
This does not appear to be working however.
Initial TFTP on the remote client shows the IP Address of the main fog server looking for default.ipxe and boot.php then pulling down /bzImage and /init.xz files from the main server. The transfer of /init.xz file takes several minutes. I can see in PRTG that there is a connection between main fog server and the remote client.
Partclone then kicks in to restore the first partition (/dev/sda1) of around 300MB. But then the second partition piece (/dev/sda2) fails with error:
Partclone v0.270 http://partclone.org
Starting to retore image (-) to device (/dev/sda2)
device (/dev/sda2) is mounted at
error exit
-
This then continues on to black screen with the following error
#############################################################
# #
# An error has been detected! #
# #
#############################################################
Image failed to restore
#############################################################
# #
# Computer will reboot in 1 minute #
# #
#############################################################
On the fog server GUI the task shows commecning but then hangs at 97.10% on the first partition.
The same image can be deployed withn the head office fine so the image itself is ok. File size of the image on both the main server and storage node is the same - I’m going to check an md5 hash shortly to double check as potentially image is corrupt on node…
The other thing I wanted to check was the correct usage of the TFTP is node entry in the location plugin.
Way I have this configured at present is the remote node DHCP server points to the IP of the main fog server (not the storage node). And I have TFTP is Node entry unchecked. I have also tried checking this box but makes no odds.
So 2 main questions - has anyone seen the error above re the image and have a possible answer as to cause and a solution?
And secondly what is the correct setup with DHCP scope options and the TFTP is node entry in location plugin to achieve what I’m trying to achieve?
thanks for any advice one and all.
regards, Kiweegie,.
Mod edited to use code box.