Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="resourceManagementClient" type="Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClientSection, Microsoft.ResourceManagement" />
- <section name="resourceManagementService" type="Microsoft.ResourceManagement.WebServices.ResourceManagementServiceSection, Microsoft.ResourceManagement.Service" />
- </configSections>
- <appSettings>
- <!-- Setup adds entries -->
- <add key="mailServer" value="https://domain.com/ews/exchange.asmx" />
- <add key="isExchange" value="1" />
- <add key="sendAsAddress" value="SVC-FIMService@domain.com" />
- <add key="synchronizationServerName" value="xxx.xx.xxx.xx" />
- </appSettings>
- <system.serviceModel>
- <!-- The performanceCounters attribute can be set to enable performance counters for FIMService (WCF Perfcounters) -->
- <!-- Possible values are All, ServiceOnly, Off -->
- <!-- 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 -->
- <diagnostics performanceCounters="Default">
- <!-- The maxSizeOfMessageToLog attribute means that a message larger than the specified size (bytes) will not be logged -->
- <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxSizeOfMessageToLog="2147483647">
- <filters>
- <!--
- 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:
- FIMService endpoint actions:
- http://schemas.microsoft.com/2006/11/IdentityManagement/Directory/Access/fault
- http://schemas.microsoft.com/2006/11/ResourceManagement/SynchronizationResponse
- http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate
- http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse
- http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull
- http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse
- http://schemas.xmlsoap.org/ws/2004/09/transfer/Create
- http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse
- http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete
- http://schemas.xmlsoap.org/ws/2004/09/transfer/DeleteResponse
- http://schemas.xmlsoap.org/ws/2004/09/transfer/fault
- http://schemas.xmlsoap.org/ws/2004/09/transfer/Get
- http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse
- http://schemas.xmlsoap.org/ws/2004/09/transfer/Put
- http://schemas.xmlsoap.org/ws/2004/09/transfer/PutResponse
- -->
- <clear />
- <!-- 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 -->
- <!-- <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> -->
- <!-- <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> -->
- </filters>
- </messageLogging>
- </diagnostics>
- <services>
- <service name="Microsoft.ResourceManagement.WebServices.ResourceManagementService">
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:5725" />
- </baseAddresses>
- </host>
- </service>
- <service name="Microsoft.ResourceManagement.WebServices.SecurityTokenService">
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:5726" />
- </baseAddresses>
- </host>
- </service>
- </services>
- </system.serviceModel>
- <resourceManagementClient resourceManagementServiceBaseAddress="http://localhost:5725" />
- <resourceManagementService externalHostName="s-fim-sp01" />
- <!--
- Additional properties that can be specified for the <resourceManagementService /> configuration section
- PropertyName DefaultValue Description
- ________________________________________________________________________________________________________________________________________________________________
- postStartupRecoveryRetryIntervalInMilliseconds 60000 Sets the time interval to
- process Stuck Workflow and Request objects after a
- FIM Service restart.
- Range: -1 to max(int). Disable: -1 disables the feature
- dataReadTimeoutInSeconds 58 Database timeout for read operations
- Range: 0-max(int16)
- dataWriteTimeoutInSeconds 58 Database timeout for write operations
- Range: 0-max(int16)
- backgroundDataProcessingTimeoutInSeconds 300 SQL operations that run on a background thread
- are tied to this timeout to allow these operations
- extra time to complete if there are a large number
- of workflows in the system.
- Range: 0-max(int16)
- reportingDataReadTimeoutInSeconds 300 Reporting operations that read from the FIM Service
- are tied to this timeout to allow these operations extra
- time to complete if there are a large number of
- objects / values in a batch.
- Range: 0-max(int16)
- reportingDataWriteTimeoutInSeconds 300 Reporting operations that write to the FIM Service
- are tied to this timeout to allow these operations extra
- time to complete if there are a large number of
- objects / values in a batch.
- Range: 0-max(int16)
- synchronizationDataReadTimeoutInSeconds 1200 Synchronization operations (FIM MA import / export)
- that read from the FIM Service are tied to this timeout
- to allow these operations extra time to complete if there
- are a large number of objects / values in a batch.
- Range: 0-max(int16)
- synchronizationDataWriteTimeoutInSeconds 1200 Synchronization operations (FIM MA import / export)
- that write to the FIM Service are tied to this timeout
- to allow these operations extra time to complete if there
- are a large number of objects / values in a batch.
- Range: 0-max(int16)
- serviceName MachineName Will be converted to UPPERCASE.
- Used to uniquely identifiy a FIM SERVICE INSTANCE.
- Only one Instance is allowed per machine and each
- must be Unique in the system or FIM won't work properly.
- servicePartitionName Uses the value of externalHostName Will be converted to UPPERCASE.
- This value is used by FIM to declare which Service Partition
- this FIM Service belongs to. This is used to support an Isolated
- configuration.
- externalHostName Defined by Administrator during set-up This value is used by FIM to define the external host name
- that should be used by clients to connect to FIM when you deploy
- a Load Balanced configuration.
- processSystemPartition true FIM creates requests that originate from within the database.
- These requests will be marked as belonging to the SystemPartition.
- All FIM Services will be configured to process these Requests unless
- this property is set to false.
- receiveSynchronizationRequestsEnabled true Whether this instance of the Forefront Identity Manager Service should
- receive export requests from the Synchronization Service.
- At least one instance should be configured to receive export requests.
- Other instances can optionally be excluded from having to process
- those requests.
- maxSimultaneousSynchronizationRequests 6 The maximum number of concurrent synchronization export requests.
- mailServerTimeoutIntervalInMilliseconds 5000 Timeout value for the mail server to send a message when sent synchronously.
- For example, this is used by the Email OTP gate.
- -->
- <!-- Default Diagnostics configuration.-->
- <system.diagnostics>
- <switches>
- <add name="System.Workflow LogToTraceListeners" value="1" />
- <add name="System.Workflow.Runtime.Hosting" value="Verbose" />
- <add name="System.Workflow.Runtime" value="Verbose" />
- <add name="System.Workflow.Runtime.Tracking" value="Verbose" />
- <add name="System.Workflow.Activities" value="Verbose" />
- <add name="System.Workflow.Activities.Rules" value="Verbose" />
- </switches>
- <sources>
- <source name="Microsoft.ResourceManagement" switchValue="Warning">
- <listeners>
- <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">
- <filter type="" />
- </add>
- </listeners>
- </source>
- <source name="Microsoft.ResourceManagement.EventTracingForWindowsTraceSource" switchValue="Verbose">
- <listeners>
- <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}" />
- </listeners>
- </source>
- <source name="FimExtensions.FimActivityLibrary" switchValue="Verbose">
- <listeners>
- <remove name="Default" />
- <!--<add name="PowerShellActivityLibraryTextFile" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\PowerShellActivityLibrary.log" />-->
- <add name="PowerShellActivityLibraryEventLogListener" initializeData="PowerShellActivity" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack" />
- </listeners>
- </source>
- </sources>
- </system.diagnostics>
- <!-- Instructions for collecting ETW Traces
- To collect ETW traces for Microsoft.ResourceManagement.Service. Run the following commands in the specified order from
- an elevated command prompt.
- 1. To start a new etw trace session : logman start mysession -p {C2751E84-AD11-4a18-9507-6CFE811D3506} -o FIMETWtrace.etl -ets
- 2. To stop a running etw trace session : logman stop mysession -ets
- To format the collected traces run any of the following commands (from an elevated command prompt) depending
- on the required output format.
- 1. tracerpt FIMETWtrace.etl -o logdmp.xml -of XML -lr -summary logdmp.txt -report logrpt.xml
- 2. tracerpt FIMETWtrace.etl -o logdmp.evtx -of EVTX -lr -summary logdmp.txt -report logrpt.xml
- 3. tracerpt FIMETWtrace.etl -o logdmp.csv -of CSV -summary logdmp.txt -report logrpt.xml
- -->
- <!--
- Full Diagnostics configuration.
- Uncomment the following section and replace the default <system.diagnostics> configuration to
- enable all trace sources and obtain all available traces for Microsoft.ResourceManagement.Service
- -->
- <!--
- <system.diagnostics>
- <switches>
- <add name="System.Workflow LogToTraceListeners" value="1" />
- <add name="System.Workflow.Runtime.Hosting" value="Verbose" />
- <add name="System.Workflow.Runtime" value="Verbose" />
- <add name="System.Workflow.Runtime.Tracking" value="Verbose" />
- <add name="System.Workflow.Activities" value="Verbose" />
- <add name="System.Workflow.Activities.Rules" value="Verbose" />
- </switches>
- <sources>
- <source name="Microsoft.ResourceManagement" switchValue="Verbose">
- <listeners>
- <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">
- <filter type="" />
- </add>
- <add name="ServiceModelTraceListener">
- <filter type="" />
- </add>
- <add name="Text">
- <filter type="" />
- </add>
- </listeners>
- </source>
- <source name="Microsoft.ResourceManagement.EventTracingForWindowsTraceSource" switchValue="Verbose">
- <listeners>
- <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}" />
- </listeners>
- </source>
- <source name="System.ServiceModel" switchValue="Verbose"
- propagateActivity="true">
- <listeners>
- <add name="ServiceModelTraceListener">
- <filter type="" />
- </add>
- </listeners>
- </source>
- <source name="System.ServiceModel.MessageLogging">
- <listeners>
- <add name="ServiceModelMessageLoggingListener">
- <filter type="" />
- </add>
- </listeners>
- </source>
- </sources>
- <sharedListeners>
- <add initializeData="Microsoft.ResourceManagement.Service_tracelog.svclog"
- type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
- name="ServiceModelTraceListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
- <filter type="" />
- </add>
- <add initializeData="Microsoft.ResourceManagement.Service_messages.svclog"
- type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
- name="ServiceModelMessageLoggingListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
- <filter type="" />
- </add>
- <add initializeData="Microsoft.ResourceManagement.Service_tracelog.txt" type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
- name="Text" traceOutputOptions="DateTime, ThreadId">
- <filter type="" />
- </add>
- </sharedListeners>
- <trace autoflush="true" />
- </system.diagnostics>
- -->
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="FunctionLibrary" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.IdentityManagement.Activities" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.ResourceManagement.Automation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.ResourceManagement" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.IdentityManagement.WFExtensionInterfaces" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.1.3419.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement