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

    Group Management Settings not saving

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    10
    355
    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.
    • M
      MatMurdock
      last edited by

      When I edit anything on the Location Association, Image Association, and Active Directory tabs in Group Management Fog says it saves but when refresh the page the settings are not there. This only seems to happen on groups with an ID greater then 1. The default group works fine.

      I am running version 1.5.10.37.

      Mat

      JJ FullmerJ Tom ElliottT 2 Replies Last reply Reply Quote 0
      • JJ FullmerJ
        JJ Fullmer Testers @MatMurdock
        last edited by

        @MatMurdock Are you using the persistent groups plugin? When you set something in group management I believe it doesn’t save persistently unless you’re using that plugin. The idea is that you’re setting that settings on all hosts in that group the one time. I might be remembering that wrong, but that’s what I recall.

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        M 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @MatMurdock
          last edited by

          @MatMurdock
          Can you do a favor?

          Please:

          • Make a new testing host for your use case.
            • Make sure it has nothing preset that you want your group to set for you.
          • Add the newly created host to one of the groups you’re seeing issues with
          • Go through, set your associations and settings as you wanted and hit update/save.
          • Go back to the host you created explicitly for testing.

          Does that host have the defined settings displaying in 1.5.10.37?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • M
            MatMurdock @JJ Fullmer
            last edited by

            @JJ-Fullmer I do not have the persistant plug-in installed. What you are saying makes sense. Let do some more testing.

            Mat

            1 Reply Last reply Reply Quote 0
            • M
              MatMurdock
              last edited by

              If group settings are more a “mass change” mechanism then what is the best way to deploy a Snapin automatically to a newly imaged machine?

              Mat

              JJ FullmerJ 1 Reply Last reply Reply Quote 0
              • JJ FullmerJ
                JJ Fullmer Testers @MatMurdock
                last edited by

                @MatMurdock A newly imaged machine will automatically deploy any assigned snapins.

                The design is flexible and you can do it in many different ways but here’s a general example that would utilize a group.

                • You have a group named ‘Group A’ with computers you want to image with the same image and join the domain in the same ou and have them use the same bunch of snapins
                • You assign the image via group management, they all now have the same image
                • You assign the AD information, they all now have the same AD info
                • You assign some snapins, they all now have those snapins assigned (in addition to anything else those hosts already have assigned, you could also do a group remove of all snapins first if desired)
                • You push the task to deploy or multicast deploy on the group
                • All the machines in that group now have a deploy task for the image and a deploy task for the snapins associated

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

                1 Reply Last reply Reply Quote 0
                • M
                  MatMurdock
                  last edited by

                  This a fresh setup at a school, so the guys are going around and imaging the computers as they go. It sounds like in your example you would inventory all the machines first, put them in a group, apply the necessary settings, ie image, AD, Snapins. And then start them up and have them get imaged.

                  Does that sound correct?

                  Currently they have been doing a quick inventory, assigning the host a location and image so that the host will pull from the closest storage node and then image the machine.

                  Side note, I installed the location plugin in hopes that the host would be assigned the correct group, but that doesn’t seem to be functioning right now. I figured that if it was I could then go into groups and mass deploy a Snapin.

                  Mat

                  JJ FullmerJ 1 Reply Last reply Reply Quote 0
                  • JJ FullmerJ
                    JJ Fullmer Testers @MatMurdock
                    last edited by JJ Fullmer

                    @MatMurdock You can also do a full host registration and that allows you to set the group and the snapin associations at registration and kick off the image from there.

                    I use the API powershell module (see my signature) and have created custom functions and powershell tools to manage most my assignments. That takes a bit more work to get setup at scale but gives you more customization options.

                    Starting fresh, well depends on how fresh, the best answer depends on how you’re going to use Fog. Like if these are all brand new computers that aren’t in any other system yet, then doing quick reg on them all might be best.
                    I myself do full registration and inventory for new hosts. If all your computers already exist on the network or in Active Directory you could get the host information and import. Many moons ago I made this host scanner example https://forums.fogproject.org/topic/9560/creating-a-csv-host-import-from-a-network-scan?_=1721413305258 that will create a csv of all hosts and their macs on your network in the provided subnets.
                    If you can get them all in before hand, then mass-setting the snapins would be much easier.

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    1 Reply Last reply Reply Quote 0
                    • M
                      MatMurdock
                      last edited by

                      This is a new client so new AD. I think if I could get the Subnet Groups plugin to work I can make things work. If there was a way to apply a template to new hosts added to a group that would also do that job. I think the persistent plugin is supposed to do that but I haven’t figured it out yet. I think first I need to figure out why the Subnet Group plugin to work I will be good enough until I have some extra time to refine the process.

                      Mat

                      1 Reply Last reply Reply Quote 0
                      • M
                        MatMurdock
                        last edited by

                        It does look like things are working. I added a host to a group and then did a simple Basic task in the group and it pushed it out to the host. Now I just need to figure out a way to get hosts assigned to groups based on IP.

                        We have like 600 systems to image so trying to automate as much as I can.

                        Mat

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        148

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project