Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Install Multiple Agents On Same Service Box

    Scheduled Pinned Locked Moved Support
    agentsbuildmaster
    3 Posts 1 Posters 22 Views
    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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      I am working on installation of multiple agents on same service box task.
      In order to make the agent box use port ‘6468’, I changed the port against the agent server in build master to 6468. It gave error status. When I ran the concerned application using:
      'for server <agent box name>
      { }'
      I got the error:
      'System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 137.201.129.250:6468'

      I am using the Manually Installed Agent for port 6468.
      Please suggest what needs to be done in order that the target machine should not refuse the connection.

      Product: BuildMaster
      Version: 5.7.2

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        To use multiple Inedo Agents on the same server, you will need to manually install the second agent. Note that you'll need to configure the second agent to listen on a different port. This is a configuration file setting in InedoAgentService.exe.config...

        Manual Inedo Agent Installation Instructions

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I was trying the Otter instructions link provided by you. When we execute step 4 and try to execute command:

          “InedoAgentService.exe install”

          We get the error message saying that InedoAgentSVC already exists.. attempting to uninstall it. Which means it first removed the already existing and running InedoAgentSVC and then created the same again. But it could not install it since I checked in services.msc and there was no such service(i.e, the already existing service was gone).

          I tried to do it as below as well:

          Since the InedoAgentSVC(Inedo agent service) had already uninstalled, I tried to install it again but this time with different port(used 8080 instead of 46336) so that we can use port 46336 for second agent installation as per otter instructions. I changed the port for Inedo agent and the service was installed successfully but its name was still InedoAgentSVC, so I tried to change name of service to InedoAgentSVCMain in app_appsettings.config and installed the Inedo agent again.

          It did not get installed and threw error.

          The point that comes out is that both Otter and Inedo Agent generate same service with name InedoAgentSVC. If we install either of these and then try to install the other one, the first one gets uninstalled.

          So as a conclusion, we can have only one of these agents in a machine.

          Please let me know if I am missing something or some step as I am still not able to use multiple agents on same service box.

          1 Reply Last reply Reply Quote 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
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation