• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    When Does FoG push the Image VIA FTP to Location Node

    Scheduled Pinned Locked Moved
    General
    3
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mattitn
      last edited by

      I have a Fog server that i’d like to capture an image to and have it replicate to another full fog server at a second location.
      Just a couple questions.
      When does the FTP transfer to storage node take place? after the image is captured on the master node? On a regular Interval? Can I watch it transfer via the bandwidth - transmit GUI?
      Also, do I have to pre-create the image on the secondary server? or when it FTP’s, will it do that?
      I ask, because I see the files in /images on my secondary server where it should be, but the image in the web GUI of my second location says “size on client 0 bytes” for the image.
      I’m not sure what i’m doing wrong.

      Does my secondary server HAVE to be just a node? or can it be a full server install?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Mattitn
        last edited by

        @Mattitn said in When Does FoG push the Image VIA FTP to Location Node:

        When does the FTP transfer to storage node take place? after the image is captured on the master node? On a regular Interval? Can I watch it transfer via the bandwidth - transmit GUI?

        Replication should start soon as the imaging task is complete and the image is marked OK for replication. Replication will start.

        Also, do I have to pre-create the image on the secondary server? or when it FTP’s, will it do that?

        No the secondary server (storage node) will get its image from the master node. There is no database on a traditional storage node so there is nothing to create there.

        I ask, because I see the files in /images on my secondary server where it should be, but the image in the web GUI of my second location says “size on client 0 bytes” for the image.

        There is a replication log in /opt/fog/logs that will give you an idea of what is going on.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 1
        • george1421G
          george1421 Moderator @george1421
          last edited by

          @george1421 You need to ensure that your storage node is in the same storage group as your master fog node. Or replication will not happen.

          I don’t know if the bandwidth indicator will tell you if the master node is replicating. The replication log will surely tell you what its working on and what (exact) file its trying to move.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 1
          • Wayne WorkmanW
            Wayne Workman @george1421
            last edited by Wayne Workman

            @george1421 said in When Does FoG push the Image VIA FTP to Location Node:

            Replication should start soon as the imaging task is complete and the image is marked OK for replication. Replication will start.

            The image replicator has a sleep setting here:
            Web Interface -> FOG Configuration -> FOG Settings -> FOG Linux Service Sleep Times -> IMAGEREPSLEEPTIME

            The default sleep time is 600 seconds, which is 10 minutes.

            So the image replicator by default will begin replicating the image after capture completes anywhere from 0 to 10 minutes later.

            I would not recommend the secondary server being a full server - this setup isn’t supported and things can get hairy - and there’s manual work involved - nowhere in the wiki is it documented - and I wouldn’t recommend it. Especially with the awesome new features for access control coming probably next release.

            For more information about replication, see these two articles:
            https://wiki.fogproject.org/wiki/index.php?title=Replication
            https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            197

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project