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

    Changing Server IP in VirtualBox?

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    8
    515
    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.
    • J
      jfenner
      last edited by

      Attempting to run FOG 1.15.10 in a stand-alone network.

      FOG 1.15.10 installed on internet machine and then exported as OVA to stand-alone network. From stand-alone, my host is a Win10 running VirtualBox 6.10. I successfully imported OVA and set networking to Bridged adapter. I can log into FOG CLI, but cannot access the web GUI. I changed the IP in FOG network adapter and in the 001-fog.conf in Apache2 dir. Are there any other locations I need to update the IP in the FOG server (guest VM)?

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

        @jfenner This DocPage might get you moving in the right direction. https://docs.fogproject.org/en/latest/kb/reference/change-fog-server-ip-address/

        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!

        J 1 Reply Last reply Reply Quote 0
        • J
          jfenner @george1421
          last edited by

          @george1421 No luck.

          I can ping outbound from the VM, but I cannot connect to the web interface.

          Error log only shows:

          Testing DNS name resolution (neverssl.com)... Failed
          Testing DNS name resolution (httpbin.org)... Failed
          Testing HTTP Connection (http://neverssl.com)... Failed
          Testing HTTP Connection (http://httpbin.com)... Failed
          

          Both of these would make sense since I’m on a stand-alone network. Additionally, I am attempting to connect via IP address, so name resolution shouldn’t be an issue.

          Are there any internal checks I can run, something like a
          systemctl status fog?

          J 1 Reply Last reply Reply Quote 0
          • J
            jfenner @jfenner
            last edited by

            @george1421 Error reinstalling fog after changing IP

            I am attempting to reinstall fog after changing the IP, but I am running into an error. My server is running in a stand-alone network with no internet connectivity, and during the installation, I encounter the error:

            * Downloading kernel, init, and fog client binaries................. * Could not download init.xz properly
            

            Anyway to bypass this step? Nothing in the settings or installation script options appears to address this step.

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

              @jfenner Can you install a second network adapter for installing fog only? That second network adapter should have internet access where the primary network adapter will not. After fog is installed then you can remove/disable this second network adapter.

              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!

              J 1 Reply Last reply Reply Quote 0
              • J
                jfenner @george1421
                last edited by

                @george1421 I’ll check with our admins, but our environment is fairly rigid.

                george1421G 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @jfenner
                  last edited by

                  @jfenner It can be a usb ethernet adapter too. It just needs to exist log enough to get FOG installed. When you reinstall FOG it will ask which is the imaging interface, just give it the forever nic card name.

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

                    @jfenner said in Changing Server IP in VirtualBox?:

                    I’ll check with our admins, but our environment is fairly rigid.

                    If you can’t run a second network, then there should be only two places outside of the web ui that you need to update.

                    1. a hidden file /opt/fog/.fogsettings and /tftpboot/default.ipxe
                    2. Inside the web ui FOG Configuration->FOG Settings and hit the expand all button. Search for the old IP address and replace it with the new. Press the save button in each section where you find the replaced IP address
                    3. Then in Storage Nodes -> Default storage node there is an ip address in there.

                    Once those three have been changed and then rebooted it should work on an isolated network. Its best to rerun the fog installer script but it should work without it as long as if you change the IP address in those locations.

                    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

                    193

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project