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

    Storage node IP address change doesn't get applied

    Scheduled Pinned Locked Moved
    Tutorials
    4
    21
    3.4k
    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
      gabbas @george1421
      last edited by

      @george1421 I was using Fog on my previous place of employment and I had to go somewhere else for a year or so I just returned to this place and I am thinking to upgrade at some point.

      Yes in .fogsettings, I have changed the new IP, its just the storage node settings that still showing the old IP and I cant change it to the new IP using Fog web management

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

        @gabbas I would start by updating both the storage nodes and the master fog server to 1.5.9 that way if its still is giving issues then we can get the developers involved.

        Before you upgrade make sure all of your .fogsettings files are correct, because the fog installer script will use the information in those files to upgrade the systems.

        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
          gabbas @george1421
          last edited by

          @george1421 Thank you, I will perform the upgrade and share the outcome tomorrow. Much appreciaetd.

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

            He also messaged me. I suggested to use the community utility script that updates everything with the new IP:
            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
            • G
              gabbas
              last edited by gabbas

              Hi, I upgraded the Fog, everything worked fine except when I try to capture the image or register the host. I get the error message: Any help please?
              WhatsApp Image 2020-10-08 at 15.53.28.jpeg

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                @gabbas The picture is cut at the right side exactly where there might be some valuable information at the end of where it says ... Tried on interfaces(s): ... (haha, found a typo). So I can only give you a very general answer. Usually this happens due to spanning tree on the switch being enabled but the port not set as port fast (if you see an interface mentioned in the output) or the driver for this NIC is missing in the Linux kernel (if ther is no interface name printed).

                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

                G 1 Reply Last reply Reply Quote 0
                • G
                  gabbas @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Thanks Sebastian, there is no words after Tried on interfaces, please the full image and also what I get after this message and will be very grateful for your assistance:
                  WhatsApp Image 2020-10-08 at 16.23.12.jpeg
                  WhatsApp Image 2020-10-08 at 16.24.24.jpeg

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @gabbas Which kernel do you use at the moment? Please run the following commands on your FOG server and post output here:

                    ls -al /var/www
                    ls -al /var/www/html
                    file /var/www/html/fog/service/ipxe/bzImage
                    

                    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

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gabbas @Sebastian Roth
                      last edited by

                      @Sebastian-Roth said in Storage node IP address change doesn't get applied:
                      Thanks, please see below:
                      1.png
                      2.png 3.png

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

                        @gabbas This is because you are still using the 1.5.7 version of FOG. Your bzImage file is out of date (v4.11.0). You can update your kernel to 4.19.143 (or later) using the web gui, but you still should upgrade to 1.5.9 and the updated kernel will come with it.

                        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 1
                        • S
                          Sebastian Roth Moderator
                          last edited by Sebastian Roth

                          @gabbas Definitely update the kernel! Better if you update FOG altogether when you have some time to properly backup things beforehand.

                          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

                          G 1 Reply Last reply Reply Quote 1
                          • G
                            gabbas @Sebastian Roth
                            last edited by gabbas

                            @Sebastian-Roth Many thanks , I have updated the kernal and now the image capture task is stuck at this screen: Any idea how to get this one going? Many thanks
                            WhatsApp Image 2020-10-09 at 18.09.34.jpeg

                            george1421G 1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @gabbas You updated kernel and init - which is fine. But for the newer init you need to manually adjust the RAMDISK size setting: FOG Configuration -> FOG Settings -> TFTP Server -> KERNEL RAMDISK SIZE set it to 275000 from the original value of 127000.

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

                                @gabbas OK the updated inits need a bit more memory allocated to them.

                                FOG Configuration -> Fog Settings -> Expand All

                                In the TFTP Server section set
                                KERNEL RAMDISK SIZE = 275000

                                That will increase the size of the ram drive in memory.

                                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 1
                                • G
                                  gabbas
                                  last edited by

                                  Hi @george1421 and @Sebastian-Roth , thank you very much for your assistance on this issue. Sorry for delay in replying here as I just completed the testing on my side. Yes changing Kernal Ramdisk size to 275000 worked and I was able to capture the image fine. The image is working perfectly okay now. Many thank and much appreciated, you guys are amazing and very helpful.

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

                                  166

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project