Skip to main content

RVY200739: Installing multiple Data Hub Agent instances on the same server

Comments

4 comments

  • Lao-Tan Scotto

    Great article. If this approach is used, how does upgrading multiple agents on the same system work? I know the registry is used to help determine if an agent already exists, but I'm assuming the registry can only be used for one of the agents, is that correct?

    0
  • Support SAM & Consulting

    Hello Lao, yes the registry is only used by the MSI installation, as all additional instances are simply portable versions of the MSI install.

    So, after you have performed an in-place upgrade, you need to update all portable instances by copying and pasting the new binaries from the MSI's INSTALLDIR to their instance directories.

    0
  • Lao-Tan Scotto

    Thank you for your help. Regarding the following statement:

    "So, after you have performed an in-place upgrade, you need to update all portable instances by copying and pasting the new binaries from the MSI's INSTALLDIR to their instance directories."

    When we update the portable instances, I'm assuming that before we overwrite the portable installation, we have to note down the AgentID that was in use. Then we overwrite the the portable installation. Finally, we update Raynet.RayVentory.DataHub.Agent.dll.config with the AgentID that we used previously so that a new agent is not created, but the previous agent is reused. Is this correct? Anything else we have to do to make sure a new agent record is not created within the database?

    Also, as part of the upgrade, do we have to delete/remove the windows service for the portable installation, and then recreate it using the instructions above after copying over the new version of the portable datahub agent?

    Thanks again for your help!

    0
  • Support SAM & Consulting

    Before updating a "portable" Data Hub Agent, you need to stop it's corresponding Windows Service. Then you can update all files and keep the AgentID. Compare, if the command and options of the "portable" agent service is still equal with the original command (apart from the different folder). If there is a new parameter for the service command, then apply this also to the command for your "portable" version.
    Once the update is fine, just restart the corresponding Windows Service, which then should match the existing Agent record within Data Hub.

    0

Please sign in to leave a comment.

Powered by Zendesk