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

    New FOG Server setup

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    9
    938
    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.
    • G
      gfontenot
      last edited by

      Currently have a fog server setup using and old desktop with centos 7 on it. Just upgraded fog to the current stable level and all is working fine.

      Setup a new server with a beefed up desktop running centos 7 on it. Installed the latest stable fog and then went through the migration steps to copy over my images and db to this new server. Looks like everything copied over fine.

      After this, i went to change the ip addresses, since the migration copied over all of the old server ip references. Also changed everything in the fog management gui and changed my existing Windows dhcp server to use the new ip address. I think i changed them in all of the locations but when i tried to test it, the client gets an ip address, but then it shows
      TFTP for about 4-5 seconds,
      then it shows PXE-E11: ARP timeout
      PXE-E38: TFTP cannot open connection
      PXE-M0F: Exiting PXE ROM

      I’ve read and read about this and have troubleshot for 2 days with no luck. Im a very newbie linux person and don’t know anything about it or how to manipulate it with commands except to type from what i read on the screen or a printed out paper. I wanted to try the updateIP.sh script as that seems to say that it will do EVERYTHING for you, BUT cannot for the life of me figure out how to run it. I was able to download it, from github, using curl but when i tried to run it, it said permission denied.

      I’ve confused myself over these 2 days so much that i’ve started a fresh install, so i need, what i’m sure is EASY for anyone else, all of the COMPLETE steps to help ease my pain.

      Thanks in advance for helping a guy that is linux dumb and LOST.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @gfontenot
        last edited by

        @gfontenot So let me understand. Did you change the IP address of the new FOG server since FOG was installed. I understand you copied over the old database so the database settings are wrong. You will need to update the FOG server IP address in the configuration settings page as well as the storage node pages. That should be it. If you changed the IP address of the fog server itself after you installed FOG then there are a few other steps. Even after updating the webgui settings you should rerun through the fog installer script again to resync everything.

        After that is all done, if you are still getting a PXE boot error, take a clear screen shot of the error page with a mobile phone and post the picture here. The context of the error is almost as important as the error itself.

        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!

        G 1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          This tool will help you along: https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP

          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
          • george1421G
            george1421 Moderator
            last edited by

            @gfontenot said in New FOG Server setup:

            Im a very newbie linux person and don’t know anything about it or how to manipulate it with commands except to type from what i read on the screen or a printed out paper. I wanted to try the updateIP.sh script as that seems to say that it will do EVERYTHING for you, BUT cannot for the life of me figure out how to run it. I was able to download it, from github, using curl but when i tried to run it, it said permission denied.

            You probably need to make the script executable by issuing this command. chmod 755 updateIP.sh

            In linux scripts are not automatically assumed to be runable.

            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!

            G 1 Reply Last reply Reply Quote 0
            • G
              gfontenot @george1421
              last edited by

              @george1421 I’m going to try that 1st thing in the morning, thanks.

              1 Reply Last reply Reply Quote 0
              • G
                gfontenot @george1421
                last edited by gfontenot

                @george1421 Yes, i changed the ip address in the fog management gui places. Attached is the photo of my pxe error. The only thing NOT in the picture is that where it says PXE-E11: ARP timeout is where TFTP stayed for 4-5 seconds.

                Can’t get the image to upload, this is what it says after the client gets an ipaddress.

                TFTP (for about 4-5 seconds)

                PXE-E11: ARP timeout

                PXE-E11: ARP timeout
                PXE-E38: TFTP cannot open connection
                PXE-M0F: Exiting PXE ROM

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @gfontenot
                  last edited by

                  @gfontenot I seem to recall someone reporting that the upload function wasn’t working on the forums. Could you upload to a google drive, photobucket or some other image sharing solution so I could see the screen shot?

                  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!

                  1 Reply Last reply Reply Quote 0
                  • G
                    gfontenot
                    last edited by gfontenot

                    Ok, i figured out my issue, i had changed the ip address in option 66 in dhcp server options but neglected to change it in scope options. Once that was changed, it connected. Do i need it in both locations or just scope options?

                    However after i start fogging a computer as a test, it error’s out saying something to the effect of the image is corrupt.

                    Im thinking of doing another migrate of my images from the old server to the new, can i just migrate the images since everything else was already migrated and changed?

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @gfontenot
                      last edited by

                      @gfontenot You didn’t happen to mention what version you were upgrading from. But in my simple mind, I would just copy the raw image files from the old FOG server to the new FOG server making sure the directory permissions and owner is set correctly on the copied files. Then from the webgui, export the image definitions into a csv file, and then import them into your new fog server. You will need to reregister all of your hosts again, but then you don’t get a bunch of legacy settings over to your new fog server. If that route doesn’t work, you can always import the DB like you did 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!

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

                      253

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project