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

fog snapins - parallel execution

Scheduled Pinned Locked Moved Solved
Windows Problems
4
9
2.9k
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
    MarkusK
    last edited by Nov 3, 2016, 1:59 PM

    Server
    • FOG Version: 1.2.0
    • OS: Ubuntu
    Client
    • Service Version: latest
    • OS: Windows 7
    Description

    I distribute several snapins to our Windows 7 clients with selfextracting archives and batch scripts on run. When several snapins are being deployed, the fog client executes them parallel at the same time. This leads to errors, when there are multiple msiexec commands running, because only one msiexec install can run at the same time.

    Is there a way to tell the fog client oder server only to execute one snapin after the other?

    thanks

    Markus

    W 1 Reply Last reply Nov 3, 2016, 3:18 PM Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 3, 2016, 2:16 PM

      I don’t understand.

      The snapin system IS one at a time. If your snapins are running in “background” this is a piece of the snapin itself returning an exit code to the client making the client believe it has completed that previous run.

      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

      M 1 Reply Last reply Jan 10, 2017, 11:10 AM Reply Quote 3
      • Q
        Quazz Moderator
        last edited by Nov 3, 2016, 2:47 PM

        I’m guessing you launch a batch script which launches a msiexec and then closes rather than waiting

        Adjust accordingly.

        1 Reply Last reply Reply Quote 3
        • W
          Wayne Workman @MarkusK
          last edited by Nov 3, 2016, 3:18 PM

          @MarkusK said in fog snapins - parallel execution:

          When several snapins are being deployed, the fog client executes them parallel at the same time.

          That’s not a fog issue, that’s your script’s issue. You need to write it so that it waits per-command.

          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 3
          • T
            Tom Elliott
            last edited by Nov 8, 2016, 11:37 AM

            Buehler?

            Any information?

            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
            • W
              Wayne Workman
              last edited by Nov 8, 2016, 5:36 PM

              I solved this because it’s not a fog problem.

              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
              • M
                MarkusK
                last edited by Jan 10, 2017, 11:08 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • M
                  MarkusK @Tom Elliott
                  last edited by MarkusK Jan 10, 2017, 6:41 AM Jan 10, 2017, 11:10 AM

                  @Tom-Elliott that sounds good to me as a concept. But I have the issue, that two selfextracting zips with batch scripts are being executed at the same time.

                  Does the snapin system already return an exit code 0, when the selfextracting archive is downloaded and not only when the execution of the install script is completed?

                  EDIT:

                  In the winrar SFX options I had to set “Setup program/Wait and return exit code”. Now it works. Thanks for the answer, that lead me to the solution.

                  https://www.winrar-france.fr/winrar_instructions_for_use/source/html/HELPSFXOptSetup.htm

                  Q 1 Reply Last reply Jan 10, 2017, 12:41 PM Reply Quote 0
                  • Q
                    Quazz Moderator @MarkusK
                    last edited by Jan 10, 2017, 12:41 PM

                    @MarkusK This depends entirely on your snapin, it simply accepts the exit code it gets from the program it is told to run.

                    If this is not the desired behavior, you need to alter your setup.

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

                    136

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project