At a certain point, you may be required to make adjustments to the hostname of your machine, EF Servers or its components. To handle the post install changes to properties, you can use the GUI or use the ecconfigure, an ElectricFlow packaged tool.
ecconfigure allows you to make multiple adjustments on the command line. This will save you time from having to adjust multiple configuration files and guard against missing any necessary setting changes.
When adjusting the name of the machine hosting the Server or other ElectricFlow components, you may see a connection error such as:
Web Server could not connect the ElectricFlow Server at https://<hostname>:8443
If you receive this error and the ElectricFlow Server is running, then the Webserver may be pointing to the wrong ElectricFlow server hostname.
To resolve this error or adjust the Hostname targets for the Server or Webserver, you can use the following ecconfigure command:
- ecconfigure --webTargetHostName <Hostname> --serverName <Hostname>
After inputting this command, you should see a response similar to the following:
Version: <Version Number>
Install Directory: <Install-Dir>
Data Directory: <Data-dir>
Components: tools, agents, web, server, database, repository
Setting the commander agent's domain name if not set already
Restarting commanderAgent Service
ecconfigure can do a multitude of Configuration edits. For more details, please see the Examples within the Documentation.