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

Best Linux distro for FOG trunk

Scheduled Pinned Locked Moved Solved
General
6
17
8.2k
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.
  • T
    tprice
    last edited by Oct 22, 2015, 5:41 AM

    Hi there, I have not be able to successfully PXE boot to menu. I get the dreaded Open TimeOut error.
    I have installed Centos 7 (64bit) with FOG trunk. The installation completed successfully. I get the Web UI fine but I cannot load the FOG boot menu.
    The fog installation is not using proxyDhcp as I am leveraging our existing DHCP server. So 66 & 67 have been configured appropriately.
    The ability to perform TFTP -i xxx.xxx.xxx.xxx get undionly.pxe (from windows) and TFTP -v xxx.xxx.xxx.xxx -c get undionly.pxe (from Fog host server) all works tine.

    The security layer on the fog server has been disabled.

    The permissions for images, tftp, and ipx (under var/www/html/fog/services/) have been changed to 777.
    The owners for the above folders are fog:root.

    The network is a multiple vlan /subnet environment and STP and RSTP are turned at the switch level.

    So I need some help with:

    1. Troubleshooting why the PXE boot menu is not loading? is this due to the TFTP session is actually timing out or something else.
    2. What is the best combination for installing FOG i.e. is Ubuntu better than Centos?

    Thanks

    W S 2 Replies Last reply Oct 22, 2015, 10:17 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 22, 2015, 6:53 AM

      @tprice Good to hear that you’ve gone through a lot of testing and provided all the information. In your sentence on STP/RSTP there is one word missing I think - on/off?? Please capture a packet dump while you boot a client and we should be able to see what’s going on.

      yum install tcpdump
      tcpdump -i eth0 -w timeout_issue.pcap port 67 or port 68 or port 69
      

      tcpdump will sit there and wait (no more output). Boot the client and wait till you see the error. Hit Ctrl+c and upload the PCAP file to the forums.

      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
      • W
        Wayne Workman @tprice
        last edited by Oct 22, 2015, 10:17 PM

        @tprice

        1. Troubleshooting why the PXE boot menu is not loading? is this due to the TFTP session is actually timing out or something else.

        You’re using undionly.pxe ? Can you try undionly.kkpxe ?

        1. What is the best combination for installing FOG i.e. is Ubuntu better than Centos?

        Depends on who you ask. If you ask me, I think CentOS 7 has less problems with fog. Fedora is also really solid, but it’s more cutting edge.

        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
        • T
          tprice
          last edited by Oct 22, 2015, 10:18 PM

          Hi Uncle Frank, the options for STP & RSTP are enabled at a global level. I will follow your suggestion and post results.

          Thanks

          1 Reply Last reply Reply Quote 0
          • T
            tprice
            last edited by Oct 23, 2015, 5:08 AM

            Hi there, I am using undionly.kpxe in the Windows DHCP server.

            The result from PCAP show now response from FOG server or anything related to port 69.

            Regards
            ,timeout_issue.pcap

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Oct 22, 2015, 11:57 PM Oct 23, 2015, 5:44 AM

              In the packet dump I can see two DHCP servers answering (IP .54.1 and .54.253). Both offering the same information - so I guess this is configured for redundency. They point the client to another server on a different subnet (IP .50.45). This should be alright as the gateway/router information in the DHCP packet seams fine - if this really is your FOG server. Or is it only serving TFTP??

              One thing I wonder about is the filename offered to the client: pxeboot.0

              As a quickfix you can create a link to that file on your TFTP server:

              cd /tftpboot
              ln -s undionly.kpxe pxeboot.0
              

              The result from PCAP show now response from FOG server or anything related to port 69.

              If you want to see that traffic you need to capture on .50.45!

              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 1
              • S
                Scott B @tprice
                last edited by Oct 26, 2015, 4:34 PM

                @tprice said:

                1. What is the best combination for installing FOG i.e. is Ubuntu better than Centos?

                Just my personal preference, but I’ve always been happy with FOG on Ubuntu and formerly Fedora.

                1 Reply Last reply Reply Quote 1
                • S
                  sudburr
                  last edited by Oct 27, 2015, 1:46 AM

                  We started off with Ubuntu Desktop, then Server (no gui), then I switched up to Debian Server, and now I’m running CentOS 7 no GUI on a minimal server install for my development server. Whatever I’m using for dev eventually makes it out to our production/live servers.

                  IMO Debian is head and shoulders better than Ubuntu, and I’ve found CentOS to be the most stable and trouble free of the bunch.

                  [ Standing in between extinction in the cold and explosive radiating growth ]

                  1 Reply Last reply Reply Quote 1
                  • S
                    Sebastian Roth Moderator
                    last edited by Oct 27, 2015, 10:17 AM

                    @tprice Did you get this solved?

                    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

                    T 1 Reply Last reply Nov 12, 2015, 1:06 AM Reply Quote 0
                    • T
                      tprice
                      last edited by Oct 28, 2015, 7:24 AM

                      Hi there, thanks for the response. I need to figure out why the tftp response is looping through my the switch.

                      It appears the IP Helper on the switch’s are enabled with port 0 relaying to our DHCP server.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Oct 28, 2015, 8:43 AM

                        What do you mean by “port 0 relaying”? Sounds a bit like it does not work. But I am pretty sure you would be fine with the quick fix (linking pxeboot.0). Did that work for you?

                        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
                        • T
                          tprice
                          last edited by Oct 28, 2015, 9:04 PM

                          Hi there, I did not get it solved. But I think the issue within my Switch configuration. I have nine vlans. I have attached the Fog server on the vlan which is used by the workstations (.54) and the DHCP server is on a different vlans (.50).

                          I can ping the qdn, fqdn and reverser ping the FOG server within the main vlans.

                          The fog server is sitting on a Hyper-v host. The virtual switch is bridging the physical NIC.

                          So I need to figure out why the switch is answering the TFTP request. I suspect the ip helper and DHCP relay on the switch is the root cause.

                          Troy

                          1 Reply Last reply Reply Quote 0
                          • K
                            KKTwenty101
                            last edited by Nov 10, 2015, 1:44 PM

                            Another consideration on hyper-v is integration services. Ubuntu is not very integration services friendly (NIC and SMP issues mainly). Centos is a better choice for hyper-v guests.

                            1 Reply Last reply Reply Quote 0
                            • T
                              tprice @Sebastian Roth
                              last edited by Nov 12, 2015, 1:06 AM

                              @Sebastian-Roth Hi there, I did not get this solved. I need to look at my switch and TFTP communication.

                              W 1 Reply Last reply Nov 12, 2015, 1:18 AM Reply Quote 0
                              • W
                                Wayne Workman @tprice
                                last edited by Wayne Workman Nov 11, 2015, 7:20 PM Nov 12, 2015, 1:18 AM

                                @tprice You stated that your fog server is on the .54 vlan, but @Sebastian-Roth pointed out that your redundant DHCP servers are both giving out a .50.45 address for option 066 and pxeboot.0 for option 067.

                                I think you have a DHCP mis-confguration, I don’t think there is anything wrong with your switches or fog server.

                                I don’t think pxeboot.0 has been used since .32 and older, so I assume you’ve had fog working before.

                                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
                                • T
                                  tprice
                                  last edited by Apr 27, 2016, 5:00 AM

                                  Celebration. It works. The things that I have changed was a complete new build of Centos 7, FOG (Version: 7306), and followed new documentation. This allowed me to register a machine and perform inventory but I could not start an upload (could not load images directory (/bin/fog. Upload).

                                  Did some check regarding services and found NFS was not running. Once the latter was started, the ability to perform the partclone was successful.

                                  I am very happy, thank you all

                                  W 1 Reply Last reply Apr 27, 2016, 2:50 PM Reply Quote 2
                                  • W
                                    Wayne Workman @tprice
                                    last edited by Wayne Workman Apr 27, 2016, 8:51 AM Apr 27, 2016, 2:50 PM

                                    @tprice What new documentation (for future readers)?

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

                                    192

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project