Advertisement
Guest User

Untitled

a guest
Nov 12th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="resourceManagementClient" type="Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClientSection, Microsoft.ResourceManagement" />
  5. <section name="resourceManagementService" type="Microsoft.ResourceManagement.WebServices.ResourceManagementServiceSection, Microsoft.ResourceManagement.Service" />
  6. </configSections>
  7. <appSettings>
  8. <!-- Setup adds entries -->
  9. <add key="mailServer" value="https://domain.com/ews/exchange.asmx" />
  10. <add key="isExchange" value="1" />
  11. <add key="sendAsAddress" value="SVC-FIMService@domain.com" />
  12. <add key="synchronizationServerName" value="xxx.xx.xxx.xx" />
  13. </appSettings>
  14. <system.serviceModel>
  15. <!-- The performanceCounters attribute can be set to enable performance counters for FIMService (WCF Perfcounters) -->
  16. <!-- Possible values are All, ServiceOnly, Off -->
  17. <!-- This will also enable FIMService to emit traces that are performance related. Requires performanceCounters = 'All' or 'ServiceOnly' and an active trace source listener with switch level 'Information' and above -->
  18. <diagnostics performanceCounters="Default">
  19. <!-- The maxSizeOfMessageToLog attribute means that a message larger than the specified size (bytes) will not be logged -->
  20. <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxSizeOfMessageToLog="2147483647">
  21. <filters>
  22. <!--
  23. To reduce the size of the trace message log or to target a specific message type, you can use XPath based filters that target message headers:
  24. FIMService endpoint actions:
  25. http://schemas.microsoft.com/2006/11/IdentityManagement/Directory/Access/fault
  26. http://schemas.microsoft.com/2006/11/ResourceManagement/SynchronizationResponse
  27. http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate
  28. http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse
  29. http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull
  30. http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse
  31. http://schemas.xmlsoap.org/ws/2004/09/transfer/Create
  32. http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse
  33. http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete
  34. http://schemas.xmlsoap.org/ws/2004/09/transfer/DeleteResponse
  35. http://schemas.xmlsoap.org/ws/2004/09/transfer/fault
  36. http://schemas.xmlsoap.org/ws/2004/09/transfer/Get
  37. http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse
  38. http://schemas.xmlsoap.org/ws/2004/09/transfer/Put
  39. http://schemas.xmlsoap.org/ws/2004/09/transfer/PutResponse
  40. -->
  41. <clear />
  42. <!-- Uncomment the following lines if you only want to save message traces related to Requests which attempt to change data: Create, Update (Put), and Delete -->
  43. <!-- <add xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">/s:Envelope/s:Header/a:Action[starts-with(text(),'http://schemas.xmlsoap.org/ws/2004/09/transfer/') = true() and starts-with(text(),'http://schemas.xmlsoap.org/ws/2004/09/transfer/Get') = false()]</add> -->
  44. <!-- <add xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">/s:Envelope/s:Header/a:Action[starts-with(text(),'http://schemas.microsoft.com/2006/11/ResourceManagement/SynchronizationResponse') = true()]</add> -->
  45. </filters>
  46. </messageLogging>
  47. </diagnostics>
  48. <services>
  49. <service name="Microsoft.ResourceManagement.WebServices.ResourceManagementService">
  50. <host>
  51. <baseAddresses>
  52. <add baseAddress="http://localhost:5725" />
  53. </baseAddresses>
  54. </host>
  55. </service>
  56. <service name="Microsoft.ResourceManagement.WebServices.SecurityTokenService">
  57. <host>
  58. <baseAddresses>
  59. <add baseAddress="http://localhost:5726" />
  60. </baseAddresses>
  61. </host>
  62. </service>
  63. </services>
  64. </system.serviceModel>
  65. <resourceManagementClient resourceManagementServiceBaseAddress="http://localhost:5725" />
  66. <resourceManagementService externalHostName="s-fim-sp01" />
  67. <!--
  68. Additional properties that can be specified for the <resourceManagementService /> configuration section
  69.  
  70. PropertyName DefaultValue Description
  71. ________________________________________________________________________________________________________________________________________________________________
  72.  
  73. postStartupRecoveryRetryIntervalInMilliseconds 60000 Sets the time interval to
  74. process Stuck Workflow and Request objects after a
  75. FIM Service restart.
  76. Range: -1 to max(int). Disable: -1 disables the feature
  77.  
  78. dataReadTimeoutInSeconds 58 Database timeout for read operations
  79. Range: 0-max(int16)
  80.  
  81. dataWriteTimeoutInSeconds 58 Database timeout for write operations
  82. Range: 0-max(int16)
  83.  
  84. backgroundDataProcessingTimeoutInSeconds 300 SQL operations that run on a background thread
  85. are tied to this timeout to allow these operations
  86. extra time to complete if there are a large number
  87. of workflows in the system.
  88. Range: 0-max(int16)
  89.  
  90. reportingDataReadTimeoutInSeconds 300 Reporting operations that read from the FIM Service
  91. are tied to this timeout to allow these operations extra
  92. time to complete if there are a large number of
  93. objects / values in a batch.
  94. Range: 0-max(int16)
  95.  
  96. reportingDataWriteTimeoutInSeconds 300 Reporting operations that write to the FIM Service
  97. are tied to this timeout to allow these operations extra
  98. time to complete if there are a large number of
  99. objects / values in a batch.
  100. Range: 0-max(int16)
  101.  
  102. synchronizationDataReadTimeoutInSeconds 1200 Synchronization operations (FIM MA import / export)
  103. that read from the FIM Service are tied to this timeout
  104. to allow these operations extra time to complete if there
  105. are a large number of objects / values in a batch.
  106. Range: 0-max(int16)
  107.  
  108. synchronizationDataWriteTimeoutInSeconds 1200 Synchronization operations (FIM MA import / export)
  109. that write to the FIM Service are tied to this timeout
  110. to allow these operations extra time to complete if there
  111. are a large number of objects / values in a batch.
  112. Range: 0-max(int16)
  113.  
  114. serviceName MachineName Will be converted to UPPERCASE.
  115. Used to uniquely identifiy a FIM SERVICE INSTANCE.
  116. Only one Instance is allowed per machine and each
  117. must be Unique in the system or FIM won't work properly.
  118.  
  119. servicePartitionName Uses the value of externalHostName Will be converted to UPPERCASE.
  120. This value is used by FIM to declare which Service Partition
  121. this FIM Service belongs to. This is used to support an Isolated
  122. configuration.
  123.  
  124. externalHostName Defined by Administrator during set-up This value is used by FIM to define the external host name
  125. that should be used by clients to connect to FIM when you deploy
  126. a Load Balanced configuration.
  127.  
  128. processSystemPartition true FIM creates requests that originate from within the database.
  129. These requests will be marked as belonging to the SystemPartition.
  130. All FIM Services will be configured to process these Requests unless
  131. this property is set to false.
  132.  
  133. receiveSynchronizationRequestsEnabled true Whether this instance of the Forefront Identity Manager Service should
  134. receive export requests from the Synchronization Service.
  135. At least one instance should be configured to receive export requests.
  136. Other instances can optionally be excluded from having to process
  137. those requests.
  138.  
  139. maxSimultaneousSynchronizationRequests 6 The maximum number of concurrent synchronization export requests.
  140.  
  141. mailServerTimeoutIntervalInMilliseconds 5000 Timeout value for the mail server to send a message when sent synchronously.
  142. For example, this is used by the Email OTP gate.
  143. -->
  144. <!-- Default Diagnostics configuration.-->
  145. <system.diagnostics>
  146. <switches>
  147. <add name="System.Workflow LogToTraceListeners" value="1" />
  148. <add name="System.Workflow.Runtime.Hosting" value="Verbose" />
  149. <add name="System.Workflow.Runtime" value="Verbose" />
  150. <add name="System.Workflow.Runtime.Tracking" value="Verbose" />
  151. <add name="System.Workflow.Activities" value="Verbose" />
  152. <add name="System.Workflow.Activities.Rules" value="Verbose" />
  153. </switches>
  154. <sources>
  155. <source name="Microsoft.ResourceManagement" switchValue="Warning">
  156. <listeners>
  157. <add initializeData="Microsoft.ResourceManagement" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ExceptionEventLogListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
  158. <filter type="" />
  159. </add>
  160. </listeners>
  161. </source>
  162. <source name="Microsoft.ResourceManagement.EventTracingForWindowsTraceSource" switchValue="Verbose">
  163. <listeners>
  164. <add name="EventTracingForWindowsListener" type="System.Diagnostics.Eventing.EventProviderTraceListener, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="{C2751E84-AD11-4a18-9507-6CFE811D3506}" />
  165. </listeners>
  166. </source>
  167. <source name="FimExtensions.FimActivityLibrary" switchValue="Verbose">
  168. <listeners>
  169. <remove name="Default" />
  170. <!--<add name="PowerShellActivityLibraryTextFile" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\PowerShellActivityLibrary.log" />-->
  171. <add name="PowerShellActivityLibraryEventLogListener" initializeData="PowerShellActivity" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack" />
  172. </listeners>
  173. </source>
  174. </sources>
  175. </system.diagnostics>
  176. <!-- Instructions for collecting ETW Traces
  177.  
  178. To collect ETW traces for Microsoft.ResourceManagement.Service. Run the following commands in the specified order from
  179. an elevated command prompt.
  180.  
  181. 1. To start a new etw trace session : logman start mysession -p {C2751E84-AD11-4a18-9507-6CFE811D3506} -o FIMETWtrace.etl -ets
  182. 2. To stop a running etw trace session : logman stop mysession -ets
  183.  
  184. To format the collected traces run any of the following commands (from an elevated command prompt) depending
  185. on the required output format.
  186.  
  187. 1. tracerpt FIMETWtrace.etl -o logdmp.xml -of XML -lr -summary logdmp.txt -report logrpt.xml
  188. 2. tracerpt FIMETWtrace.etl -o logdmp.evtx -of EVTX -lr -summary logdmp.txt -report logrpt.xml
  189. 3. tracerpt FIMETWtrace.etl -o logdmp.csv -of CSV -summary logdmp.txt -report logrpt.xml
  190. -->
  191. <!--
  192. Full Diagnostics configuration.
  193.  
  194. Uncomment the following section and replace the default <system.diagnostics> configuration to
  195. enable all trace sources and obtain all available traces for Microsoft.ResourceManagement.Service
  196. -->
  197. <!--
  198. <system.diagnostics>
  199. <switches>
  200. <add name="System.Workflow LogToTraceListeners" value="1" />
  201. <add name="System.Workflow.Runtime.Hosting" value="Verbose" />
  202. <add name="System.Workflow.Runtime" value="Verbose" />
  203. <add name="System.Workflow.Runtime.Tracking" value="Verbose" />
  204. <add name="System.Workflow.Activities" value="Verbose" />
  205. <add name="System.Workflow.Activities.Rules" value="Verbose" />
  206. </switches>
  207. <sources>
  208. <source name="Microsoft.ResourceManagement" switchValue="Verbose">
  209. <listeners>
  210. <add initializeData="Microsoft.ResourceManagement" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  211. name="ExceptionEventLogListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
  212. <filter type="" />
  213. </add>
  214. <add name="ServiceModelTraceListener">
  215. <filter type="" />
  216. </add>
  217. <add name="Text">
  218. <filter type="" />
  219. </add>
  220. </listeners>
  221. </source>
  222. <source name="Microsoft.ResourceManagement.EventTracingForWindowsTraceSource" switchValue="Verbose">
  223. <listeners>
  224. <add name="EventTracingForWindowsListener"
  225. type="System.Diagnostics.Eventing.EventProviderTraceListener, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  226. initializeData="{C2751E84-AD11-4a18-9507-6CFE811D3506}" />
  227. </listeners>
  228. </source>
  229. <source name="System.ServiceModel" switchValue="Verbose"
  230. propagateActivity="true">
  231. <listeners>
  232. <add name="ServiceModelTraceListener">
  233. <filter type="" />
  234. </add>
  235. </listeners>
  236. </source>
  237. <source name="System.ServiceModel.MessageLogging">
  238. <listeners>
  239. <add name="ServiceModelMessageLoggingListener">
  240. <filter type="" />
  241. </add>
  242. </listeners>
  243. </source>
  244. </sources>
  245. <sharedListeners>
  246. <add initializeData="Microsoft.ResourceManagement.Service_tracelog.svclog"
  247. type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  248. name="ServiceModelTraceListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
  249. <filter type="" />
  250. </add>
  251. <add initializeData="Microsoft.ResourceManagement.Service_messages.svclog"
  252. type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  253. name="ServiceModelMessageLoggingListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
  254. <filter type="" />
  255. </add>
  256. <add initializeData="Microsoft.ResourceManagement.Service_tracelog.txt" type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
  257. name="Text" traceOutputOptions="DateTime, ThreadId">
  258. <filter type="" />
  259. </add>
  260. </sharedListeners>
  261. <trace autoflush="true" />
  262. </system.diagnostics>
  263. -->
  264. <runtime>
  265. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  266. <dependentAssembly>
  267. <assemblyIdentity name="FunctionLibrary" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  268. <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
  269. </dependentAssembly>
  270. <dependentAssembly>
  271. <assemblyIdentity name="Microsoft.IdentityManagement.Activities" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  272. <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
  273. </dependentAssembly>
  274. <dependentAssembly>
  275. <assemblyIdentity name="Microsoft.ResourceManagement.Automation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  276. <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
  277. </dependentAssembly>
  278. <dependentAssembly>
  279. <assemblyIdentity name="Microsoft.ResourceManagement" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  280. <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
  281. </dependentAssembly>
  282. <dependentAssembly>
  283. <assemblyIdentity name="Microsoft.IdentityManagement.WFExtensionInterfaces" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  284. <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
  285. </dependentAssembly>
  286. </assemblyBinding>
  287. </runtime>
  288. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement