• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. JJ Fullmer
    3. Posts
    • Profile
    • Following 5
    • Followers 4
    • Topics 55
    • Posts 967
    • Groups 3

    Posts

    Recent Best Controversial
    • FOG 2.0 - Persistent Group Settings

      So currently, and correct me if I’m wrong, when you set up a group, unless you have members in it it doesn’t save any settings. And if you have some hosts in it the settings are saved in the group settings, but you have to hit updated on everything for it apply to hosts in the group. This is already a very powerful tool and an excellent feature, I just think that it could be enhanced a little.
      Instead of having to manually update whenever you add a new host to a group, make it so adding a host to a group automatically adds, removes, and or deploys corresponding snapins, printers, active directory settings, and everything else except for the image (which maybe there could be an option or prompt for). Also make it so settings can be saved to a group without any members in it.

      This way as you move computers around or as you are making your initial FOG setup, the group functionality automatically automates group membership. It already kind of does this when you image a computer in a group, but I would like to see it happen whenever you add a computer to a group.

      Another crazy cool but probably too complicated feature possibility is to make the active directory connection 2 way. So that if a host is added to fog and already in an active directory OU that is linked to an exisiting group, it is automatically added to the corresponding group. But that one might be more work than it’s worth.

      posted in Feature Request groups configuration active director
      JJ FullmerJ
      JJ Fullmer
    • RE: FOG Removing Printers Regardless of Settings

      I have been working a lot with FOG printer management on Windows 10 x64 hosts on the latest trunk and I have not had this problem at all.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Printer Problems

      @anthonyglamis said:

      2/4/2016 5:23 PM LocalPrinter --> IP = IP_192.168.1.250

      Sorry for any repeated information that others said. I saw some posts after I started writing this and didn’t feel like taking out pieces.

      The first problem I see is right here.
      The printer ip shouldn’t have IP_ in front of it. It should just be the ip address plain and simple
      Also the Printer INF File path should be the path to the share that the client uses to access the file. All these fields are passed to the service and run on the computer, so they need to be how the host computer gets to them, not how fog gets to them. i.e. /opt/fog won’t work. \\192.168.1.243\printerdrivers\printer.inf might do the trick

      Try testing with an inf file on a local computer with a local path in fog. i.e.

      • Put the inf in C:\printer.inf on the client computer
      • set the inf file path in fog to C:\printer.inf

      That would just see if the service is working for you.
      With network shares, I find that it only works with the fog service if it’s already mounted. I.E. A network share mapped through active directory gpo. This is something I hope to improve in the future.

      An alternative method is a snapin with a script. Checkout the template script I posted here
      https://forums.fogproject.org/topic/6540/adding-custom-printer-configuration

      Another way of testing the printer install is to test the actual command that the fog service uses to add a printer. It uses a special function for adding a port, but if you don’t already have the port created you can create it with this command in the command line.
      Cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\Prnport.vbs -a -r portname -h ipAddress -o raw -n 9100
      Then test adding the printer with this command in an administrator command prompt. Which is the way that fog adds it. This will help you confirm your settings further. I took out the /q parameter that goes after /if (install printer from file) so that any error messages won’t be supressed when you test
      RUNDLL32 printui.dll,PrintUIEntry /if /b "Printer Name" /f "INF File Path" /r "PortName" /m "Model name from inf file"

      If that command adds the printer, then your printer settings are all correct as they are, if it fails, then you should get an error message with more explanation.

      Some other caveats I’ve found are that you sometimes need more than just the inf next to the inf. I.e. the .cab, .cat. dlls and stuff that it links to sometimes need to be in the same directory. So if you download a driver package and then unzip it, just use the full extracted folder in your share. You can do some testing and see which is actually neccesarry, cause sometimes just the inf is needed, other times (like with the hp universal print driver) you need the whole folder to get it to install proper.

      Personally I currently make a printer script with the template I posted in the above referenced forum post and then add that information to fog. I deploy the script as a snapin to install the printer when the fog service fails to add the printer the FOG printer management successfully removes and keeps the printers that are allowed after it’s installed with that script.
      It is surely possible to get the FOG printer management to work as it is in most situations. But I find it easier to have a failsafe for when it has trouble accessing a network share or when it doesn’t like the inf file or something like that.

      Also one other little caveat. I noticed that the inf in this one is oem… That’s usually the “published” or “installed” inf file once the printer driver is added to windows and gets appended to or its own happy inf file created in C:\Windows\INF
      Sometimes that one works fine, but sometimes that one will contain other printer information and confuse a computer that it wasn’t made on. I usually stick with the inf that the driver comes with that you download off the manufactuer’s website. But that’s just my two cents.

      posted in Windows Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      @Arrowhead-IT I did just try vmxnet3 again after we had done some dhcp configuration fixes over the weekend. It worked on the first try, I guess my problem was elsewhere. I haven’t tried unsetting the experimental options yet.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      @MRCUR I’ve heard that, but I couldn’t get the vmxnet adapter to boot to pxe. E1000 was the only one that worked ever for me. If you’re saying you have gotten it to work, then maybe I should try it again.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: Storing Images on NAS/Network Share

      If you wanted to try the esxi route
      I found this info on unRaid NFS
      http://lime-technology.com/wiki/index.php/FAQ#How_do_I_configure_NFS_mounts.3F

      Then in vcenter for esxi add a datastore with the network file system option
      give esxi the unraid servers nfs address
      tell it where to mount it on esxi
      and give the datastore a name, like images

      Then on your fog vm, shutdown, edit settings, and then add a new virtual disk from that data store.
      Then mount that as /images in your /etc/fstab. You might have to format it before you can mount it with mkfs ext4 or something of that sort.

      If that overview isn’t helpful and you want to try this method, I’ll test it out a little and document the process more thoroughly when I get a chance.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Advanced Printer Management Plugin and Fog Service Module

      @Wayne-Workman Well yeah, I don’t want to hold up 1.3, hence the plugin/module idea.

      posted in Feature Request
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      @Wayne-Workman well, it happens on physical machines too. Maybe CentOS is just better than ubuntu for hosting fog?

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: Advanced Printer Management Plugin and Fog Service Module

      @Wayne-Workman But that involves waiting for functionality I could use now…

      posted in Feature Request
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      @Sebastian-Roth Yeah, our dhcp does have some serious issues actually. We’re working on narrowing it down. Sometimes computers get ips from the ip phone scope, even when they have an ip reservation. Pretty sure it has to do with some incompatible firmware on one old hp switch we’re phasing out. I was just hoping to have found something that just worked around other issues.

      And sadly, after trying to boot a different vm a few minutes ago, same esxi server and same type of virtual network adapter E1000 as the other, it took a few tries again to get an address in the initial pxe boot.

      Thanks for the input though, just more confirmation that our network needs an overhaul.
      I just want to hit reset of the whole data center infrastructure and start again. But that’s not actually a good idea, I know that, people need to do their jobs or something silly like that.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: Storing Images on NAS/Network Share

      There are a few different options that oughta work, just off the top of my head, haven’t tested these yet but probably will eventually.

      • You can have a seperate linux server set up as a storage node with the fog installer in storage node mode and link to it in the gui with the fog storage management settings.

      • It would require a little research, but you could utilize esxi’s datastores and clusters and map a NAS there. And then link it to the vm through esxi mounting it like a local drive. Then choose to mount that drive to /images with /etc/fstab, mount it elsewhere and point to it in the fog settings and /etc/exports, or mount else where and make /images a symlink to the mount point

      • There are some other options too, but I think the most important thing to consider is that where-ever you choose to put it, you want it to be an nfs share. I imagine it’s possible to get other types to work, but nfs is what fog uses natively and for good reason. Most NAS’s have some setting in their gui to enable nfs settings.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Advanced Printer Management Plugin and Fog Service Module
      • Ability to add local printers on nul: port with no ip address (.i.e. Send to OneNote, PDF Printers, etc)
      • Ability to add usb printers or at least set them as allowed so FOG doesn’t delete them if they aren’t in the printer list and FOG is set to remove all extra printers
      posted in Feature Request
      JJ FullmerJ
      JJ Fullmer
    • RE: Changing the directory where Fog images are stored question

      Also, if you choose to change the snapin directory and then have problems with the client, here’s a fix

      https://forums.fogproject.org/topic/6582/ca-fog-service-error-failed-to-decrypt-when-snapins-in-non-default-directory

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • ca fog service "error failed to decrypt" when snapins in non-default directory

      I had set my snapins to a different directory (/images/snapins with /images being a symlink to /home/fogRootSystem/images)
      But the original install had created the /opt/fog/snapins directory and put the ca ssl folders there.
      But then it did it put the CA ssl folders with new keys in the new /images/snapins folder.

      All day today I have been troubleshooting the client wondering why it suddenly stopped authenticating. Uninstalling and reinstalling, re-imaging, modifying the msi, resetting encryption data, running the fog install script with the --recreate-CA and --recreate-keys options. And nothing worked. Then I noticed the duplicate CA and SSL directories and got to thinking that maybe that’s not supposed to be a thing. So I moved the /opt/fog/snapins folder to my /images/snapins directory
      mv -f /opt/fog/snapins /images/snapins then deleted the opt folder rm -fr /opt/fog/snapins then made a symlink ln -s /images/snapins /opt/fog/snapins Then I reran the fog installer like this ./installfog.sh --recreate-CA --recreate-keys -Y and now the client is working again (after reinstall on the client).

      So a fix exists, but it seems that changing the snapins directory doesn’t work for the client and causes weird ca/ssl authentication errors.

      It’s possible that something else I did fixed my issue, but I am 99.9% sure that the symlink and reinstall recreating the CA is what solved it.

      posted in Bug Reports fog client fog service authentication snapins ca ssl
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      @Wayne-Workman Thanks
      I’m on 2012 R2 dhcp ver 6.3

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: 1.3.0

      1.3.0 is really the trunk/“beta” version currently. It isn’t quite yet to release. Granted if every stable trunk was released as a final version, we would be at FOG 5782.2.0 by now.
      @Tom-Elliott has been working on gpt partitions recently trying to get it perfect. Give the trunk a go

      https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Changing the directory where Fog images are stored question

      The easiest thing to do is probably just leave it as default /images but then either mount the HDD to the path /images in your /etc/fstab nano /etc/fstab or make a symlink with sudo ln -s /path/to/hdd/images /images I personally use the symlink method. In my case I just wasn’t paying attention when I partition my drive and made a /home data partition of 400 GB and a / partition of 80 GB. I realized too late that this meant that I only had 80 GB for images… Since I didn’t feel like editing the partition table or starting over, I just moved the /images folder to a folder in /home/fogRootSystem and made a symlink to point /images to that folder and it worked like a charm.

      Otherwise you also would want to edit your /etc/exports and make sure that it is pointing the nfs directory to your /images (Fog might do this for you if you specified it during install or in the gui)
      You also would want to consider moving the snapins directory as it would normally be in /opt/fog/snapins and if you have a lot of scripts and large installers, than that directory can get pretty big too. Granted any of these would run faster on an ssd.

      Hope that helps.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      I also made a static A host record for the fog server hostname and ip as well as a cname for fog-server to that A record. Maybe that did something too?

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • Is this a thing? Adding Option 003 and Option 012 on windows dhcp fog server reservation options

      So I think I may have just accidentally discovered a way to increase the effectiveness/speed/reliability of pxe booting in windows dhcp configurations.
      Granted I did just change server boxes and OS’s, so sadly this is a discovery with a lot of variables so I’m not 100% sure that it is really a thing.

      So, on top of the already existing server wide options of 66 and 67 that point pxe boots to the FOG server and specify the pxe boot file I added a couple more configurations.

      So before, something that helped a little was having an ip reservation for the FOG server on the same subnet as the workstations it’s imaging. So I was adjusting that reservation whilst migrating my FOG server setup to a new ip address on a new box. I decided to try a couple other options set just to the fog-server reservation.

      • option 003 Router - set to the router gateway address with a secondary address of the DHCP server itself (i.e. 192.168.100.1, 192.168.100.3)
      • option 012 Host Name - set to the fog server’s host name.

      The first time I booted to pxe (on a vm that usually required a few tries before it worked) it booted up with no issues at all just as it should, faster than I had ever seen even.

      So my question is for people with a little more network experience than me. People like @Sebastian-Roth @Tom-Elliott @Wayne-Workman Would setting these options make a difference reasonably?

      I kinda think that they would since one of the problems I would see with longer pxe boots is repeated discovers and selects of one of the 3 dhcp requests in the pxe boot process trying to find a router. So is this all in my head or did I stumble on something helpful?

      posted in General ipxe tftp boot dhcp options option 66 option 67 windows dhcp
      JJ FullmerJ
      JJ Fullmer
    • RE: FOG Compatibility Test Failed

      I had a problem with an older raid controller not being recognized by the centos/RHEL 7 kernel just yesterday. Would this happen to be an older hp smart array controller? Like 2008 or older?
      You could try adding these host kernel arguments (in the gui for the host, register it manually if you haven’t already)

      hpsa.hpsa_allow_any=1 hpsa.hpsa_simple_mode=1
      

      That might do the trick. These older array controllers are no longer supported by the RHEL kernels, this is where I got that info…
      http://serverfault.com/questions/611182/centos-7-x64-and-hp-proliant-dl360-g5-scsi-controller-compatibility

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • 1 / 1