逐步解說:在單一伺服器上安裝 Operations ManagerWalkthrough Installing Operations Manager on a Single Server

重要

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

本逐步解說將引導您完成在單一伺服器上安裝 System Center - Operations Manager。This walkthrough guides you through an installation of System Center - Operations Manager on a single server. 安裝的功能如下:The features installed include the following:

  • 管理伺服器Management server

  • Operations 主控台Operations console

  • Web 主控台Web console

  • 報表伺服器Reporting server

必要條件Prerequisites

您必須確定您的伺服器符合 System Center Operations Manager 的最低支援設定。You must ensure that your server meets the minimum supported configurations for System Center Operations Manager. 如需詳細資訊,請參閱 System Center Operations Manager 的系統需求For more information, see System Requirements for System Center Operations Manager.

必要的 SQL Server 元件Required SQL Server Components

  • Database Engine Services - 搜尋的全文檢索和語意擷取 (在 SQL Server 2012 及更新版本中的名稱)Database Engine Services - Full-Text and Semantic Extractions for Search (as called in SQL Server 2012 and later)

  • Reporting Services - 原生Reporting Services - Native

安裝單一伺服器管理群組設定To install the single server management group configuration

  1. 使用具有本機系統管理認證的帳戶來登入伺服器。Log on to the server by using an account that has local administrative credentials.

  2. 在 System Center Operations Manager 安裝媒體上,執行 Setup.exe,然後按一下 [安裝] 。On the System Center Operations Manager installation media, run Setup.exe, and then click Install.

  3. 在 [開始使用] 的 [選取要安裝的功能] 頁面上,選取 [管理伺服器] 、[Operations 主控台] 、[Web 主控台] 及 [報表伺服器] 功能。On the Getting Started, Select features to install page select the Management server, Operations console, Web console, and Reporting server features. 若要讀取各項功能及其需求的更多相關資訊,請按一下 [全部展開] ,或展開各項功能旁的按鈕。To read more about each feature and its requirements, click Expand all, or expand the buttons next to each feature. 然後按 [下一步] 。Then click Next.

  4. 在 [選取安裝位置] 頁面上,接受預設值、鍵入新位置或瀏覽至某個位置。On the Select installation location page, accept the default value, type in a new location, or browse to one. 然後按 [下一步] 。Then click Next.

    注意

    針對 System Center 2016 - Operations Manager,預設的安裝路徑為 C:\Program Files\Microsoft System Center 2016\Operations Manager。For System Center 2016 - Operations Manager, the default path is C:\Program Files\Microsoft System Center 2016\Operations Manager. 針對所有更新版本 (1801、1807 和 2019),預設路徑為 C:\Program Files\Microsoft System Center\Operations Manager。For all later releases (1801, 1807 and 2019), the default path is C:\Program Files\Microsoft System Center\Operations Manager.

  5. 在 [必要條件] 頁面上,檢閱並解決任何警告或錯誤,然後按一下 [再次驗證必要條件] 來重新檢查系統。On the Prerequisites page, review and resolve any warnings or errors, and then click Verify Prerequisites Again to recheck the system.

    注意

    安裝 Web 主控台需要針對 ASP.NET 4 啟用 IIS 中的 ISAPI 及 CGI 限制。Installation of the web console requires that ISAPI and CGI Restrictions in IIS be enabled for ASP.NET 4. 若要啟用此功能,請在 IIS 管理員中選取網頁伺服器,然後按兩下 [ISAPI 及 CGI 限制] 。To enable this, select the web server in IIS Manager, and then double-click ISAPI and CGI Restrictions. 選取 [ASP.NET v4.0.30319] ,然後按一下 [允許] 。Select ASP.NET v4.0.30319, and then click Allow.

  6. 如果必要條件檢查程式未傳回任何警告或錯誤,[必要條件] 的 [繼續安裝] 頁面隨即出現。If the Prerequisites checker does not return any warnings or errors, the Prerequisites, Proceed with Setup page appears. 按一下 {3}[下一步]{4}來建立應用程式和部署類型。Click Next.

  7. 在 [設定] 的 [指定安裝選項] 頁面上,選取 [在新管理群組中建立第一部管理伺服器] 、輸入管理群組的名稱,然後按 [下一步] 。On the Configuration, Specify an installation option page, select Create the first Management server in a new management group, type in a name for your management group and then click Next.

    注意

    管理群組名稱在設定後便無法變更。After the management group name is set, it cannot be changed. 管理群組名稱不能包含下列字元:, ( ) ^ ~ : ; .The Management Group name cannot contain the following characters:, ( ) ^ ~ : ; . !! ?? " , ' ` @ # % \ / * + = $ | & [ ] <>{},而且開頭或結尾不能有空格。" , ' ` @ # % \ / * + = $ | & [ ] <>{}, and it cannot have a leading or trailing space. 如果您想要將數個管理群組連接在一起,建議為管理群組取一個在組織中獨一無二的名稱。It is recommended that the Management Group name be unique within your organization if you plan to connect several management groups together.

  8. 在 [設定] 的 [請閱讀授權條款] 頁面上,檢閱「Microsoft 軟體授權條款」、選取 [我已閱讀、瞭解並同意授權條款] ,然後按一下 [下一步] 。On the Configuration, Please read the license terms page, review the Microsoft Software License Terms, select I have read, understood, and agree with the license terms, and then click Next.

  9. 當 [設定] 的 [設定操作資料庫] 頁面開啟時,在 [伺服器名稱和執行個體名稱] 方塊中,輸入將裝載操作資料庫之資料庫伺服器的伺服器名稱和 SQL Server 執行個體名稱。When the Configuration, Configure the operational database page opens, in the Server name and instance name box, type the name of the server and the name of the SQL Server instance for the database server that will host the operational database. 如果您已使用預設執行個體安裝 SQL Server,就只需要輸入伺服器名稱。If you installed SQL Server by using the default instance, you only have to enter the server name. 如果您變更了預設 SQL Server 連接埠,則必須在 [SQL Server 連接埠] 方塊中輸入新的連接埠號碼。If you changed the default SQL Server port, you must type in the new port number in the SQL Server port box.

    如果您輸入無效的 SQL Server 和執行個體名稱,則會在 [伺服器名稱和執行個體名稱] 和 [SQL Server 連接埠] 的左邊看到內有白色 X 的紅色圓圈。If you type an invalid SQL Server and instance name, you see a red circle with a white X in it appear to the left of the Server name and instance name and SQL Server port.

    下列情況會出現白色 XThe white X appears under the following circumstances:

    • 您輸入了無效或不存在的 SQL Server 執行個體或 SQL Server 連接埠值。You entered an instance of SQL Server or a SQL Server port value that is not valid or that does not exist.

    • 您指定的 SQL Server 執行個體沒有必要的設定或功能。The instance of SQL Server that you specified does not have the required configuration or features.

    • 您輸入的值超出範圍 (例如,連接埠 999999)。You entered a value that is out-of-range (for example, port 999999).

    • 您在該方塊輸入了不合法的字元 (例如 server\instance%)You entered an illegal character for that box (for example, server\instance%)

      您可以將游標暫留在 [伺服器名稱和執行個體] 文字方塊的上方,以檢視其他錯誤相關資訊。You can hover the cursor over the Server name and instance text box to view additional information about the error.

  10. 輸入 SQL Server 資料庫伺服器名稱的正確值之後,按一下 [SQL Server 連接埠] 方塊,讓安裝程式嘗試驗證您針對 SQL Server 名稱和連接埠號碼輸入的值。After you type the correct value for the SQL Server database server name, click the SQL Server port box so that Setup will attempt to validate the values you typed for the SQL Server name and for the port number.

  11. 在 [資料庫名稱] 的 [資料庫大小 (MB)] 、[資料檔案資料夾] 及 [記錄檔資料夾] 方塊中,建議您接受預設值。In the Database name, Database size (MB)Data file folder, and Log file folder box, we recommend that you accept the default values. 按 [下一步] Click Next

    注意

    如果連線到不同的 SQL Server 執行個體,這些路徑不會變更。These paths do not change if you connect to a different instance of SQL Server.

    重要

    您可能會收到 SQL Server 版本錯誤的訊息,或是 SQL Server Windows Management Instrumentation (WMI) 提供者可能發生問題。You might receive a message about having the wrong version of SQL Server, or you might encounter a problem with the SQL Server Windows Management Instrumentation (WMI) provider. 若要解決此問題,請開啟 [命令提示字元] 視窗、選取 [以系統管理員身分執行] ,然後執行下列命令。To resolve this problem, open a Command Prompt window, select Run as administrator, and then run the following command. 在命令中,以 SQL Server 的位置取代 <path> 預留位置:In the command, replace the <path> placeholder with the location of SQL Server:

    mofcomp.exe "<path>\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"mofcomp.exe “<path>\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof”

    注意

    SQL Server model 資料庫大小不能超過 100 MB。The SQL Server model database size must not be greater than 100 MB. 如果超過,安裝程式就可能會發生錯誤,表示因為使用者權限之故而無法在 SQL 上建立資料庫。If it is, you might encounter an error in Setup regarding the inability to create a database on SQL due to user permissions. 若要解決此問題,您必須減少 model 資料庫的大小。To resolve the issue, you must reduce the size of the model database.

  12. 當 [設定] 的 [設定資料倉儲資料庫] 頁面開啟時,在 [伺服器名稱和執行個體名稱] 方塊中,輸入將裝載資料倉儲資料庫之資料庫伺服器的伺服器名稱和 SQL Server 執行個體名稱。When the Configuration, Configure the data warehouse database page opens, in the Server name and instance name box, type the server name and the name of the instance of SQL Server for the database server that will host the data warehouse database.

  13. 由於這是單一伺服器安裝,因此請接受 [建立新的資料倉儲資料庫] 的預設值。Because this is a single-server installation, accept the default value of Create a new data warehouse database.

  14. 在 [資料庫名稱] 的 [資料庫大小 (MB)] 、[資料檔案資料夾] 及 [記錄檔資料夾] 方塊中,建議您接受預設值。In the Database name, Database size (MB)Data file folder, and Log file folder boxes, we recommend that you accept the default values. 按一下 {3}[下一步]{4}來建立應用程式和部署類型。Click Next.

    重要

    您可能會收到 SQL Server 版本錯誤的訊息,或是 SQL Server Windows Management Instrumentation (WMI) 提供者可能發生問題。You might receive a message about having the wrong version of SQL Server, or you might encounter a problem with the SQL Server Windows Management Instrumentation (WMI) provider. 若要解決此問題,請開啟 [命令提示字元] 視窗、選取 [以系統管理員身分執行] ,然後執行下列命令。To resolve this problem, open a Command Prompt window, select Run as administrator, and then run the following command. 在命令中,以 SQL Server 的位置取代 <path> 預留位置:In the command, replace the <path> placeholder with the location of SQL Server:

    mofcomp.exe "<path>\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"mofcomp.exe “<path>\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof”.

    注意

    如果連線到不同的 SQL Server 執行個體,這些路徑不會變更。These paths do not change if you connect to a different instance of SQL Server.

  15. 在 [設定] 的 [SQL Server Reporting Services 執行個體] 頁面上,從下拉式清單中選取 SQL Server 資料庫執行個體。On the Configuration, SQL Server instance for reporting services page, select the SQL Server database instance from the drop-down list. 此下拉式清單包含您安裝 SQL Server 2014 Service Pack 2 或是 SQL Server 2016 時,所建立的 SQL Server 資料庫執行個體名稱,且應該是您 System Center 2016 - Operations Manager 安裝位置所在的伺服器名稱。This drop-down list contains the SQL Server database instance name that was created when you installed SQL Server 2014 Service Pack 2 or SQL Server 2016 and should be the name of the server on which you are installing System Center 2016 - Operations Manager. 按一下 {3}[下一步]{4}來建立應用程式和部署類型。Click Next.

  16. 在 [設定] 的 [指定要搭配 Web 主控台使用的網站] 頁面上,選取 [預設網站] 或現有網站的名稱。On the Configuration, Specify a web site for use with the Web console page, select Default Web Site or the name of an existing website. 只有在網站已設定為使用 SSL 的情況下,才需選取 [啟用 SSL] 選項,然後按 [下一步] 。Select the option Enable SSL only if the website has been configured to use SSL, and then click Next.

  17. 在 [設定] 的 [選取驗證模式以搭配使用 Web 主控台] 頁面上,選取您的選項,然後按 [下一步] 。On the Configuration, Select an authentication mode for use with the Web console page, select your option, and then click Next.

  18. 在 [設定] 的 [設定 Operations Manager 帳戶] 頁面上,建議您針對 [管理伺服器動作帳戶]、[System Center 設定服務和 System Center 資料存取服務]、[資料讀取器帳戶] 及 [資料寫入器帳戶] 使用 [網域帳戶]。On the Configuration, Configure Operations Manager accounts page, we recommend that you use Domain Account option for the Management Server Action Account, System Center Configuration service and System Center Data Access service, the Data Reader account, and the Data Writer account.

    在每個欄位中輸入網域帳戶的認證。Enter the credentials for a domain account in each field. 經過帳戶驗證之後,錯誤圖示就會消失。The error icon will disappear after account validation. 按一下 {3}[下一步]{4}來建立應用程式和部署類型。Click Next.

  19. 在 [設定] 的 [診斷及使用方式資料] 頁面上檢閱資訊,然後按一下 [下一步] 。On the Configuration, Diagnostic and Usage Data page, review the information and then click Next.

  20. 如果電腦上未啟用 Windows Update,就會顯示 [設定] 的 [Microsoft Update] 頁面。If Windows Update is not activated on the computer, the Configuration, Microsoft Update page appears. 選取您的選項,然後按 [下一步] 。Select your options, and then click Next.

  21. 檢閱 [設定] 的 [安裝摘要] 頁面上的選項,然後按一下 [安裝] 。Review the options on the Configuration, Installation Summary page, and click Install. 安裝程式隨即繼續。Setup continues.

  22. 當安裝程式完成時,會顯示 [安裝已完成] 頁面。When Setup is finished, the Setup is complete page appears. 請按一下 [關閉] ,將會開啟 Operations 主控台。Click Close and the Operations console will open.

