You must update the
httpd.conf file on each web server in the cluster. The
httpd.conf file is usually in
apache/conf on a Linux machine and
ProgramData\Electric Cloud\ElectricCommander\apache\conf on a Windows machine.
To configure all the web servers for clustered mode operation and give them the name of the load balancer:
On Linux, it is usually at
On Windows, it is usually at
C:\Program Files\Electric Cloud\ElectricCommander\bin\ecconfigure.exe.
Run the tool with the following option on each web server.
ecconfigure --webTargetHostName <load_balancer_FQDN>
where < load_balancer_FQDN > is the fully qualified domain name of your CloudBees CD server’s load balancer machine.
--webTargetHostNameargument modifies the CloudBees CD web server configuration and therefore also attempts to restart the CloudBees CD web server. If you used the
sudoas recommended, the
commanderApacheservice will not start and produces an error. Therefore, you must restart it manually afterward using
sudo. You can also use the
--skipServiceRestartargument to avoid the
ecconfigurecommand’s restart attempt and the error message.