Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner/3.3/app.config @ 10204

Last change on this file since 10204 was 9461, checked in by pfleck, 12 years ago

#2030
Configured Tcp binding for Hive service on Hive clients.
Added binding-configuration priority list in Hive settings for managing multiple binding-configurations.
Added retry mechanism for multiple Hive-service bindings.

File size: 11.2 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6    </sectionGroup>
7    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
8      <section name="HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
9      <section name="HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
10      <section name="HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
11    </sectionGroup>
12  </configSections>
13  <runtime>
14    <gcServer enabled="true" />
15  </runtime>
16
17  <system.serviceModel>
18    <behaviors>
19      <endpointBehaviors>
20        <behavior name="HiveBehaviorConfiguration">
21          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
22        </behavior>
23      </endpointBehaviors>
24    </behaviors>
25    <bindings>
26      <wsHttpBinding>
27        <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
28          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
29          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
30          <security mode="Message">
31            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
32            <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default" />
33          </security>
34        </binding>
35      </wsHttpBinding>
36      <netTcpBinding>
37        <binding name="netTcpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
38          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
39          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
40          <security mode="TransportWithMessageCredential">
41            <transport clientCredentialType="Windows" />
42            <message clientCredentialType="UserName" algorithmSuite="Default" />
43          </security>
44        </binding>
45      </netTcpBinding>
46    </bindings>
47   
48    <services>
49      <service name="HeuristicLab.Clients.Hive.SlaveCore.SlaveCommunicationService">       
50        <endpoint address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
51      </service>
52    </services>
53 
54   <client>
55      <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
56      <endpoint address="http://testhive.fh-hagenberg.at/Hive-3.3/HiveService.svc"
57                binding="wsHttpBinding"
58                bindingConfiguration="wsHttpBinding_Hive"
59                contract="HeuristicLab.Clients.Hive.IHiveService"
60                name="wsHttpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration">
61        <identity>
62          <certificate encodedValue="AwAAAAEAAAAUAAAAbXPHlcY5JfZJhlUcEnbLsIbyDjEgAAAAAQAAAPcCAAAwggLzMIIB36ADAgECAhD7poiOgHRvm0fmBwBdcSX6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEzMDQwNDEyMTIwNloXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4RPzrf4LoNl4gvTpgRP6JM1OIr+KtIJbmI8X4U9aKeMuwhxrxM7qCwfDWSY7jXAcmeBNXthgmmiqWf+Nz1J0zRUfPwTJA9D6qkvjwEIiHIEwt3lUeHEOXKY75RaDQo/SKgGj9odLmVUlBqSXIxZNyxBWFCNpeeKVF06CvJ+0Ha+Z+htvPVGXds7G6w/Q1yyHO0KKeNuzsYQVGPrJVkNTWJrsDqCv5XehqrrPMQhDnLKC2epH4qZA9Q159i4HqyxMvpoiaFVBAWOKqsHdkpUBE+oaB0FSHqK5k+by/lInzTHxLDG5QQwxy5zZjlkFnUR7hEFifh/oo48R4jc7J2mPSwIDAQABo0kwRzBFBgNVHQEEPjA8gBDH8MN7gcWXXxlsL7KWZte7oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghD7poiOgHRvm0fmBwBdcSX6MAkGBSsOAwIdBQADggEBANrNxHpB2qA9j9/N+wzCJMJowkY1aGtknf/1eM+tfhv0RgmobZwm5cIu7srzV6R5OPpvNzzZjBgyOQxvzZsBt0XwFhKg9RClQL8OVX7EL2XRnlwQ+dTunCDNKGQs9cHUKcvZMLOESMcqN9hfEkRENaoscMpWjdztueXIha9IPp/ZxcmpKlH9fJPnAKMy9NhtI0BBNUY1xRQNUeu3y1oAgwWDG6zad1rJ5eAS6PByny+DHiFjLsmsm/nFRY8nSaE+2tXs56p/CLJSxmbuF5AsyfSJ1SlP/e5YgYQDWkMEx5NdcQu1dRdhnZLalrGTb6pIoj2HfOw2UMVMKLLWp+DvBPU=" />
63        </identity>
64      </endpoint>
65     <endpoint address="net.tcp://testhive.fh-hagenberg.at/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="netTcpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration">
66       <identity>
67         <certificate encodedValue="AwAAAAEAAAAUAAAAbXPHlcY5JfZJhlUcEnbLsIbyDjEgAAAAAQAAAPcCAAAwggLzMIIB36ADAgECAhD7poiOgHRvm0fmBwBdcSX6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEzMDQwNDEyMTIwNloXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4RPzrf4LoNl4gvTpgRP6JM1OIr+KtIJbmI8X4U9aKeMuwhxrxM7qCwfDWSY7jXAcmeBNXthgmmiqWf+Nz1J0zRUfPwTJA9D6qkvjwEIiHIEwt3lUeHEOXKY75RaDQo/SKgGj9odLmVUlBqSXIxZNyxBWFCNpeeKVF06CvJ+0Ha+Z+htvPVGXds7G6w/Q1yyHO0KKeNuzsYQVGPrJVkNTWJrsDqCv5XehqrrPMQhDnLKC2epH4qZA9Q159i4HqyxMvpoiaFVBAWOKqsHdkpUBE+oaB0FSHqK5k+by/lInzTHxLDG5QQwxy5zZjlkFnUR7hEFifh/oo48R4jc7J2mPSwIDAQABo0kwRzBFBgNVHQEEPjA8gBDH8MN7gcWXXxlsL7KWZte7oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghD7poiOgHRvm0fmBwBdcSX6MAkGBSsOAwIdBQADggEBANrNxHpB2qA9j9/N+wzCJMJowkY1aGtknf/1eM+tfhv0RgmobZwm5cIu7srzV6R5OPpvNzzZjBgyOQxvzZsBt0XwFhKg9RClQL8OVX7EL2XRnlwQ+dTunCDNKGQs9cHUKcvZMLOESMcqN9hfEkRENaoscMpWjdztueXIha9IPp/ZxcmpKlH9fJPnAKMy9NhtI0BBNUY1xRQNUeu3y1oAgwWDG6zad1rJ5eAS6PByny+DHiFjLsmsm/nFRY8nSaE+2tXs56p/CLJSxmbuF5AsyfSJ1SlP/e5YgYQDWkMEx5NdcQu1dRdhnZLalrGTb6pIoj2HfOw2UMVMKLLWp+DvBPU=" />
68       </identity>
69     </endpoint>
70     </client>
71   
72  </system.serviceModel>
73
74  <applicationSettings>
75    <HeuristicLab.Clients.Hive.Settings>
76      <setting name="EndpointConfigurationPriorities" serializeAs="Xml">
77        <value>
78          <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
79            <string>netTcpBinding_IHiveService</string>
80            <string>wsHttpBinding_IHiveService</string>
81          </ArrayOfString>
82        </value>
83      </setting>
84    </HeuristicLab.Clients.Hive.Settings>
85  </applicationSettings>
86 
87  <userSettings>
88    <HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings>
89      <setting name="NumberOfSlaves" serializeAs="String">
90        <value>16</value>
91      </setting>
92    </HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings>
93    <HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings>
94      <setting name="HeartbeatInterval" serializeAs="String">
95        <value>00:00:30</value>
96      </setting>
97      <setting name="LastUsedFileName" serializeAs="String">
98        <value>lastUsed.dat</value>
99      </setting>
100      <setting name="PluginCacheDir" serializeAs="String">
101        <value>PluginCache</value>
102      </setting>
103      <setting name="PluginTempBaseDir" serializeAs="String">
104        <value>PluginTemp</value>
105      </setting>
106      <setting name="ConfigurationName" serializeAs="String">
107        <value>Configuration</value>
108      </setting>
109      <setting name="PluginInfrastructureDll" serializeAs="String">
110        <value>HeuristicLab.PluginInfrastructure-3.3.dll</value>
111      </setting>
112      <setting name="SharpZipLibDll" serializeAs="String">
113        <value>ICSharpCode.SharpZipLib.dll</value>
114      </setting>
115      <setting name="SharpZipLibLicense" serializeAs="String">
116        <value>ICSharpCode.SharpZipLib License.txt</value>
117      </setting>
118      <setting name="ClientsHiveSlaveCoreDll" serializeAs="String">
119        <value>HeuristicLab.Clients.Hive.SlaveCore-3.3.dll</value>
120      </setting>
121      <setting name="ClientsHiveDll" serializeAs="String">
122        <value>HeuristicLab.Clients.Hive-3.3.dll</value>
123      </setting>
124      <setting name="HiveDll" serializeAs="String">
125        <value>HeuristicLab.Hive-3.3.dll</value>
126      </setting>
127      <setting name="ClientsCommonDll" serializeAs="String">
128        <value>HeuristicLab.Clients.Common-3.3.dll</value>
129      </setting>
130      <setting name="PluginLifetime" serializeAs="String">
131        <value>3</value>
132      </setting>
133      <setting name="DirOpSleepTime" serializeAs="String">
134        <value>00:00:01</value>
135      </setting>
136      <setting name="PluginDeletionRetries" serializeAs="String">
137        <value>5</value>
138      </setting>
139      <setting name="PluginDeletionTimeout" serializeAs="String">
140        <value>00:00:01</value>
141      </setting>
142      <setting name="ExecutorSemTimeouts" serializeAs="String">
143        <value>00:00:46</value>
144      </setting>
145      <setting name="QueuesMaxThreads" serializeAs="String">
146        <value>5000</value>
147      </setting>
148      <setting name="SlaveCommunicationServiceEndpoint" serializeAs="String">
149        <value>SlaveCommunicationServiceEndpoint</value>
150      </setting>
151      <setting name="SlaveUser" serializeAs="String">
152        <value>hiveslave</value>
153      </setting>
154      <setting name="SlavePwd" serializeAs="String">
155        <value>hiveslave</value>
156      </setting>
157      <setting name="MaxLogCount" serializeAs="String">
158        <value>1</value>
159      </setting>
160      <setting name="ExecutorQueueTimeout" serializeAs="String">
161        <value>00:00:20</value>
162      </setting>
163      <setting name="NrOfCoresToScavenge" serializeAs="String">
164        <value>2</value>
165      </setting>
166      <setting name="ShutdownCommand" serializeAs="String">
167        <value>shutdown.exe</value>
168      </setting>
169   </HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings>
170  </userSettings>
171 
172  <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
173</configuration>
Note: See TracBrowser for help on using the repository browser.