• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. KennethJ
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    KennethJ

    @KennethJ

    0
    Reputation
    5
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    KennethJ Unfollow Follow

    Latest posts made by KennethJ

    • RE: Image sharing between sites

      @Quazz Thank you. I’ll look into the API.

      This issue could probably be closed now. The image “export/import through API”-issue seems to me is a new and separate, though closely connected, issue.

      For future readers the best solution, if FTP is possible over your network, would be to set up the remote servers as a “storage node” with “Is Master Node” unchecked. When this is done you simply check the “Replicate?” field for the images you want to be synchronized across all sites. You will still need to use the import/export functionality to make the images available at the remote sites.

      However if FTP is not possible over your network you need to use rsync or scp or your preferred file transfer method, to transfer the images. (More examples can be found here: https://wiki.fogproject.org/wiki/index.php?title=Migrate_images_manually) This also requires the use of the import/export functionality.

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @KennethJ So I’ve got the image sharing between the sites working. But is there any way to do the export/import of the image through a script? Or a way to create the ‘image_export.csv’ file from a terminal? Or can this only be done using the ‘export image’ function from the fog manager?

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @Sebastian-Roth Ah, I was not aware of that. If that is the case it seems the rsync @george1421 suggested might be our best option, and probably the one we will try to use. Do you have any suggestions on how to do this @george1421 or is the “migrate fog” wiki artikle our best bet?

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @george1421 Have tried a bit now and it seems the FTP port is closed by default on all our networks. Is it possible to make FOG use a different port for the FTP-connection? We do not want to open the default FTP port.

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @george1421 Should this work between all versions of fog? If one server is 1.5.4 and one is 1.3.5 for instance?

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @george1421 said in Image sharing between sites:

      @KennethJ said in Image sharing between sites:

      But what we would like the possibility to do, is create a image at one of these sites and then send it to the others, and then have it automatically available in that FOG-server. Do you have any feature for something like this? An autosync or manuall image transfer?

      There is an unsupported feature in FOG. You can do this with one caveat.

      How to do this: On your master fog server (or the one where you are doing your image development work). Create a storage group (or use the existing default storage group), add the master fog server as the master of that storage group. Then manually add the other remote Normal FOG servers as storage nodes in that storage group.

      Once that is done, any images with the Replicate? (in the image definition) that is enabled will be replicated to all storage nodes in the active storage group. This will get the raw image files to the remote fog server.

      I’ve tried setting up two FOG servers as you said. But images marked with the Replicate? seem to not be replicated to the storage node. Does it need a restart or something to start replicating? Both the Master-node and the remote-node are set up with a Replication Bandwidth (Kbps) of 100,000, and Max Clients = 10. Do they need to have the same Interface? Another possible issue might be with our network setup. Our network is setup in a way that makes it impossible for the remote-node to contact the master-node. Could this be an issue? All access within our network is done top-down.

      posted in FOG Problems
      K
      KennethJ
    • RE: Image sharing between sites

      @george1421 Thank you so much for your quick reply. I’ll definitely look into this. Thou I may not be able to do so until next week.

      posted in FOG Problems
      K
      KennethJ
    • Image sharing between sites

      Hey. First off I know there are some issues similar to this one, but I’ve mostly found old ones and in some of them it was mentioned you might look into feature for this. But I have not seen anything about this feature.

      So my scenario is this:
      Let’s say I have 6 (arbitrary number) sites, all with their own FOG-servers. Today we create separate images for each site at that site. But what we would like the possibility to do, is create a image at one of these sites and then send it to the others, and then have it automatically available in that FOG-server. Do you have any feature for something like this? An autosync or manuall image transfer?

      If not, does anyone have a script doing this that can be run from one computer?

      Thank you in advance.

      posted in FOG Problems
      K
      KennethJ