調整 Service Management AutomationScaling Service Management Automation

重要

此版本的 Service Management Automation (SMA) 已達終止支援,建議您 升級至 SMA 2019This version of Service Management Automation (SMA) has reached the end of support, we recommend you to upgrade to SMA 2019.

使用本節中的指導方針,在部署于 Service Management Automation (SMA) 的服務中相應放大電腦層。Use the guidance in this section to scale out a machine tier in a service that's deployed in Service Management Automation (SMA). 您可以新增 runbook worker 和 web 服務,以增加 runbook 處理的額外容量。You can add runbook workers and web services, to add additional capacity for runbook processing.

初始的建議Initial recommendations

建議的設定如下所示:The recommended configuration is as follows:

  • 三個 Vm,每個 Vm 都已安裝 runbook worker 和 web 服務。Three VMs, each with an installed a runbook worker and web service.
  • 傳入的 Web 流量應負載平衡。The incoming web traffic should be load balanced.
  • 機器應該至少有兩個核心,且至少包含 4 GB 的 RAM,以及 60 GB 的儲存體。The machines should have at least two cores, and contain a minimum of 4 GB of RAM, along with 60 GB of storage.
  • 只應安裝一個 PowerShell 模組。Only one PowerShell module should be installed.

SQL Server 建議SQL Server recommendations

SQL Server 建議包括:SQL Server recommendations include:

  • 對於 SQL Server 資料庫,建議要有 8 GB 的 RAM 以及 8 核心。For the SQL Server database, 8 GB of RAM and 8 cores are recommended.
  • 繁重負載下的一個月資料 (每分鐘12個工作的月) 會產生 20 GB 的資料庫空間使用量。One month of data under heavy load (12 jobs per minute for a month) results in 20 GB of database space usage. 依預設,作業清除應可使空間使用量不至於增長到超過這個大小。By default, job purging should keep the space usage from growing much beyond this. 深入了解Learn more.

擴增Scale out

Scale out 建議:Scale out recommendations:

  • 如果 runbook 作業執行速度很慢,您可以增加共用工作負載的 runbook 背景工作角色數目。If runbook jobs are running slowly, you can increase the number of runbook workers that are sharing workloads. 新的 runbook worker/web 服務實例必須安裝在自己的 Vm 上。New runbook worker/web service instances must be installed on their own VMs. 在安裝或卸載 runbook worker 之前,請在安裝 runbook worker 的電腦上停止 Runbook Worker 服務 (rbsvc) 。Before installing or uninstalling a runbook worker, stop the Runbook Worker service (rbsvc) on the computer on which the runbook worker is installed. 瞭解 runbook worker 部署。Learn about runbook worker deployments.