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

    Fog server help me undertake a isolated setup

    Scheduled Pinned Locked Moved
    General
    2
    4
    555
    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.
    • A
      ally_uk
      last edited by

      Hi guys.

      I failed miserably in the past to setup For server. So I am attempting with the help of the gods on this group to attempt to try it again.

      The setup I wish to get up and running is a isolated setup.

      Literally I am going to use a computer with one network card. I wanted to initially setup up the fog side of things and then pull the plug to the main network and hook it up directly to a isolated switch.

      Would this work?

      Or do I need some fancy two network card setup with the second card being on a different subnet?

      The whole point of getting the setup isolated is because we have a main DHCP server and a PXE server already on the main subnet of the network.

      Lastly what base distro should I use?

      Ok guys thank you for help, I hope to document all my attempts to get this working so I can then give something back to the community.

      I am not a networking ninja go easy on me I’m ok I’m the terminal though 😂

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

        If you can add a second network adapter to that fog server, even temporarily we can get you setup in about 30 minutes. The rub/trick is that you must have the fog server connected to the internet during installation of FOG. Once the install is done then the second network adapter is not needed. But a few people will leave that network adapter in place so they can manage the FOG server from the business network. All imaging is done via the isolated imaging network adapter. The other rule that needs to be observed is that the FOG server needs to be at its forever IP address before you install FOG. Changing the FOG server’s IP address post install can be done but its MUCH easier to not change the imaging network’s IP address.

        As for the OS many of the main stream distros are supported. I personally like Centos/RHEL, but Debian is also a good choice too. Ubuntu will work but they often change things in ubuntu that breaks fog unexpectedly.

        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
        • A
          ally_uk
          last edited by

          Hi there, thank you for the input I am having difficulty locating a second network card. Can I strictly just use one network card? install fog and then disconnect it from the main network and plug the connection directly into a isolated switch?

          I am going to be using Centos 7 as the host distro do you have a link to installation steps? more importantly during the install process recgarding DHCP do I set the fog server to yes or no? I am confused as I want this machine to be isolated and not interfere with the current DHCP server on the network.

          Many thanks for guidance I appreciate the hand holding this is all new to me.

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

            @ally_uk You can do it with a single network card, just be aware there are a few more steps than standard.

            As for your question about dhcp server, you must pick Y to install the proper proper programs. There will be a small risk of dhcp confusion while you are installing fog this way so as soon as FOG is installed unplug the fog server from the business network and plug it into your imaging network.

            I started writing these instructions for centos 7, then I realized if you are not familiar with linux the instructions may be pretty daunting. Here is a different guide: https://wiki.fogproject.org/wiki/index.php?title=Installation As much as it pains me to say this, probably ubuntu or fedora would be a better choice if you are a gui based user. The link above is the basic installation jumping off point for a number of operating systems.

            Once fog is installed and your fog server is in the imaging network. You will need to first change the fog server IP address to one consistent with the imaging address. For this example I’ll use 192.168.101.x/24. So for the fog server we will use 192.168.101.1 for the fog server.

            1. Update the fog server IP address then reboot.
            2. Edit the FOG IP address in
              /tftpboot/default.ipxe
              /opt/fog/.fogsettings
            3. Edit the FOG IP server and subnet range in for the isc-dhcp server. The file will look similar to this one: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1
            4. Now off to the FOG webgui. You need to update the IP address in 2 places in the FOG configuration page and then for the IP address in the storage node configuration.

            I can tell you finding a second interface will save you quite a bit of pain, even a usb ethernet network adapter will work.

            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

            150

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project