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

    How to change sentral DHCP server to work with FOG 0.33B

    Scheduled Pinned Locked Moved
    General
    3
    9
    3.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.
    • P
      pmonstad
      last edited by

      Hi! I am going to test FOG 0.33 in production now and need to know if there are changes in the way the pxe file is set up in DHCP. It has been a long time since I gave the information to the IT department and I need to know it they have to change something or if the old settings will work with the new FOG. Remember something about a filename…

      I ask the question as I am aware of the new PXE system used with FOG 0.33B.

      1 Reply Last reply Reply Quote 0
      • P
        pmonstad
        last edited by

        By the way: is it possible to upgrade 0.32 to 0.33?

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          The only thing you’ll need to change for pxe booting to work is:

          Option 67 should be changed to undionly.kpxe instead of pxelinux.0

          You can upgrade from 0.32 to 0.33, though some changes will need to be addressed.

          [url]http://fogproject.org/wiki/index.php?title=Upgrade_to_0.33[/url]

          That link should show you what you’ll need to do.

          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
          • P
            pmonstad
            last edited by

            Thanks. What I did on my production server (Centos) was to download latest release and install it . All went fine without error or warnings

            When logging in there were certain errors or warnings after upgrading the database scheme. I could log in and when browsing hosts there are three lines on top of the screen telling FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found

            I have not dona any testing yet as I have to get the PXE to work. The DHCP server is unchanged as it is located in the cetral IT department. It still contains the pxelinux.0 When booting a client now it still displays the old PXE menu. Is this correct? Will it change when I replace pxelinux.0 with undionly.kpxe?

            The “errors” shown: It this important or do you think things will work when I make a new image and starts deploying, or do I have to register all hosts again?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              You shouldn’t have to register hosts again.

              You WILL have to set OSID’s for the images though as the OSID is not assigned to image, not to host as it was previously.

              Also, you’ll likely need to clear your tasks table.

              You can just rename the undionly.kpxe to pxelinux.0 instead of waiting for the IT office if you must.

              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
              • P
                pmonstad
                last edited by

                Thakns, I will give it a try!

                1 Reply Last reply Reply Quote 0
                • P
                  pmonstad
                  last edited by

                  I have renamed the file as you suggested. It starts booting, but I get an error

                  [url]http://192.168.60.254/fog/service/ipxe/boot.php[/url]… ok
                  /fog/kernel/bzImage… No such file or directory ([url]http://ipxe.org/2d0c613b[/url])
                  Could not boot: No such file or directory [url]http://ipxe.org/2d0c613b[/url])

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    okay
                    whew
                    can you please read the wiki

                    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
                    • N
                      need2 Moderator
                      last edited by

                      I think the best option for you would be to make a backup of you Images folder and your database, and then scrub out 0.32 completely. Then install 0.33 from scratch, import your database and images folders, and then do the database modifications laid out in the wiki. Finally, run the installer one more time, then and only then, log in to the web gui. The only thing that I ran into after that is the TFTP settings that needed correction and for any clients that did not have an image associated I needed to open each host and select an image or the top dropdown option for none.

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

                      198

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project