Image hosting on NFS server, process uncompleted?
-
ok lets assume that all FTP is equal.
Does filezilla have a log file so you can check to see if the FOG server is actually connecting to it? If there is a way to log what the FOG server is doing it would help us debug this.
Understand this is outside of the standard setup so a lot of this is just guessing.
-
@arnaudrigole said in Image hosting on NFS server, process uncompleted?:
I just transfered .img files in a directory named “P7510Win7prox64CAO” , exactly like defined in the “image path” on the image i created on fog webgui.
You shouldn’t have had to do the transfer manually. FOG Replication will take care of this - if - FTP is setup correctly.
As a test, from your FOG server, you can try to FTP into the windows storage node using commands found here:
https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Try_to_get_a_file_with_Linux: -
@Wayne-Workman
Hi Wayne,
What is FOG Replication?I followed the procedure to test FTP, it was a success. I could connect with fog credentials, create and transfer the test.txt file on external /images directory, and download then delete it…
@george1421
Filezilla displays the logons and actions directly in its console, the “logs” are on page 2, “directory not found” is displayed, because the correspondant directory is not created by fog…What is the part of fog upload script which create that directories in /images ? i’m almost certain thats component is not working, maybe it has no rw rights on /images , but i don’t know which user / process / protocol is used to create it (FTP too ?)
-
@arnaudrigole said in Image hosting on NFS server, process uncompleted?:
What is FOG Replication?
The below article is about the location plugin, but contains information about replication.
https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin -
@Wayne-Workman said in Image hosting on NFS server, process uncompleted?:
@arnaudrigole I have some methods documented.
using lftp:
lftp -c 'open x.x.x.x; user UserGoesHere PasswordHere; mirror -e /images/TheImagePath /images/TheImagePath; quit'
using NFS:
mount x.x.x.x:/<remote directory> <local directory>
cp -R /mbimages/Optiplex9020UEFI /images/Optiplex9020UEFI
umount <local directory>
Using Samba:
mkdir /tempMount
mount -t cifs //x.x.x.x/ShareNameGoesHere /tempMount -o username=YourUsernameGoesHere -o password=YourPasswordGoesHere,noexec
cp -r /tempMount/ImageNameHere /images/ImageNameHere
umount /tempMount
using SCP:
scp -r /images/ImageNameHere root@x.x.x.x:/images/ImageNameHere
using rsync:
rsync -a /images/ImageNameHere root@x.x.x.x:/images/ImageNameHere
wiki worthy
Added to the wiki here:
https://wiki.fogproject.org/wiki/index.php?title=Migrate_images_manually