監視 VMMMonitor VMM

重要

已不再支援此版本的 Virtual Machine Manager (VMM),建議升級至 VMM 2019This version of Virtual Machine Manager (VMM) has reached the end of support, we recommend you to upgrade to VMM 2019.

您可以依下列說明,在 System Center - Virtual Machine Manager (VMM) 中設定監視和報告︰You configure monitoring and reporting in System Center - Virtual Machine Manager (VMM) as follows:

  • VMM 工作:在 VMM 主控台中,您可以使用 VMM 工作來監視程序和作業的狀態。VMM jobs: In the VMM console you can monitor the status of processes and operations with VMM jobs.
  • Operations Manager 中的監視:若要監視 VMM 伺服器和 VMM 光纖的健全狀況和狀態,可以整合 VMM 與 System Center Operations ManagerMonitoring in Operations Manager: To monitor the health and status of VMM servers and the VMM fabric you integrate VMM with System Center Operations Manager
  • Operations Manager 中的報告:整合 VMM 與 Operations Manager 之後,即可建立和檢視 VMM 報表Reporting in Operations Manager: After VMM in integrated with Operations Manager, you can create and view VMM reports

使用 VMM 工作監視Monitor with VMM jobs

若有任何動作變更受管理物件的狀態時,系統就會建立 VMM 工作。A VMM job is created for any action that changes the status of a managed object.

  • 工作是由許多步驟所構成,這些步驟會循序執行,以完成某個動作。Jobs are composed of steps that are performed sequentially to complete an action. 簡單的工作 (例如停止虛擬機器) 只包含一個步驟。Simple jobs, such as stopping a virtual machine, contain only one step. 更複雜的工作或執行精靈可能會包含多個工作或工作群組。More complex jobs, or running a wizard, might contain multiple jobs, or job groups.
  • 工作是在 VMM 主控台的 [工作] 檢視中進行追蹤。Jobs are tracked in the Jobs view in the VMM console. [工作] 檢視中的 [詳細資料] 索引標籤會顯示工作中每個步驟的狀態。The Details tab in the Jobs view shows the status of each step in a job.
  • 每個工作都是由一或多個 VMM PowerShell Cmdlet 代表。Each job is represented by one or more VMM PowerShell cmdlets. 您幾乎可以使用 PowerShell 執行任何 VMM 工作。You can perform almost any VMM task with PowerShell. 每個精靈的 [摘要] 頁面都會有一個 [檢視指令碼] 按鈕,其中顯示將執行您剛要求之工作的 Cmdlet。Each wizard includes a View Script button on the Summary page, that displays the cmdlets that will perform the job that you just requested. 您可以將 Windows PowerShell 指令碼儲存至 VMM 程式庫,以及在 [程式庫] 檢視中檢視和執行指令碼。You can save Windows PowerShell scripts to the VMM library, and view and run them in Library view.
  • 每個 VMM 工作都是獨立的,並且未相依於另一個工作的狀態。Each VMM job is independent, and doesn't depend on the status of another job. 例如,如果您是執行工作來新增多部主機伺服器,則新增其中一部主機失敗時不會影響其他工作。For example, if you're running jobs to add multiple host servers, the failure to add one host does not affect the remaining jobs. 工作完成時,稽核記錄會儲存至清單,列出該工作對 VMM 物件所做的變更。When a job completes, an audit record is saved that lists the changes that the job made to the VMM object. 您可以在 [工作] > [詳細資料] > [變更追蹤] 中檢視稽核記錄。You can view the audit record in Jobs > Details > Change Tracking.
  • 您在 VMM 主控台中或使用 PowerShell 執行工作時,都會自動啟動工作。Jobs are started automatically when you perform tasks in the VMM console, or using PowerShell. 您可以取消一些執行中工作,但其他工作 (包括新增主機) 和系統工作開始執行後就無法取消。You can cancel some running jobs, but others, including adding hosts, and system jobs, can't be cancelled after they've started running.
  • 您通常可以重新啟動失敗的工作,但請注意︰You can generally restart failed jobs, but note that:
    • 如果多個工作讓 VM 進入失敗狀態,則只能重新啟動最近的工作。If multiple jobs place a VM into a failed state, only the most recent job can be restarted.
    • 對於長期執行的工作 (例如虛擬機器移轉),在工作執行時會定期儲存暫存結果,且 [重新啟動] 動作會嘗試從上次已知狀態恢復工作。For jobs that run for a long time, such as virtual machine migration, intermediate results are stored periodically while the job is running, and the Restart action attempts to resume the job from the last known state. 所有其他工作會從頭開始。All other jobs start from the beginning.

使用 Operations Manager 監視Monitor with Operations Manager

在 Operations Manager 主控台中安裝提供數個儀表板的 VMM 管理組件,即可在 Operations Manager 中監視 VMM 健全狀況和狀態。You can monitor VMM health and status in Operations Manager by installing the VMM management pack which provides a number of dashboards in the Operations Manager console.

儀表板Dashboard 詳細資料Details
虛擬機器儀表板Virtual Machine Dashboard 監視虛擬機器的健全狀況Monitors the health of virtual machines

它會顯示在 VMM 光纖中探索到之 VM 的相關資訊。It shows information about discovered VMs in the VMM fabric. 您可以檢視 VM 的警示、內容、主機和效能資訊。You can view alerts, properties, host, and performance information for the VM.
VMM 主機儀表板VMM Host Dashboard 監視 VMM 光纖中探索到之虛擬化主機的健全狀況。Monitors the health of virtualization hosts discovered in the VMM fabric.