從命令提示字元來安裝 Operations Manager 單一伺服器管理群組設定To install the Operations Manager single server management group configuration from the Command Prompt

  1. 使用具有本機系統管理認證的帳戶來登入伺服器。Log on to the server by using an account that has local administrative credentials.

  2. 使用 [以系統管理員身分執行] 選項開啟 [命令提示字元]。Open the Command Prompt by using the Run as Administrator option.

    注意

    Setup.exe 需要系統管理員權限,因為安裝程式程序需要存取只能由本機系統管理員使用的系統處理序。Setup.exe requires administrator privileges because the Setup process requires access to system processes that can only be used by a local administrator.

  3. 將路徑變更為 System Center Operations Manager setup.exe 檔案所在的位置,然後執行下列命令。Change the path to where the System Center Operations Manager setup.exe file is located, and run the following command.

    重要

    只有在網站啟用安全通訊端層 (SSL) 的情況下才使用 /WebConsoleUseSSL 參數。Use the /WebConsoleUseSSL parameter only if your website has Secure Sockets Layer (SSL) activated.

    若為預設網站安裝,請在 參數指定 Default Web Site /WebSiteNameFor a default web installation, specify Default Web Site for the /WebSiteName parameter.

    重要

    下列命令假設您已指定本機系統作為管理伺服器動作帳戶 (/UseLocalSystemActionAccount) 以及資料存取服務 (/UseLocalSystemDASAccount)。The following command assumes that you specified the Local System for the Management server action account (/UseLocalSystemActionAccount) and Data Access service (/UseLocalSystemDASAccount). 若要為這些帳戶指定「網域\使用者名稱」,您必須改提供下列參數。To specify a domain\user name for these accounts, you must provide the following parameters instead.

    /ActionAccountUser: <domain\username> /ActionAccountPassword: <password>

    /DASAccountUser: <domain\username> /DASAccountPassword: <password>

    setup.exe /silent /install
    /components:OMServer,OMConsole,OMWebConsole,OMReporting
    /ManagementGroupName: "<ManagementGroupName>"
    /SqlServerInstance: <server\instance>
    /SqlInstancePort: <SQL instance port number>
    /DatabaseName: <OperationalDatabaseName>
    /DWSqlServerInstance: <server\instance>
    /DWSqlInstancePort: <SQL instance port number>
    /DWDatabaseName: <DWDatabaseName>
    /UseLocalSystemActionAccount /UseLocalSystemDASAccount
    /DatareaderUser: <domain\username>
    /DatareaderPassword: <password>
    /DataWriterUser: <domain\username>
    /DataWriterPassword: <password>
    /AcceptEndUserLicenseAgreement: [0|1]
    /WebSiteName: "<WebSiteName>" [/WebConsoleUseSSL]
    /WebConsoleAuthorizationMode: [Mixed|Network]
    /SRSInstance: <server\instance>
    /SendODRReports: [0|1]
    /EnableErrorReporting: [Never|Queued|Always]
    /SendCEIPReports: [0|1]
    /UseMicrosoftUpdate: [0|1]
    

