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

Trunk 5749 Snapin deployment issue

Scheduled Pinned Locked Moved
FOG Problems
3
16
3.8k
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.
  • G
    Greg Plamondon Testers
    last edited by Greg Plamondon Jun 23, 2016, 3:39 PM Jun 23, 2016, 9:38 PM

    when imaging a PC from a remote storage node the snapins are not installed from the storage node but from the main fogserver.
    This is causing the imaging process to crawl as it downloads the snapins across our slow MPLS network.

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Jun 23, 2016, 10:46 PM

      Is the snapin set to replicate? Can you verify the files exist on the storage nodes? Are you using the location plugin?

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      G 2 Replies Last reply Jun 24, 2016, 2:29 AM Reply Quote 0
      • G
        Greg Plamondon Testers @Wayne Workman
        last edited by Jun 24, 2016, 2:29 AM

        @Wayne-Workman said in Trunk 5749 Snapin deployment issue:

        Is the snapin set to replicate? Can you verify the files exist on the storage nodes? Are you using the location plugin?

        I dont have the replicatre box checked. Although the snapins are on the remote node.
        I will check the box.

        1 Reply Last reply Reply Quote 0
        • G
          Greg Plamondon Testers @Wayne Workman
          last edited by Jun 24, 2016, 12:28 PM

          @Wayne-Workman said in Trunk 5749 Snapin deployment issue:

          Is the snapin set to replicate? Can you verify the files exist on the storage nodes? Are you using the location plugin?

          ok, I verified that all my snapins are set to replicate and I verified that all the files are at the remote node. and yes I am using the location plugin. The snapins are still being pulled from the main fogserver across the slow mpls network.
          This is going to be a very long weekend! please help…

          Thanks.

          W 1 Reply Last reply Jun 24, 2016, 1:51 PM Reply Quote 0
          • W
            Wayne Workman @Greg Plamondon
            last edited by Jun 24, 2016, 1:51 PM

            @Greg-Plamondon Can you delete the files on the non-master nodes and let replication put them back?

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            G 1 Reply Last reply Jun 24, 2016, 2:52 PM Reply Quote 0
            • Q
              Quazz Moderator
              last edited by Jun 24, 2016, 2:40 PM

              What happens when you create a snapin task?

              G 1 Reply Last reply Jun 24, 2016, 6:45 PM Reply Quote 0
              • G
                Greg Plamondon Testers @Wayne Workman
                last edited by Jun 24, 2016, 2:52 PM

                @Wayne-Workman said in Trunk 5749 Snapin deployment issue:

                @Greg-Plamondon Can you delete the files on the non-master nodes and let replication put them back?

                I have, and I can see them replicate in /var/log/fog/fogsnapinrep.log and I verified they are on the remote node

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman
                  last edited by Jun 24, 2016, 3:14 PM

                  @Tom-Elliott can you clarify if the location plugin applies to snapins? How does the server decide what storage node to use for snapin deployments?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • G
                    Greg Plamondon Testers @Quazz
                    last edited by Jun 24, 2016, 6:45 PM

                    @Quazz said in Trunk 5749 Snapin deployment issue:

                    What happens when you create a snapin task?

                    when I create the snapin task everything runs as normal except that the files get downloaded from the management fogserver and not the storage node.

                    W 1 Reply Last reply Jun 24, 2016, 7:43 PM Reply Quote 0
                    • W
                      Wayne Workman @Greg Plamondon
                      last edited by Jun 24, 2016, 7:43 PM

                      @Greg-Plamondon I’ve been thinking about this. Perhaps we can work around the issue for now?

                      What does the snapin do? Can we get a screen shot of the snapin settings? It might be trivial to turn the snapin into a simple script that WOULD pull the larger files from the correct places and execute them.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      G 1 Reply Last reply Jun 24, 2016, 9:12 PM Reply Quote 0
                      • G
                        Greg Plamondon Testers @Wayne Workman
                        last edited by Jun 24, 2016, 9:12 PM

                        @Wayne-Workman said in Trunk 5749 Snapin deployment issue:

                        @Greg-Plamondon I’ve been thinking about this. Perhaps we can work around the issue for now?

                        What does the snapin do? Can we get a screen shot of the snapin settings? It might be trivial to turn the snapin into a simple script that WOULD pull the larger files from the correct places and execute them.

                        sure!!
                        0_1466802653626_snapin.PNG

                        Most of my snapins are self extracting sfx archives or msi packages.

                        W 1 Reply Last reply Jun 24, 2016, 9:36 PM Reply Quote 0
                        • W
                          Wayne Workman @Greg Plamondon
                          last edited by Wayne Workman Jun 24, 2016, 3:46 PM Jun 24, 2016, 9:36 PM

                          @Greg-Plamondon Ok, I think this will be very simple.

                          I hope you have groups made for all hosts at each physical location - that will make it even easier.

                          This will be more a guide than a complete solution for you, but I can give examples if needed. I would rather you at least try on your own before I just hand off free work.

                          Make a samba share on each fog storage node. This can optionally include the master node too. Instructions on that:
                          https://wiki.fogproject.org/wiki/index.php?title=Password_Protected_Samba_Share
                          You can absolutely tweak that to your liking per-site.

                          Next, you’ll write a batch script that you will test manually (no snapins, yet).
                          This script will xcopy the file you need from ONE of the storage nodes Samba shares to the local c:\ drive somewhere. Then, the batch file will initiate the executable it just copied.

                          Make a script for each storage node. Test each script manually. Ensure it works. Test run them by right clicking them, and selecting “Run as administrator”, this is closer to what the fog client will do than just double clicking on them.

                          Then, create a snapin for each of the scripts, use the batch template. Test each snapin on a single lone computer at each site - ensure it works.

                          Then, after ensuring all snapins work at all sites, use those groups that you hopefully have made and associate the correct snapin to the correct groups.

                          With this setup, whenever computers are imaged, the snapin will auto-deploy post-imaging and get done what you need.

                          Helpful advice: Put numbers in front of the snapin names to dictate the order in which they are executed.

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          G 1 Reply Last reply Jun 25, 2016, 2:06 AM Reply Quote 0
                          • G
                            Greg Plamondon Testers @Wayne Workman
                            last edited by Jun 25, 2016, 2:06 AM

                            @Wayne-Workman
                            I don’t want to come across as rude but your method seems a little sloppy. I would rather use fog as it was/is being designed to work. creating groups and scripts for every snapin would be tedious.
                            We have 27 Locations with different application sets at each. I appreciate your effort, And believe me I have “tried” I never asked for a handout or " free work" I just wanted a fix for my problem.

                            Thanks.

                            W 1 Reply Last reply Jun 25, 2016, 3:53 AM Reply Quote 0
                            • W
                              Wayne Workman @Greg Plamondon
                              last edited by Wayne Workman Jun 24, 2016, 10:39 PM Jun 25, 2016, 3:53 AM

                              @Greg-Plamondon Well you made it seem like it was urgent, I wanted to help, and it’s meant to be a temporary fix that will accomplish the end goal. I don’t know how it’s sloppy, as I didn’t give you any code, but just a guide. Paired with fog snapins, the script I described would probably be about two lines long. Copy and then run, basically. Fog is all about customization, to quote Tom “tom is my name, and customization is the game”. And the samba setup is very standard, very basic.

                              If you piled all the copy and runs into a single script for each site, you’d have a snapin per site basically.

                              Feel free to wait for a better idea from someone here. All I was trying to do is help.

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              G 1 Reply Last reply Jun 25, 2016, 5:32 AM Reply Quote 0
                              • G
                                Greg Plamondon Testers @Wayne Workman
                                last edited by Jun 25, 2016, 5:32 AM

                                @Wayne-Workman
                                I said the method was sloppy not the code, (but that’s a matter of opinion)But your right it was urgent at the time and I already have a samba share at each node for drivers for imaging. I see now what your guide was accomplishing and it would have worked fine if I would have paid more attention to detail when reading your post. Thanks again.

                                W 1 Reply Last reply Jul 17, 2016, 10:41 PM Reply Quote 0
                                • W
                                  Wayne Workman @Greg Plamondon
                                  last edited by Jul 17, 2016, 10:41 PM

                                  @Greg-Plamondon
                                  Please see:
                                  https://news.fogproject.org/fog-client-v0-11-4-released/

                                  0.11.4 now downloads from the storage node if locations are setup.

                                  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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

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

                                  236

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project