Change Name/IP/Port Number of Central Server
Problem
You want to update a new DNS name/ip and port number of the Central Server in the agents (Client Computers) that are already installed
Cause
You have moved your Central Server to another machine which has a different name/ip and port number.
Resolution
You can change the following in the Agents that have been already installed:
- The Name or the IP Address of the Central Server
- The HTTP and HTTPS ports that are used by the Agents to communicate with the Server
- The mode of the communication as HTTP or HTTPS
To change the values,
- For Windows - Download the configureUEMSServerCommunication.txt and rename it to configureUEMSAgentServerCommunication.vbs.
For Mac - Download the configureUEMSServerCommunication_mac.txt and rename it to configureUEMSAgentServerCommunication_mac.sh.
For Linux - Download the configureUEMSAgentServerCommunication_linux.txt and rename it to configureUEMSAgentServerCommunication_linux.sh.
- Copy the script to the client computers where the agent is installed.
- Open a command prompt/terminal.
- Execute the command given below:
For Windows - cscript configureUEMSAgentServerCommunication.vbs <UEMSServerName> <UEMSServer IP Address> <UEMSServer HTTP Port> <UEMSServer HTTPS Port> <UEMSServerAgent Comm Protocol>
Example: cscript configureUEMSAgentServerCommunication.vbs joe.manageengine.com 192.168.112.146 8020 8383 http
For Mac - sudo ./configureUEMSAgentServerCommunication_mac.sh <UEMSServerName> <UEMSServer IP Address> <UEMSServer HTTP Port> <UEMSServer HTTPS Port> <UEMSServerAgent Comm Protocol>
Example: sudo ./configureUEMSAgentServerCommunication_mac.sh joe.manageengine.com 192.168.112.146 8020 8383 http
For Linux - sudo ./configureUEMSAgentServerCommunication_linux.sh <server_name> <server_ip> <http_port> <'http'/'https'>
Example - sudo ./configureUEMSAgentServerCommunication_linux.sh joe.manageengine.com 192.168.112.146 8020 http