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

Multiple TFTP servers on SVN

Scheduled Pinned Locked Moved
General Problems
3
8
2.0k
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.
  • S
    SlimJim
    last edited by Dec 16, 2016, 5:09 PM

    Hey all,

    Using ubuntu 14.0.4
    Fog SVN latest

    I’ve tried to use the tutorial here https://wiki.fogproject.org/wiki/index.php?title=Multiple_TFTP_servers#1.x.x but when I copy everything to /root/fogproject/ I don’t see an install.sh only installfog.sh and I can’t seem to find where to add the configureTFTPandPXE; and tftpd-hpa tftp-hpa .

    Any assistance would be greatly appreciated.

    Thanks in Advance,

    Jimmy

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Dec 16, 2016, 5:38 PM

      Modified the wiki so the installfog.sh is the correct file.

      It looks like that hasn’t been touched since 1.2.0 released.

      Anyway, the configureTFTPandPXE you can run:

      from the root fogproject directory (/root/fogproject) in your case run: grep -rl configureTFTPandPXE .

      That will show you all files that have that phrase in it.

      The function itself is under lib/common/functions.sh

      I think installfog.sh calls it in two separate places.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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
      • S
        SlimJim
        last edited by Dec 16, 2016, 7:19 PM

        Thanks for the quick reply. I was able to find the files that has that phrase and the installfog.sh does contain this twice and even seems to already contain this for the storage node install (see below), but after running through the install I’m not seeing the tftp services correctly after adding the dhcp options.

        0_1481915822681_upload-49794f71-2dc5-4fe9-b0c9-b788e66b2452

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Wayne Workman Dec 16, 2016, 10:32 PM Dec 17, 2016, 4:32 AM

          I’m trying to understand, do you want redundant network booting? What is the end goal?

          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/

          S 1 Reply Last reply Dec 21, 2016, 8:26 PM Reply Quote 0
          • S
            SlimJim @Wayne Workman
            last edited by Dec 21, 2016, 8:26 PM

            @Wayne-Workman

            Thanks for your response and sorry for my late response, I’ve been out that past few days.

            My end goal is to have multiple sites (all different vlans/subnets), so I’m looking to add network booting at the remote sites, yes. We’ve been pretty successful deploying a single fog server at each location and managing individually, but I’m trying to get our office to be the Main site, where all images are replicated and safely backed up and all remotes sites each as a storage node and network bootable.

            This is new for me, so please feel to ask any other questions and as always and advice will be greatly appreciated.

            Thanks,

            Jimmy

            W 1 Reply Last reply Dec 21, 2016, 11:10 PM Reply Quote 0
            • W
              Wayne Workman @SlimJim
              last edited by Dec 21, 2016, 11:10 PM

              @SlimJim said in Multiple TFTP servers on SVN:

              I’m trying to get our office to be the Main site, where all images are replicated and safely backed up and all remotes sites each as a storage node and network bootable.

              Well, then this is going to be very easy. FOG has the capabilities to do this already.

              So, all the existing remote FOG Servers at all the remote sites, you’d rename the /opt/fog/.fogsettings file to something else, and then re-run the installer and chose Storage (as opposed to Normal). It’ll ask you for the IP of the main server, it’ll ask for MySQL credentials. You can find the user/pass from the main server in Web Interface -> FOG Configuration -> FOG Settings -> Storage Node

              Once the installer is done, the storage node should be registered as a storage node in the main servers Storage Management area.

              You would repeat this on all the remote nodes. All you need to do this is SSH access to them, you do not need to be standing in front of them.

              After that’s all done, then you get to decide how to setup your groups and replication and the location plugin - all easy stuff, we have documentation on it in the wiki.

              Ask any questions as you need, any of the moderators/testers here can likely answer them.

              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
              • S
                SlimJim
                last edited by Dec 22, 2016, 5:04 PM

                Awesome, thank you. You guys have one of, if not the best, forum & response times I have ever dealt with. That said, I do have a final question before giving it a go.

                My current setup consists of the following:

                Main Site (Full Fog Install)
                My office (for now)

                Remote Sites (Each Customer = Storage Node/s)
                Customer 1
                Customer 2
                Customer 2 Site 2
                Customer 2 Site 3
                Customer 3
                Customer 4

                What ports need to be open on either side for full communication between the Main Site and Storage node?

                Another thing I’m trying to avoid is a bunch of tunnels/vpn connections, so I’m going to attempt this by using all nat’s and firewall rules and eventually I would like to move my main fog server into aws or some similar cloud service.

                What you think?

                W 1 Reply Last reply Dec 22, 2016, 5:36 PM Reply Quote 0
                • W
                  Wayne Workman @SlimJim
                  last edited by Wayne Workman Dec 22, 2016, 11:37 AM Dec 22, 2016, 5:36 PM

                  @SlimJim said in Multiple TFTP servers on SVN:

                  What ports need to be open on either side for full communication between the Main Site and Storage node?

                  http - 80
                  https - 443
                  tftp - 69
                  ftp sometimes 20, 21, 22, or all three.
                  mysql - 3306
                  nfs 111, 2048, 2049, potentially 1110 and 4045. You’ll just have to try these first.

                  138, 139, and 445 are also listed in the wiki but I don’t know what for. Try it without them first.

                  To use multicast, you will need ports 49152 through 65532.

                  If you’re going to run DHCP from the fog servers, those UDP and TCP ports will need opened too.

                  I’m going to attempt this by using all nat’s and firewall rules and eventually I would like to move my main fog server into aws or some similar cloud service.

                  Good luck. One thing about AWS is they don’t care about your data nearly as much as you do, and their service is not this perfect holy grail as it’s made out to be mostly because of cost. It’s pretty good yeah, but if you google search about moving to AWS you’ll mostly find stuff about how to get out of AWS.

                  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
                  1 / 1
                  • First post
                    3/8
                    Last post

                  149

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project