Agent Deployment
-
Hi!
Can you do the following on node with failed upgrade:
- check agent version by running
nxagentd.exe -v
- If version was changed, check for errors in agent's log (or Windows event log) - maybe something prevents it from starting. Then try to start agent manually.
Best regards,
Victor -
-
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. -
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 -
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 -
Hi!
Upgrade goes as following:
- 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.
- Agent launch downloaded installer.
- Installer issues stop command to agent service.
- Installer copies new files.
- Installer issues start command to agent service.
Best regards,
Victor -
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 -
What directory pointed by FileStore parameter in nxagentd.conf? Can agent create files in this directory?
Best regards,
Victor -
-
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 -
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 -
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 -
-
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