它會顯示主機內容、狀態、VM、警示和效能的相關資訊。It shows information about the host properties, status, VMs, alerts, and performance.
網狀架構健康狀態儀表板Fabric Health Dashboard 監視 VMM 私人雲端的健全狀況Monitors the health of VMM private clouds

針對每個雲端,儀表板會監視主機群組的狀態、雲端的計算內容 (CPU、網路介面卡等)、存放裝置資訊 (例如集區、檔案共用、LUN 和網路監視)。For each cloud the dashboard monitors the state of host groups, the compute properties of the cloud (CPU, network adapters etc), storage information such as pools, file share, LUNs, and network monitoring.

光纖監視儀表板圖檢視會顯示光纖各部分的狀態。A fabric monitoring dashboard diagram view shows the status for each piece of the fabric.

儀表板的範圍可以限定為實體資源、虛擬資源或特定雲端租用戶。The dashboard can be scoped to physical or virtual resources, or to a particular cloud tenant.

深入了解如何整合 VMM 與 Operations Manager。Learn more about integrating VMM with Operations Manager.

使用 Operations Manager 報告Report with Operations Manager

將 VMM 連線至 Operations Manager 之後,就可以檢視和建立報表。After you've connected VMM to Operations Manager you can view and create reports. VMM 提供這些預設報表︰VMM provides these default reports:

報表Report 詳細資料Details
容量使用率Capacity Utilization 詳細說明 VM 主機與其他物件的使用量。Details usage for VM hosts and other objects.

概述資料中心使用容量,並協助您進行支援 VM 的資源決策。Provides an overview of how capacity is being used in your datacenter, and helps you to make resources decisions for supporting your VMs.
主機群組預測Host Group Forecasting 根據磁碟空間、記憶體、磁碟 IO、網路 IO 與 CPU 使用量的歷程記錄,預測主機活動。Predicts host activity based on history of disk space, memory, disk IO, network IO, and CPU usage.

若要使用預測報告,必須在 Operations Manager 報表伺服器上安裝 SQL Server Analysis Services。To use the forecasting reports, SQL Server Analysis Services must be installed on the Operations Manager Reporting server.
主機使用率Host Utilization 顯示在每部主機上執行的虛擬機器數與平均使用量,加上主機處理器、記憶體與磁碟空間的總數或最大值。Shows the number of virtual machines that are running on each host and average usage, along with total or maximum values for host processors, memory, and disk space.
主機使用率成長Host Utilization Growth 顯示在指定的一段時間內,選定主機上所執行虛擬機器的資源使用量和數目的百分比變化。Shows the percentage change in resource usage and the number of virtual machines that are running on selected hosts during a specified time period.
省電Power Savings 顯示透過電源最佳化所節省的電量。Shows how much power is saved through power optimization.

您可檢視依日期範圍及主機群組省下的處理器電源總時數,及主機群組中每部主機的詳細資訊。You can view total hours of processor power saved for a date range and host group, as well as detailed information for each host in a host group.
SAN 使用量預測SAN Usage Forecasting 根據歷程記錄預測 SAN 使用量。Predicts SAN usage based on history.
虛擬機器配置Virtual Machine Allocation 提供關於虛擬機器的配置資訊。Provides information about allocation of virtual machines.
虛擬機器使用率Virtual Machine Utilization 提供虛擬機器使用的資源使用率資訊,包含虛擬機器處理器、記憶體和磁碟空間的平均使用量和總計或最大值。Provides information about resource utilization by virtual machines, including average usage and total or maximum values for virtual machine processors, memory, and disk space.
虛擬化候選項目Virtualization Candidates 協助找出適合用來轉換為虛擬機器的實體電腦。Helps identify physical computers that are good candidates for conversion to virtual machines.

您可以使用這份報表找出很少使用的伺服器,並顯示一組常被要求之效能計數器 (CPU、記憶體和磁碟使用量) 的平均值以及硬體設定,包括處理器速度、處理器數目以及 RAM 總數量等等。You can use this report to identify little-used servers and display average values for a set of commonly requested performance counters for CPU, memory, and disk usage, along with hardware configurations, including processor speed, number of processors, and total RAM.

您可將報告的範圍限制為符合特定 CPU 和 RAM 需求的電腦,亦可在報告中選取資料欄來對結果進行排序。You can limit the report to computers that meet specified CPU and RAM requirements, and you can sort the results by selected columns in the report.

檢視報表View reports

您可在 System Center Operations Manager 的 [報告] 工作區中檢視報告,或使用網頁瀏覽器然後輸入此網址:http://ReportingServerName:port/reportsYou can view reports in the Reporting workspace in System Center Operations Manager, or by using a web browser and entering this address: http://ReportingServerName:port/reports. 您可以選擇性的指定 "https",而非 http。You can optionally specify "https" instead of http.

  • ReportingServerName 是 Operations Manager 報表伺服器的名稱。ReportingServerName is the name of the Operations Manager reporting server.
  • port為 80 (HTTP),HTTPS 則為 443port is 80 for HTTP and 443 for HTTPS
  • reports 為預設的報表伺服器虛擬目錄:reportsreports is the reporting server virtual directory, by default: reports