This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Changing Polling Engine for Agent Node

When I try and change the polling engine of an agent node by editing the node settings and pointing it at a new polling engine it doesn't seem to work.  Orion seems to acknowledge that the node is on the new polling engine; however, the node then shows as down.  I had to go edit the agent settings on the node itself and in there it still showed it pointed at the old polling engine, I had to update this to reflect the new polling engine also before the change was working properly.

It seems like I should be able to do this without having to log into each node, is this not the case?

Thanks in advance for any suggestions!

  • Is it possible that one or both APE's is not allowed to connect to the main poller over TCP Port 17777? Similarly, the main Orion server must also be able to connect to all APEs directly over TCP Port 17777.

  • The main Orion poller can definitely connect to all of the APE's on TCP Port 17777.  The APE I was moving the node from can communicate to the main poller on TCP Port 17777.  The APE that I was moving the node to can also communicate to the main poller on TCP Port 17777; however, it does so over a NAT IP.  If this were causing problems shouldn't I have expected to see other more significant issues?

  • aLTeReGo​ I wanted to let you know that I opened a support case on this and was informed that for agents using the Agent Initiated communication model that you can't change the polling engine via the web console, they need to be manually changed on the node.  I was not satisfied with this answer so the support guy (who was great to work with) confirmed this answer with two AE's. 

    Can you confirm if this is accurate?

    If that is accurate do you guys have documentation on the proper steps to take to change the polling engine for an agent running in Agent Imitated mode?

  • I apologize for the delayed response byrona​. How is the Agent configured? Is it in Agent Initiated (Active) mode, or Server Initiated (Passive) mode? If the Agent is running in 'Active' mode, can you confirm that the machine where the agent is installed can properly resolve the hostname (short name, not FQDN) of the polling engine you're trying to move the agent to? If it cannot, that would explain why the Agent keeps rehoming back to the last poller it was able to successfully communicate with. This is a safety measure built into the Agent to prevent them from becoming orphaned should they not be able to communicate with the desired polling engine.

  • aLTeReGo​ I am running the agents in Agent Initiated (Active) mode.  My expectation is that they likely can NOT resolve the hostname of the poller.  If what you are saying is correct I should be able to test this by putting in a host file entry allowing it to resolve.  I will test this and let you know what I find.

    Also, are you able to comment on the accuracy of the information I was provided by Support indicated below?

  • You absolutely can move 'active' agents from one polling engine to another. The following video demonstrates that for you.

    Video Link : 1029

  • aLTeReGo I added a host file entry for the short name of the polling engine and was able to ping it using the short name to confirm it was resolving properly.  When I attempted to move it to a new polling engine it failed again.  The problem seems to be that it's updating in the Orion database that it's on the new polling engine but the node itself isn't getting updated.  In the screenshot below the Orion Agent settings continue to show the old polling engine but in the Orion WebUI it shows the new one.

    2017-08-16_12-02-09.png

    2017-08-16_12-09-28.png

  • Thanks for the informative video.

    if you have access to Database, table update with SQL query can do job.

  • byrona​, have you confirmed that each of the Polling Engines can resolve eachothers hostnames (shortname, not FQDN)? E.G. The main poller must be able to resolve the hostname of all additional polling engines. Similarly, the Polling Engines must be able to resolve the hostname of the main poller.

  • Is this possible via the SDK?  Its a pain to do this manually for each node.  The only way I can think to do this en masse is to change the polling method, update the table and change the polling method back.  The advice in Polling Engine Load Balancing · solarwinds/OrionSDK Wiki · GitHub  doesn't push the change to the agents.