Fog server help me undertake a isolated setup
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 😂
@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.
- Update the fog server IP address then reboot.
- Edit the FOG IP address in
- 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
- 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.
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.
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.