設定效能監視Configure Performance Monitoring

適用於:Windows Server 2016、Windows Server 2012 R2、Windows Server 2012Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

AD FS 包含自己專用的正在可協助您監視聯盟伺服器和聯盟伺服器 proxy 電腦的效能。AD FS includes its own dedicated performance counters to help you monitor the performance of both federation servers and federation server proxy computers. 若要使用效能監視器監視您 AD FS 伺服器的效能,很有用建立新的資料收集設定,並將 AD FS 計數器新增到該檢視。To use Performance Monitor to monitor the performance of your AD FS servers, it’s useful to create a new data collector set and add the AD FS counters to that view. 下列程序告訴您如何設定效能監視 AD fs。The following procedure describes how to configure performance monitoring for AD FS.

若要設定效能 AD FS 使用「效能監視器的監視To configure performance monitoring for AD FS using Performance Monitor

  1. [開始]畫面中,輸入效能監視器,然後按 ENTER 鍵。On the Start screen, type Performance Monitor, and then press ENTER.

  2. 在主控台中,展開收集的資料集,right\ 按使用者定義,指向 [,,然後按一下資料收集設定In the console tree, expand Data Collector Sets, right-click User Defined, point to New, and then click Data Collector Set.

    [建立新的資料收集設定精靈會出現。The Create New Data Collector Set Wizard appears.

  3. 建立新的資料收集設定名稱輸入新的資料收集設定名稱 \ (例如「AD FS 效能」),按一下 [手動建立 (Advanced),,然後按一下 [下一步In Create New Data Collector Set, for Name type a name for the new data collector set (such as "AD FS performance"), click Create manually (Advanced), and then click Next.

  4. 類型的資料包括,確認建立資料登已選取,然後按一下 [資料類型下列核取方塊:計數器事件追蹤資料系統設定的資訊For the type of data to include, verify that Create data logs is selected, and then click the check boxes for the following data types: Performance counter, Event trace data, System configuration information.

  5. 效能計數器,展開AD FS可用的計數器清單,然後再按新增For performance counters, expand AD FS in the Available counters list, and then click Add.

    AD FS 效能計數器應該會出現在新增計數器清單中。The AD FS performance counters should appear in the Added counters list.

  6. 當系統提示您將事件追蹤提供者時,按一下新增,請選取AD FS 事件AD FS 追蹤的提供者的清單。When you are prompted to add event trace providers, click Add, select AD FS Eventing and AD FS Tracing from the list of providers.

  7. 當系統提示您新增登錄監視,請按一下下一步When you are prompted to add registry keys to monitor, click Next.

  8. 當系統提示您指定要儲存的效能資料的位置時,您可以接受預設的位置 \ (%systemdrive%\PerfLogs\Admin\< data_collector_set >,然後按下一步When you are prompted to specify the location to save the performance data, you can accept the default location (%systemdrive%\PerfLogs\Admin\<data_collector_set>, and then click Next.

  9. 當系統提示您建立的資料收集設定時,選取 [儲存,並關閉,然後按一下 [完成When you are prompted to create the data collector set, select Save and close, and then click Finish.

    新的資料收集設定會出現在主控台在使用者定義的節點。The new data collector set appears in the console tree under the User Defined node.

  10. 使用 AD FS 效能計數器使用下列步驟:Use the following steps to work with the AD FS performance counters:

    • 若要開始使用廣告 FS\ 相關計數器監視效能,設定您新增 right\ 按一下資料收集 \ (例如「AD FS 效能」),,然後按一下 [ [開始]To begin performance monitoring using AD FS-related counters, right-click the data collector set that you added (such as "AD FS performance"), and then click Start.

    • 若要建立的報告,以檢視效能監視結果,right\ 按一下 [資料收集設定您新增 \ (例如「AD FS 效能」),然後按一下 [最新的報告To create a report to view the performance monitoring results, right-click the data collector set that you added (such as "AD FS performance"), and then click Latest Report.

    • 若要結束擷取的效能資料,讓您可以檢視最新的報告,right\ 按一下 [資料收集設定您新增 \ (例如「AD FS 效能」),然後按一下停止To end a capture of performance data so that you can view the latest report, right-click the data collector set that you added (such as "AD FS performance"), and then click Stop.

    新增最新的報告,會自動編號 \(000001\ 開始)在Report\User 定義\ < data_collector_set >節點樹上的主機。The latest report is added and numbered automatically (starting at 000001) under the Report\User Defined\<data_collector_set> node in the console tree.

AD FS 效能計數器AD FS performance counters

下表列出計數器 AD FS 效能,並告訴您如何很有幫助的監視與聯盟伺服器或聯盟伺服器 proxy 相關的活動。The following table lists the AD FS performance counters and describes how they are useful for monitoring activity that relates to either a federation server or federation server proxy.

計數器Counter 描述Description 用於:Can be used on:
權杖要求Token Requests 監視權杖要求傳送給包括 SSOAuth 權杖要求聯盟伺服器數目。Monitors the number of token requests sent to the federation server including SSOAuth token requests. 聯盟伺服器Federation Servers
權杖 Requests\ 秒Token Requests/sec 監視權杖要求傳送給包括秒 SSOAuth 權杖要求聯盟伺服器數目。Monitors the number of token requests sent to the federation server including SSOAuth token requests per second. 聯盟伺服器Federation Servers
聯盟中繼資料要求Federation Metadata Requests 監視輸入聯盟中繼資料要求傳送給聯盟伺服器數目。Monitors the number of incoming federation metadata requests sent to the federation server. 聯盟伺服器Federation Servers
聯盟中繼資料 Requests\ 秒Federation Metadata Requests/sec 監視傳入聯盟中繼資料秒要求傳送給聯盟伺服器的數目。Monitors the number of incoming federation metadata requests per second that are sent to the federation server. 聯盟伺服器Federation Servers
成品解析度要求Artifact Resolution Requests 監視傳入聯盟中繼資料秒要求傳送給聯盟伺服器的數目。Monitors the number of incoming federation metadata requests per second that are sent to the federation server. 聯盟伺服器Federation Servers
成品解析度 Requests\ 秒Artifact Resolution Requests/sec 監視成品解析度端點秒聯盟伺服器傳送請求數目。Monitors the number of requests to the artifact resolution endpoint per second that are sent to the federation server. 聯盟伺服器Federation Servers
Proxy 要求Proxy Requests 監視輸入要求傳送給聯盟 proxy 伺服器的號碼。Monitors the number of incoming requests sent to the federation server proxy. 聯盟的 Proxy 伺服器Federation Server Proxies
Proxy Requests\ 秒Proxy Requests/sec 監視傳入秒要求傳送給聯盟 proxy 伺服器的數目。Monitors the number of incoming requests per second that are sent to the federation server proxy. 聯盟的 Proxy 伺服器Federation Server Proxies
Proxy MEX 要求Proxy MEX Requests 監視傳入 WS-中繼資料交換 (MEX) 要求傳送給聯盟 proxy 伺服器的數目。Monitors the number of incoming WS-Metadata Exchange (MEX) requests that are sent to the federation server proxy. 聯盟的 Proxy 伺服器Federation Server Proxies
Proxy MEX Requests\ 秒Proxy MEX Requests/sec 監視傳入 MEX 秒要求傳送給聯盟 proxy 伺服器的數目。Monitors the number of incoming MEX requests per second that are sent to the federation server proxy. 聯盟的 Proxy 伺服器Federation Server Proxies