Changing Endpoint Central Server's Name/IP/Port Details in Agent

Problem

Agents not communicating with the server after migration.

Cause

The new server details like FQDN, IP, Port numbers are not available with the agent.

Resolution

Changing the following details in the Endpoint Central Agents:

  • The Name or the IP Address of the Endpoint Central Server
  • The HTTP and HTTPS ports that are used by the Endpoint Central Agents to communicate with the Server
  • The mode of the communication as HTTP or HTTPS

To change the values, either a GPO or a cscript can be used. This page explains about using cscript/commands to achieve the same.

Learn about using GPO to inform agents about new server details.

Steps:

  1. For Windows - Download the configureDCAgentServerCommunication.txt and rename it to configureDCAgentServerCommunication.vbs.
    For Mac - Download the configureDCAgentServerCommunication_mac.txt and rename it to configureDCAgentServerCommunication.sh.
    For Linux - Download the configureDCAgentServerCommunication_linux.txt and rename it to configureDCAgentServerCommunication.sh.
  2. Copy the script to the client computers where the agent is installed.
  3. Open a command prompt/terminal.
  4. To execute the script for Mac & Linux agents, add executable permission by running the command 'chmod +x configureDCAgentServerCommunication.sh'
  5. Execute the command given below:

    For Windows - cscript configureDCAgentServerCommunication.vbs <DCServerName> <DCServer IP Address> <DCServer HTTP Port> <DCServer HTTPS Port> <DCServerAgent Comm Protocol>

    Example: cscript configureDCAgentServerCommunication.vbs joe.manageengine.com 192.168.112.146 8020 8383 https

    For Mac - sudo ./configureDCAgentServerCommunication.sh <DCServerName> <DCServer IP Address> <DCServer HTTP Port> <DCServer HTTPS Port> <DCServerAgent Comm Protocol>

    Example: sudo ./configureDCAgentServerCommunication.sh joe.manageengine.com 192.168.112.146 8020 8383 https

    For Linux - sudo ./configureDCAgentServerCommunication.sh <server_name> <server_ip> <http_port> <'http'/'https'> 

    Example - sudo ./configureDCAgentServerCommunication.sh joe.manageengine.com 192.168.112.146 8020 https

Applies to: Server Migration, Agent-Server Communication

Keywords: Update Server Details, Agent-Server Communication

Unable to resolve this issue?
If you feel this KB article is incomplete or does not contain the information required to help you resolve your issue, upload the required logs, fill up and submit the form given below. Include details of the issue along with your correct e-mail ID and phone number. Our support team will contact you shortly and give you priority assistance and a resolution for the issue you are facing.


 * Mandatory Fields

Other KB articles24/5 Support

Support will be available 24hrs a day and five days a week (Monday through Friday), excluding USA & India public holidays.

Tel : +1-888-720-9500
Email : desktopcentral-support@manageengine.com

Speak to us

  • Join the Endpoint Central Community, to get instant answers for your queries, register with our Forum.
  • Look out for the latest happenings in Desktop Management, follow our Tweets on Twitter.
  • Get to know the latest updates and Best Practices in Desktop Management through our Blog.