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

    fog snapins - parallel execution

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    4
    9
    3.0k
    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

      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

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        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 Reply Quote 3
        • Q
          Quazz Moderator
          last edited by

          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
          • Wayne WorkmanW
            Wayne Workman @MarkusK
            last edited by

            @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
            • Tom ElliottT
              Tom Elliott
              last edited by

              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
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                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

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • M
                    MarkusK @Tom Elliott
                    last edited by MarkusK

                    @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 Reply Quote 0
                    • Q
                      Quazz Moderator @MarkusK
                      last edited by

                      @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

                      154

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project