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

How do I move FOG server to different subnet?

Scheduled Pinned Locked Moved
FOG Problems
3
9
2.8k
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.
  • S
    SBrady
    last edited by Nov 24, 2014, 5:10 PM

    Currently we have a FOG server residing on 1 subnet but we would like to move the server to a different site’s subnet to image machines without going over a slow WAN. How can I change the IP, default gateway, and web interface to accomplish this with minimal effort?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 24, 2014, 5:25 PM

      My best answer would be to assign a dhcp reservation for the MAC you have with this system. This dhcp reservation would always give the same IP to the fog server, so from a “minimal effort” scenario, all you’d have to do (when you want to switch subnets) is assign the MAC an IP for the particular subnet in each of the scope’s it’s going to belong, set the Server to obtain IP from DHCP, and then all you’d have to do is move the network cable to the appropriate relating port.

      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
      • G
        Gilou
        last edited by Nov 24, 2014, 5:33 PM

        Or just edit the network config… It shouldn’t be hard to do as all distributions probably document that.
        Then to update the IP for FOG internals, I ranted about that around here:
        [url]http://fogproject.org/forum/threads/configuration-issue-in-1-2-0-ip-change-of-fog.11881/#post-38812[/url]

        Might be worth a wiki entry…

        1 Reply Last reply Reply Quote 0
        • S
          SBrady
          last edited by Dec 4, 2014, 9:34 PM

          [quote=“Tom Elliott, post: 39294, member: 7271”]My best answer would be to assign a dhcp reservation for the MAC you have with this system. This dhcp reservation would always give the same IP to the fog server, so from a “minimal effort” scenario, all you’d have to do (when you want to switch subnets) is assign the MAC an IP for the particular subnet in each of the scope’s it’s going to belong, set the Server to obtain IP from DHCP, and then all you’d have to do is move the network cable to the appropriate relating port.[/quote]

          Hi Tom,

          Thank you for the information. We did what you suggested and now we’re trying to log into the web interface on the new subnet but we’re getting the [B]Database Schema Installer / Updater [/B]page. What do we do from here? Thank you

          [url=“/_imported_xf_attachments/1/1536_fog.JPG?:”]fog.JPG[/url]

          1 Reply Last reply Reply Quote 0
          • S
            SBrady
            last edited by Dec 8, 2014, 7:09 PM

            Is anybody able to help me with this? I apologize for the rush but it is very time sensitive. Thank you in advance.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Dec 8, 2014, 7:15 PM

              Is the mobile server database connection done via localhost or 127.0.01?

              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
              • S
                SBrady
                last edited by Dec 8, 2014, 7:21 PM

                I believe 127.0.0.1

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Dec 8, 2014, 7:22 PM

                  Is the database server actually running?

                  [code]sudo service mysql restart[/code]

                  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
                  • S
                    SBrady
                    last edited by Dec 9, 2014, 5:50 PM

                    It doesn’t seem like it. When I enter the mySQL command from the terminal it gives the following error:

                    [B]Error 2002 (HY000): Can’t connect to local mySQL server through socket ’ /var/run/mysqld/mysqld.sock’ (2)[/B]

                    I cant get to the mysql command promt after it’s moved to the new subnet.

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

                    283

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project