• 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.
  • X
    x23piracy
    last edited by Jun 10, 2017, 8:28 AM

    If the connections are to thin for gigabytes i would suggest to work with local storage nodes without replication if not mandatory necessary.

    ║▌║█║▌│║▌║▌█

    1 Reply Last reply Reply Quote 0
    • C
      cnkpadobi
      last edited by Jun 15, 2017, 7:21 PM

      Thanks, guys, If I turn off replication and do not want to craputre via the remote subnet. Then I would just copy the preexisting image to the storage node prior to imaging?

      I have a few questions,

      1. Is there a way to set the time interval when replication could occur.
      2. Is there a way to limit which image sync.
      3. Is there a specific hardware specs for the Storage node
      4. Is it ok to run on VMWARE Player or HYper-V… If so is there any pros or cons?
      G 1 Reply Last reply Jun 15, 2017, 8:58 PM Reply Quote 0
      • G
        george1421 Moderator @cnkpadobi
        last edited by Jun 15, 2017, 8:58 PM

        @cnkpadobi This question is a bit complex to answer, but lets take the bullet items first.

        1. There is not a way built into fog to do this. It would be a nice feature to add. With that said you can do something similar in linux. Use a cron job (i.e. scheduled task in ms windows) to start and stop the fog image replicator task. This way you can have the replicator run after hours and not during business hours. You can also adjust the replication bandwidth based on time of day with similar trickery.
        2. Yes, each image has a check box which enables it for replication or not. By default this box is enabled. Turn it off and the image is excluded from replication to all storage nodes in all storage groups.
        3. A storage node requires slightly less than a full fog server. With that said I’ve run a full fog server on a Raspberry Pi3. For 1 or 2 unicast images that Pi is working hard but able to keep up with image deployment. The system requirements for a FOG server or storage node are not much.
        4. Well this one is a bit hard to answer. Will it work in hyper-v yes. Will it work in vmplayer yes, but I wouldn’t use it for a production environment (I think you will break the VMWare eula if you use vmware player for this anyway). If running on a type-2 hypervisor you will also be limited to the throughput of your host os and hardware. Its a complicated subject to explain. But given the choice of a circa 2009 desktop or running FOG on a type-2 hypervisor, I would pick the 2009 desktop.

        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:47 PM Reply Quote 1
        • C
          cnkpadobi
          last edited by Jun 16, 2017, 6:19 PM

          OK thanks, I think this is my last question … do I need to configure fogserver to accept ip address from my other subnet.

          for example HQ is 192.168.0.x
          subsite is 10.10.10.x

          G 1 Reply Last reply Jun 16, 2017, 6:33 PM Reply Quote 0
          • G
            george1421 Moderator @cnkpadobi
            last edited by Jun 16, 2017, 6:33 PM

            @cnkpadobi There should not be anything to keep the fog server from responding to those other subnets. Just make sure you have the gateway set correctly on the fog server and it should route to the other subnets without issue.

            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 16, 2017, 7:27 PM Reply Quote 0
            • 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
                                  12/17
                                  Last post

                                156

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project