Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Agent Deployment

Agent Deployment

Scheduled Pinned Locked Moved Support
20 Posts 3 Posters 55.0k Views
  • 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.
  • L
    L
    lindeamon
    wrote on last edited by
    #8

    Hi Victor,

    i have already installed those agents manually, will check this on next release.

    Best Regards,
    Lindeamon

    1 Reply Last reply
    0
    • P
      P
      Peter Sentveld
      wrote on last edited by
      #9

      Hello,

      I have 350+ windows installation with agent. Normally the upgrade goes smooth, only a few (explainable) misses.

      More than 100 are already upgraded to 1.2.13 without problems.
      Today 3 upgrades in a row failed.

      Looks like if the agent is running an (long) ExternalParameter job the upgrade failes. On 1 server the agent is down, process is not in memory but the externalparameter job is still running and “netstat -an” still gives that something is listening on port 4700.

      Cannot start the (new?) agent, I will have to boot this system.

      So to me it looks like that there’s “a wrong moment” in the agent to do the upgrade.

      Regards,
          Peter.

      1 Reply Last reply
      0
      • L
        L
        lindeamon
        wrote on last edited by
        #10

        Hi Victor,

        how come PeterSentveld has managed to successfully upgrade more then a 100 nodes and i can not upgrade only 3 and i haven't being able to do that from the beginning ?
        can you explain to me what happens when i deploy the package ? let's focus on windows agents.
        i download a msi package with a npi file. i import it and instruct the server to install the file with working agent. no external parameter or things like that.
        what happens next ? do you create a process which runs the agent through a unc path ? do you copy the agent to a temp folder and then run it with a specific switch ?

        Best Regards,
        Lindeamon

        1 Reply Last reply
        0
        • L
          L
          lindeamon
          wrote on last edited by
          #11

          hi victor,

          i have done the test and it seems that the upgrade process didn't take place at all.
          the deployment process timed out and the agent hasn't changed it's version.
          again, if you could explain to me the process of the deployment maybe i will be able to find the cause for the problem.
          let me try and save you the hussle of writing it down: the server connects to the agent and instruct it to do an upgrade. the agent shuts itself down and here there is a problem. do you create some kind of WMI process that goes to a unc path and execute msiexec.exe command ? do you copy the file to the destination, create a process for installing the agent and start it up ?

          Best Regards,
          Lindeamon

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #12

            Hi!

            Upgrade goes as following:

            1. server transfers installer file to the remote machine (file is placed into directory specified in FileStore parameter in nxagentd.conf). For file transfer server uses same agent connection.
            2. Agent launch downloaded installer.
            3. Installer issues stop command to agent service.
            4. Installer copies new files.
            5. Installer issues start command to agent service.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • L
              L
              lindeamon
              wrote on last edited by
              #13

              Hi Victor,

              i followed the steps you wrote and it got to step 3 and stopped. i know this cause i saw the agent file and saw that the service has been stopped but that's it.
              i have checked the eventlog i did not see something useful.
              hope this helps you solve the problem.

              Best Regards,
              Lindeamon

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #14

                What directory pointed by FileStore parameter in nxagentd.conf? Can agent create files in this directory?

                Best regards,
                Victor

                1 Reply Last reply
                0
                • L
                  L
                  lindeamon
                  wrote on last edited by
                  #15

                  Hi victor,

                  Yes, the file is created and the location is the default location.

                  Best Regards,
                  Lindeamon

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #16

                    That could mean that installer cannot overwrite one of the files. It could happen if event viewer is open for example - it opens nxagentd.exe to read messages. If you manually start installer uploaded by server to file store directory it runs without problem?

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • L
                      L
                      lindeamon
                      wrote on last edited by
                      #17

                      Hi Victor,

                      i have installed it manually but not from the file copied but from the file i have downloaded and imported into the server.
                      the installation went fine as always.
                      if i have installed the agent with checkboxes checked and netxms server configured for the 1st time, does it influence the silent install ?

                      Best Regards,
                      Lindeamon

                      1 Reply Last reply
                      0
                      • V
                        V
                        Victor Kirhenshtein
                        wrote on last edited by
                        #18

                        It should not - installer takes settings from previous install from registry. Try to run file uploaded by server and with /SILENT option - it will simulate unattended install but still show error messages if there will be any.

                        Best regards,
                        Victor

                        1 Reply Last reply
                        0
                        • L
                          L
                          lindeamon
                          wrote on last edited by
                          #19

                          Hi Victor,

                          running the file with /silent produced no errors. did i have to run the agent under a privileged account ?

                          Best Regards,
                          Lindeamon

                          1 Reply Last reply
                          0
                          • L
                            L
                            lindeamon
                            wrote on last edited by
                            #20

                            hi victor,

                            just upgraded to v1.2.14 and agent deployment didn't finished correctly. after manual install i got the "finished" message.

                            Best Regards,
                            Lindeamon

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups