First Impressions / Introduction
-
Noted Jbob.
I’ve been doing some research for the past hour or so. With trunk updates is it still necessary to sysprep a Windows 7 / Vista host before you upload an image? We run both. Ideally I’d like to create a master image for each type of workstation we have. Probably 5 different models. Based on what I have read would sysprep be the way to go? I’m going to discuss our license policy with the team. Lots of the machines have been Frankenstein-ed from what I can tell. Same model, different amounts of RAM and varying HDD sizes. Where does FOGprep fall into place with sysprep?
Any best practice suggestions would be extremely helpful.
-
@mtmulch
Welcome to FOG! Don’t hesitate to ask questions, we are here to help. And hopefully you’ll find some way of giving back to the project. See my signature for details.@need2 said:
go with Debian instead of Ubuntu for server installs.
Or Fedora 22. https://wiki.fogproject.org/wiki/index.php/Fedora_21_Server
@Kiweegie said:
You’'ll need to visit each desktop I’d imagine to set them to boot from nic for PXE booting unless they are set that way already. If they are and you have some sort of inventory system (we use Lansweeper) you might be able to upload all the hosts and mac addresses via a csv file rather than having to manually register them.
Newer systems will allow you to set firmware settings over the network, I hear. I haven’t done it myself yet but I know it would save me a ton of foot-work in the future.
@Kiweegie said:
Zero-touch is the buzzword you want to mention to your senior team members.
Yup.
For some reason, people at my organization want to walk around hitting F12 to network boot. I could care less about making my job difficult for “Job Security”. Part of my goal in I.T. is to make my job easy - and to make my replacement’s job easy, and any less than that isn’t fair or right or moral to not only your employer but yourself. You should always push yourself to find better ways to more efficiently manage more systems at once - how did the Enterprise Administrator who is responsible for 20,000 computers get into his position? It darn sure wasn’t by walking around hitting F12 every time imaging needed to happen - or by walking around manually uninstalling one Antivirus just to install a different one on 500 computers.So yes, the buzzword is Zero-touch, “I’ll make EVERYTHING Zero-Touch, and the next guy can walk in behind me and easily pick up the ball due to my simple naming conventions, ample & well written documentation and resource citation, and well-configured infrastructure” … is what you should really be aspiring to.
-
@Wayne-Workman said:
Or Fedora 22. https://wiki.fogproject.org/wiki/index.php/Fedora_21_Server
Nice Job
-
Welcome to the world of FOG!
Your question about sysprep/fogprep and different models seams to be to complex to be answered in general. Here are some hints and ideas:
- Different amounts of RAM shouldn’t be any trouble.
- For varying HDD sizes you can use “Single Disk - Resizable” as image type (should work with Win7/Vista, AFAIK).
- sysprep/fogprep see here: https://forums.fogproject.org/topic/2403/fogprep-vs-sysprep-windows-7-64/4#
We run FOG (Win7/10 clients) without sysprep or fogprep perfectly. It always depends on what you want to have. Read up on what sysprep is actually used for to see if it is of help in your case!
-
I run sysprep on images that go on multiple types of machines, and don’t on model specific images.
oh, and i also run my server on Ubuntu (though i’ll probably change distro’s on my next major rebuild) -
Gentlemen, I solved the issue I was discussing earlier but ran into another problem. Corporate does not want a FOG server on their production network as of now, so I was instructed to take it down.
With that being said, I started building a lab. Got a spare computer as my FOG server and a 24 port switch. Now my question to you guys is how can I install the trunk version of FOG without an internet connection during the install process? Is this possible?
I found this article, https://wiki.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network.
If I am reading it correctly, I allow my one and only NIC on FOG server to accept it’s IP via DHCP for the initial install. Then during the “What is the IP address to be used by this FOG Server?” phase I assign it a static IP for my lab environment. Obviously I don’t want to hook it up to our production environment and accidentally put a second DHCP server on the network so I’m a bit skeptical at this point in time.Any advice would be greatly appreciated!
-
What I did was setup on a server with two NICs and used it as a gateway with it handling fog and DHCP on the NIC for the lab and pulling the internet in on the other so fog stays isolated from the production network. If you just want the server hooked up during the install look here https://wiki.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network and if you want to try my config you might start with this document I put together from a website I can’t seem to find at the moment. Private FOG Server Config.docx
-
@mtmulch I would recommend just putting it on the network, setting it up, and then just remove it from the network. This way is much more simple.
Just tell FOG you don’t want to use DHCP.
Then, later on, just manually setup the DHCP. it’s easy, we have lots of examples here.
-
So I’ve got the lab setup, more issues I’ve ran into. I can successfully PXE boot into the FOG menu but, once I get there if I select anything the machine does a complete reboot.
I tried changing my dhcp settings to load unidonly.kkpxe no, same results. So I am currently unable to register a host. I have no problem accessing the web GUI but I cannot register the host there either.I am currently running the latest trunk release as of 9 am this morning.
-
@mtmulch Please let us know the exact model of computer you’re trying to network boot. Also try another model too. You might also take a look at our working hardware list: https://wiki.fogproject.org/wiki/index.php/WorkingDevices
Let us know, we are here to help.
-
Sorry for the vague responses. The first model I had issues with was an Dell Optiplex 780, second model I tested was HP Compaq 4000. Looking at that list the HP model is not supported, while the Optiplex is. I see a recommended kernel for the Dell, could this potentially be the culprit? Not sure if this helps at all but I was able to successfully get these to register through the FOG boot menu and web GUI using FOG 1.2.0 on Ubuntu 14.04 ( my current trunk install is running on this).
Is it possible that this is a result of my DHCP configuration? I’m currently using isc-dhcp-server is dnsmanq a preferred option?
-
@mtmulch said:
Sorry for the vague responses. The first model I had issues with was an Dell Optiplex 780, second model I tested was HP Compaq 4000. Looking at that list the HP model is not supported, while the Optiplex is. I see a recommended kernel for the Dell, could this potentially be the culprit? Not sure if this helps at all but I was able to successfully get these to register through the FOG boot menu and web GUI using FOG 1.2.0 on Ubuntu 14.04 ( my current trunk install is running on this).
Is it possible that this is a result of my DHCP configuration? I’m currently using isc-dhcp-server is dnsmanq a preferred option?
There is no preferred way to deliver the boot file option, what matters is that the option gets delivered. Some methods are more feasible and possible than others for different people and different situations.
Just because a model isn’t listed in the working hardware list doesn’t mean it isn’t supported. That list is only what people have graciously taken the time to tell us about - FOG is a 100% community driven project. We rely on people like you to tell us things.
Set your boot file to undionly.kkpxe in your isc-dhcp conf file, then restart DHCP, and then see if you have better luck.
-
@mtmulch said:
I can successfully PXE boot into the FOG menu but, once I get there if I select anything the machine does a complete reboot.
Really any entry you select will cause the machines to reboot? memtest, boot from disk, …? All?
I have no problem accessing the web GUI but I cannot register the host there either.
Any error here? Why wouldn’t you be able to add hosts by hand in the web interface?
I am currently running the latest trunk release as of 9 am this morning.
I just saw Tom talking about a buildroot issue he fixed today. Maybe you get the newest latest trunk again and see if that helps?
-
Updating to the latest of trunk this morning resolved the issues I was having. I was able to upload an image of an Optiplex 780 running Windows Vista x64. The deployment of said image seemed to go off without a hitch. After the imaging process was complete, I was unable to boot to my HD. No error message regarding corrupted MBR was displayed, it would just follow to PXE, manually selecting HD would cause the boot order menu to freeze. Boot order was set to HD first and PXE second. Once PXE load screen was brought up it would list the PXE version then a blinking cursor in the top left, no indication of it attempting to reach out to the network. I put a Windows Vista cd to run start up repair, it is able to detect my image installation but startup repair didn’t help either. It could very likely be a bad disk, guy here before me seemed to have a problem separating bad parts.
I’m close gentlemen I can feel it. Thank for continuing to point me in the right direction.
-
@mtmulch Play around with your Exit Style. It should now be a global setting in FOG Configuration and a host setting too. The host portion of it is very new, so it may or may not be a bug.
-
Well gentlemen it works! I cranked out 15 images in about 5 hours this afternoon with my lab. To say the least my team was impressed with FOG, considering I had nothing but problems up until today. I would like to thank everyone for their help with the initial setup. Now its time to convince the suits to let us put it on the production network
-
@mtmulch I help run FOG Trunk at 6 (soon to be 21) public schools. Respect the Trunk - it is a great thing to have it virtualized with snapshots before each major change or upgrade. Backup your DB often, keep your old DB backups. And don’t upgrade on a whim. Upgrade when you have a need to do so.
And of course, if you have any issues; the fog community is always willing to lend assistance.