驗證安裝Verifying the installation

若要確認管理伺服器的健全狀況To confirm the health of the management server

  1. 在 Operations 主控台中,選取 [系統管理] 工作區。In the Operations console, select the Administration workspace.

  2. 在 [裝置管理] 中,選取 [管理伺服器] 。In Device Management select Management Servers. 在結果窗格中,您應該會看到您剛安裝的管理伺服器在 [健全狀況狀態] 欄中有綠色核取記號。In the results pane, you should see the Management server that you just installed with a green check mark in the Health State column.

確認 Operations Manager 報表的健全狀況To confirm the health of Operations Manager reports

  1. 在 Operations 主控台的瀏覽窗格中,按一下 [報表] 按鈕。In the Operations console, in the navigation pane, click the Reporting button.

    注意

    在初始部署後,可能需要最多 30 分鐘,報表才會出現。After initial deployment, it can take up to 30 minutes for reports to appear.

  2. 按一下 [Microsoft ODR 報表文件庫] ,然後按兩下列出的任何報表。Click Microsoft ODR Report Library, and then double-click any of the reports listed. 選取的報表隨即產生並顯示在新視窗中。The selected report is generated and displays in a new window.

    根據預設,您應會看到下列報表:By default, you should see the following reports:

    • 每日警示數Alerts Per Day

    • 執行個體空間Instance Space

    • 管理群組Management Group

    • 管理組件Management Packs

    • 最常見的警示Most Common Alerts

    注意

    此時選取「管理組件」報表特別有用,因為它可為您提供伺服器上已安裝之管理組件的完整清查。Selecting the Management Packs report is particularly useful at this point because it provides you with a full inventory of the management packs that have been installed on your server.

  3. 關閉報表視窗。Close the report window.

後續步驟Next steps

安裝 System Center Operations Manager 之後,您便可以部署代理程式並開始監視應用程式、伺服器及網路裝置。Now that you have installed System Center Operations Manager, you can deploy agents and start monitoring your applications, servers, and network devices. 如需詳細資訊,請參閱代理程式部署規劃Operations Manager 監視案例For more information, see Agent deployment planning and Operations Manager Monitoring Scenarios.