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

Basic Persistent groups and 1.3.0RC16

Scheduled Pinned Locked Moved
Tutorials
5
24
10.5k
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.
  • T
    theWizard
    last edited by Dec 13, 2016, 2:20 PM

    Is there any way of getting the snapins associated with the defaulttemplate host to launch when machines are deployed using quick reg auto pop ?
    I set the group to defaulttemplate but the snapins never get launched, or @Developers is it possible to add a snapins selection to the auto pop section this would make imaging machines for us 100% automated at least on a per room basis.

    G 1 Reply Last reply Dec 13, 2016, 2:33 PM Reply Quote 0
    • G
      george1421 Moderator @theWizard
      last edited by george1421 Dec 13, 2016, 8:34 AM Dec 13, 2016, 2:33 PM

      @theWizard Is there any way of getting the snapins associated with the defaulttemplate host to launch when machines are deployed using quick reg auto pop ? I set the group to defaulttemplate but the snapins never get launched, or @Developers is it possible to add a snapins selection to the auto pop section this would make imaging machines for us 100% automated at least on a per room basis.

      First I have to say the persistent group function is not an officially supported function of FOG 1.3.0. It is a user supplied hack to give FOG some kind of persistent group ability.

      Just for clarity, it does work correctly when you assign the host to the template group via the web gui?

      I don’t believe that the quick reg allows you to pick a group assignment. The trigger to activate the persistent group is the host being added to the template group. This is done at the database level and not via the web gui. So it should activate as soon as a host is added to the template group.

      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!

      T T 2 Replies Last reply Dec 13, 2016, 3:30 PM Reply Quote 0
      • T
        Tom Elliott @george1421
        last edited by Dec 13, 2016, 3:30 PM

        @george1421 It should allow you to add the host to a group. I haven’t played with it in a while though (to be honest).

        I can’t remember if the groups are listed in a select box or it just presents a text box. Pretty sure it’s just a text box in which case it would accept comma separated.

        Note: (NOT , space e.g. 11, 1) but must be: 11,1

        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

        G 1 Reply Last reply Dec 13, 2016, 3:36 PM Reply Quote 0
        • G
          george1421 Moderator @Tom Elliott
          last edited by Dec 13, 2016, 3:36 PM

          @Tom-Elliott Well if that is the case and the host is added to the template group the db trigger should fire and add in everything that is associated with the host template. The only thing I could think might go wrong is the db trigger fires too soon and the host hasn’t been fully updated yet. The group assignment should (hopefully) be the last thing the quick reg does, that way the host is already defined before the trigger fires. I can say I never tested the trigger with a quick reg since we never do quick reg any more.

          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!

          T 1 Reply Last reply Dec 13, 2016, 3:37 PM Reply Quote 0
          • T
            Tom Elliott @george1421
            last edited by Dec 13, 2016, 3:37 PM

            @george1421 The trigger will only happen the moment the host is “officially” stored in the database. That means it doesn’t matter where it’s added in the the process, rather when the DB actually get’s the new entry. (which would be after the host is “saved”)

            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
            • T
              theWizard @george1421
              last edited by theWizard Dec 13, 2016, 10:00 AM Dec 13, 2016, 3:52 PM

              @george1421
              Yep you can select a group in quick reg ( drop down list ) which i set to the defaulttemplate group so expected the trigger to fire and launch the snapins too but unfortunately while everything else works and the image starts deploying the snapins don’t get launched, if i check the host the snapins are assigned to it but they never got launched 😞
              @Tom-Elliott I wonder if it would be simpler if possible at all just to add a drop down for snapins to the quick reg section ?

              G 1 Reply Last reply Dec 13, 2016, 4:08 PM Reply Quote 0
              • G
                george1421 Moderator @theWizard
                last edited by Dec 13, 2016, 4:08 PM

                @theWizard I’m just wanting to confirm here (since I don’t use snapins at all).

                When you quick reg a machine, you add the machine to the host template group. All of the host template settings get assigned to the host, including snapins. If you go and look at the host you just auto registered the snapins ARE assigned to that new quick reg host?? But after imaging the fog client doesn’t install the snapins as it would if you assigned the snapin (singly) post imaging??

                Right now its not clear if the issue is with the db trigger, or the fog client not picking up the snapins, or there is another table that needs to be set to trigger the snapins to install.

                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!

                T 1 Reply Last reply Dec 13, 2016, 4:13 PM Reply Quote 0
                • T
                  theWizard @george1421
                  last edited by Dec 13, 2016, 4:13 PM

                  @george1421
                  It’s not the fog client, when the imaging task fires after doing the auto reg the snapins don’t get launched at all. If i launched it as a standard deploy there would be an imaging task and snapins task in the queue but using auto reg even with group set to host template group the snapins task does not get created only the imaging task BUT the snapins are assigned to the host if you check in the gui.

                  G 1 Reply Last reply Dec 13, 2016, 4:18 PM Reply Quote 0
                  • G
                    george1421 Moderator @theWizard
                    last edited by george1421 Dec 13, 2016, 10:19 AM Dec 13, 2016, 4:18 PM

                    @theWizard Ah, that is what I thought. The snapin assignments are being made (host X has these snapins assinged) but this snapins are not creating the task to actually deploy them.

                    <edit>or to say it the same exact way again</edit> Or to say it another way the snapin assignments exist but the task to install them is missing.

                    Ideas Tom?? I would ass-u-me that the trigger will need to create the snapin deploy task. That would sound logical if it was a quick reg and deploy or done from the gui.

                    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!

                    T 1 Reply Last reply Dec 13, 2016, 4:22 PM Reply Quote 0
                    • T
                      theWizard @george1421
                      last edited by Dec 13, 2016, 4:22 PM

                      @george1421 Exactly yes no task to install the snapin is created.

                      T 1 Reply Last reply Dec 13, 2016, 5:59 PM Reply Quote 1
                      • T
                        Tom Elliott @theWizard
                        last edited by Dec 13, 2016, 5:59 PM

                        @theWizard Mind giving a shot with the RC 36 build?

                        I think the problem was the host was not “known” to have the snapins at that point. The associations were made, but the original object did not have the new items embedded. I’m currently addressing this by “loading” the new stuff, but I think I’ll be rethinking this once I get home. For now, however, this should do what you need it to now.

                        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

                        T 1 Reply Last reply Dec 14, 2016, 3:05 PM Reply Quote 0
                        • T
                          theWizard @Tom Elliott
                          last edited by Dec 14, 2016, 3:05 PM

                          @Tom-Elliott I updated to RC36 but same result, if i check the host the snapins are assigned to it and the image is deploying but there is no task for the snapins at all.

                          T 1 Reply Last reply Dec 14, 2016, 3:05 PM Reply Quote 0
                          • T
                            Tom Elliott @theWizard
                            last edited by Dec 14, 2016, 3:05 PM

                            @theWizard This is validated under Task->Active Snapin Tasks?

                            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

                            T 1 Reply Last reply Dec 14, 2016, 3:16 PM Reply Quote 0
                            • T
                              theWizard @Tom Elliott
                              last edited by Dec 14, 2016, 3:16 PM

                              @Tom-Elliott Yep just checked again and no snapin tasks at all

                              1 Reply Last reply Reply Quote 0
                              • Greg PlamondonG
                                Greg Plamondon Testers
                                last edited by Jan 25, 2017, 9:13 PM

                                I have been waiting for a plugin like this for some time, I love it! Keep up the good work! I hope this plugin improves over time so eventually we can remove and add members to the group and have it update the host settings with out haveing to delete and re-create the host.

                                Nice work man!

                                G 1 Reply Last reply Jan 25, 2017, 9:55 PM Reply Quote 0
                                • G
                                  george1421 Moderator @Greg Plamondon
                                  last edited by Jan 25, 2017, 9:55 PM

                                  @Greg-Plamondon said in Basic Persistent groups and 1.3.0RC16:

                                  … improves over time so eventually we can remove and add members to the group and have it update the host settings with out haveing to delete and re-create the host.

                                  Can you explain this?

                                  The plugin sets up a database trigger (a bit of a hack) so each time you add a host to the group the trigger fires and updates the target host. At least that is how its suppose to 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
                                  • T Tom Elliott referenced this topic on May 20, 2024, 7:50 PM
                                  • Y
                                    yannickF
                                    last edited by Jul 1, 2024, 7:04 AM

                                    hi georges, persitent groups still working on 1.5.10 ? i have some isssues

                                    T 1 Reply Last reply Jul 1, 2024, 10:18 AM Reply Quote 0
                                    • T
                                      Tom Elliott @yannickF
                                      last edited by Jul 1, 2024, 10:18 AM

                                      @yannickF You really should state your issues.

                                      If a feature isn’t available for whatever reason, we will tell you, but leaving us in “uh oh” isn’t really a good approach.

                                      What issue are you having?

                                      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
                                      • 1
                                      • 2
                                      • 1 / 2
                                      • First post
                                        Last post

                                      238

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project