• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Oct 6, 2020, 12:46 PM

    @george1421 Version 1.5.5.3

    G 1 Reply Last reply Oct 6, 2020, 1:02 PM Reply Quote 0
    • G
      george1421 Moderator @gabbas
      last edited by Oct 6, 2020, 1:02 PM

      @gabbas So when you go in on the main fog server and look at the storage node configuration for the remote storage nodes, it won’t let you change the IP address there?

      Also on the remote storage node, you will probably need to update the /opt/fog/.fogsettings file with the IP address of the master node. And then rerun the installer. Somehow you need to tell the remote storage node the correct IP address of the FOG server so it can access its database on the master node.

      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 Oct 6, 2020, 1:07 PM Reply Quote 0
      • G
        gabbas @george1421
        last edited by Oct 6, 2020, 1:07 PM

        @george1421 Yes thats right, it wont let me change the IP there, I can edit the IP address value but when I click save, it goes back to the old IP address. Also, I have changed in the IP in /opt/fog/.fogsettings.

        G 1 Reply Last reply Oct 6, 2020, 1:13 PM Reply Quote 0
        • G
          george1421 Moderator @gabbas
          last edited by Oct 6, 2020, 1:13 PM

          @gabbas Just to confirm you have 1.5.5.3 and not 1.5.9.x

          Any reason why you are running such an old version?

          And just to be clear you need to update the .fogsettings on the storage node. While I don’t know off the top of my head, I would think there should be a setting that points to the main fog server. Did you see one in there?

          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 Oct 6, 2020, 1:20 PM Reply Quote 1
          • G
            gabbas @george1421
            last edited by Oct 6, 2020, 1:20 PM

            @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

            G 1 Reply Last reply Oct 6, 2020, 1:26 PM Reply Quote 0
            • G
              george1421 Moderator @gabbas
              last edited by Oct 6, 2020, 1:26 PM

              @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 Oct 6, 2020, 3:07 PM Reply Quote 0
              • G
                gabbas @george1421
                last edited by Oct 6, 2020, 3:07 PM

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

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman
                  last edited by Oct 6, 2020, 5:33 PM

                  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 Oct 8, 2020, 8:53 AM Oct 8, 2020, 2:45 PM

                    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 Oct 8, 2020, 9:15 AM Oct 8, 2020, 3:13 PM

                      @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 Oct 8, 2020, 3:26 PM Reply Quote 0
                      • G
                        gabbas @Sebastian Roth
                        last edited by Oct 8, 2020, 3:26 PM

                        @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 Oct 8, 2020, 3:31 PM

                          @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 Oct 8, 2020, 3:47 PM Reply Quote 0
                          • G
                            gabbas @Sebastian Roth
                            last edited by Oct 8, 2020, 3:47 PM

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

                            G 1 Reply Last reply Oct 8, 2020, 4:38 PM Reply Quote 0
                            • G
                              george1421 Moderator @gabbas
                              last edited by george1421 Oct 8, 2020, 10:39 AM Oct 8, 2020, 4:38 PM

                              @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 Oct 8, 2020, 12:56 PM Oct 8, 2020, 6:55 PM

                                @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 Oct 9, 2020, 5:00 PM Reply Quote 1
                                • G
                                  gabbas @Sebastian Roth
                                  last edited by gabbas Oct 9, 2020, 11:10 AM Oct 9, 2020, 5:00 PM

                                  @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

                                  G 1 Reply Last reply Oct 9, 2020, 5:41 PM Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Oct 9, 2020, 5:41 PM

                                    @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
                                    • G
                                      george1421 Moderator @gabbas
                                      last edited by Oct 9, 2020, 5:41 PM

                                      @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 Oct 16, 2020, 4:30 PM

                                        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
                                        • 2 / 2
                                        2 / 2
                                        • First post
                                          12/21
                                          Last post

                                        210

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project