To modify Composer.Core.exe.config:
- From the %Composerdir% directory, open Composer.Core.exe.config with a text editor that supports UTF-8.
-
Within the
<appSettings> element, change all IP ports to
the same number, in the following example
8100:
<appSettings> <add key="rws" value="http://localhost:8100/rws" /> ... <add key="sts" value="http://localhost:8100/sts" /> <add key="login" value="http://localhost:8100/mur/login" /> <add key="mur" value="http://localhost:8100/mur/data" />
-
Within the
<crossDomainServices> element:
- Comment out the first <add baseAddress line.
-
In the second
<add baseAddress line:
- Change https to http.
- Change localhost to the DNS name of the load balancer server.
- Change the IP port to 8100.
<crossDomainServices policy="%Composerdir%ClientAccessPolicy.xml"> <baseAddresses> <!-- <add baseAddress="http://localhost:8011/"/> --> <add baseAddress="http://[DNS name of the load balancer server]:8100/"/> </baseAddresses> </crossDomainServices>
-
Below the line
<service name="STS" behaviorConfiguration ="STSBehaviour"
>:
- Change localhost to the DNS name of the load balancer server.
- Change the IP port to 8100.
- Add the line bindingConfiguration="STS_WindowsBindingConfiguration".
<service name="STS" behaviorConfiguration ="STSBehaviour" > <host> <baseAddresses> <add baseAddress ="http://[DNS name of the load balancer server]:8100/sts" /> </baseAddresses> </host> <endpoint address ="windows" binding="wsHttpBinding" bindingConfiguration="STS_WindowsBindingConfiguration" contract ="ModusSuite.Runtime.STS.ISecurityTokenService" /> <endpoint address ="username" ....
-
In the
<add baseAddress element below the line
<service name="ModusUserRepositoryService"
behaviorConfiguration ="ModusSuiteServiceBehaviour" >:
- Change localhost to the DNS name of the load balancer server.
- Change the IP port to 8100.
<service name="ModusUserRepositoryService" behaviorConfiguration ="ModusSuiteServiceBehaviour"> <host> <baseAddresses> <add baseAddress ="http:// [DNS name of the load balancer server]:8100/mur" />
-
In the
<add baseAddress element below the line
<service
name="ModusSuite.DataProvider.DataProviderService" behaviorConfiguration
="ModusSuiteServiceBehaviour" >:
- Change localhost to the DNS name of the load balancer server.
- Change the IP port to 8100.
<service name="ModusSuite.DataProvider.DataProviderService" behaviorConfiguration ="ModusSuiteServiceBehaviour" > <host> <baseAddresses> <add baseAddress ="http://[DNS name of the load balancer server]:8100/dataprovider" />
-
In the
<add baseAddress element below the line
<service name="ModusSuite.Repository.RepositoryWebService"
behaviorConfiguration ="ModusSuiteServiceBehaviour" >:
- Change localhost to the DNS name of the load balancer server.
- Change the IP port to 8100.
<service name="ModusSuite.Repository.RepositoryWebService" behaviorConfiguration ="ModusSuiteServiceBehaviour" > <host> <baseAddresses> <add baseAddress ="http:// [DNS name of the load balancer server]:8100/rws" />
- Save and close the file.