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

Using Fog over subnet

Scheduled Pinned Locked Moved
General
5
17
3.7k
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.
  • C
    cnkpadobi @george1421
    last edited by Jun 16, 2017, 7:27 PM

    @george1421

    When trying to pxe from subnet I get this message… it work fine from headquaters!0_1497641254213_2017061695114526.jpg

    G 1 Reply Last reply Jun 16, 2017, 8:29 PM Reply Quote 0
    • G
      george1421 Moderator @cnkpadobi
      last edited by george1421 Jun 16, 2017, 2:30 PM Jun 16, 2017, 8:29 PM

      @cnkpadobi Ok at the remote site, what is your dhcp server?

      What do you have configured for dhcp option 66 and 67?

      Do you have a fog server at that location or only HQ?

      By the way the picture explains more than just the error message. Well done!

      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!

      C 1 Reply Last reply Jun 19, 2017, 8:45 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jun 16, 2017, 8:31 PM

        @cnkpadobi The picture you posted is showing “No boot filename received”. This sounds like the DHCP in this subnet is handing out IPs but not nextserver and filename information for PXE booting. What kind of DHCP server is serving this subnet and how are option 66 and 67 configured?

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • C
          cnkpadobi @george1421
          last edited by Jun 19, 2017, 8:45 PM

          @george1421 @Sebastian-Roth The issue with pxe boot has been resolved.

          1 Reply Last reply Reply Quote 0
          • C
            cnkpadobi @george1421
            last edited by Jun 19, 2017, 8:47 PM

            @george1421 Thanks George… another question,

            If I set a cronjob up in linux to start and stop the replication. Which process do I used to do this.

            G 1 Reply Last reply Jun 19, 2017, 8:59 PM Reply Quote 0
            • G
              george1421 Moderator @cnkpadobi
              last edited by Jun 19, 2017, 8:59 PM

              @cnkpadobi Not sure I’m following…

              But the name of the service is FOGImageReplicator

              You could create a bash script to stop and start the service or call your service manager directly from cron. You will probably edit the /etc/crontab file to set this up.

              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!

              C 1 Reply Last reply Jun 20, 2017, 2:40 PM Reply Quote 0
              • C
                cnkpadobi @george1421
                last edited by cnkpadobi Jun 20, 2017, 8:48 AM Jun 20, 2017, 2:40 PM

                @george1421 I ran a replication overnight and was wondering is there a way to know for sure if the job completed. When I look at the log file I see the following. It hard to tell but the time on the log is off…

                [06-20-17 2:34:51 pm] | Replication already running with PID: 65438
                [06-20-17 2:34:51 pm] | Image Name: FWDTI3BASE
                [06-20-17 2:34:51 pm] * Found Image to transfer to 1 node
                [06-20-17 2:34:51 pm] * Attempting to perform Group -> Nodes image replication.
                [06-20-17 2:34:51 pm] | There are no other members to sync to.
                [06-20-17 2:34:51 pm] | Image Name: FWDTI3BASE
                [06-20-17 2:34:51 pm] * Not syncing Image between groups
                [06-20-17 2:34:51 pm] | dev/postinitscripts: No need to sync fog.postinit file to FWTC
                [06-20-17 2:34:27 pm] | File Name: dev/postinitscripts
                [06-20-17 2:34:27 pm] * Found Image to transfer to 1 node
                [06-20-17 2:34:27 pm] | Replicating postinitscripts
                [06-20-17 2:34:27 pm] * Started sync for Image postdownloadscripts
                lftp -e ‘set xfer:log 1; set xfer:log-file “/opt/fog/log/fogreplicator…transfer.FWTC.log”;set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -r -R --ignore-time -vvv --exclude “.srvprivate” “/images/postdownloadscripts” “/images/postdownloadscripts”; exit’ -u fog,[Protected] 10.10.10.4
                [06-20-17 2:34:27 pm] | CMD:
                [06-20-17 2:34:27 pm] * Starting Sync Actions
                [06-20-17 2:34:23 pm] * Deleting remote file: /images/postdownloadscripts/
                [06-20-17 2:34:23 pm] | Files do not match.
                [06-20-17 2:34:23 pm] | 233 0 /images/postdownloadscripts/fog.postdownload ftp://fog:06308b@10.10.10.4/images/postdownloadscripts/
                [06-20-17 2:34:10 pm] | File Name: postdownloadscripts
                [06-20-17 2:34:10 pm] * Found Image to transfer to 1 node

                My last question is… Since this location is physically close is there another way to get the image to the storage node without replicating it over the network

                Q 1 Reply Last reply Jun 20, 2017, 2:58 PM Reply Quote 0
                • Q
                  Quazz Moderator @cnkpadobi
                  last edited by Jun 20, 2017, 2:58 PM

                  @cnkpadobi Apache/php may be using the wrong timezone.

                  As for the replication, only other way would be to manually copy the image folders to external storage and then attach that to the other machine when it’s done and copy it back to their appropriate locations. Should work, but I’m not sure why you’d want to do this.

                  You can change how often the service checks in in FOG settings instead of using cron jobs, by the way.

                  C 1 Reply Last reply Jun 20, 2017, 3:02 PM Reply Quote 0
                  • C
                    cnkpadobi @Quazz
                    last edited by Jun 20, 2017, 3:02 PM

                    @Quazz Well wanted to jump start getting that image over to the remote location so my staff can start imaging without waiting for the long replication time to finish over the 1.5mpls. I only want to move 1 image over to that storage mode.

                    Thanks I will check that.

                    How I change the service checks…

                    Is there a way to tell if the replication completed or what percentage it is at?

                    Q 1 Reply Last reply Jun 20, 2017, 3:05 PM Reply Quote 0
                    • Q
                      Quazz Moderator @cnkpadobi
                      last edited by Jun 20, 2017, 3:05 PM

                      @cnkpadobi FOG Settings -> FOG Linux Service Sleep settings

                      Not sure if there’s an easy way to track if replication is finished, to be honest. I don’t use multiple nodes myself, so not an expert on replication specifically.

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

                      218

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project