Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

System Center Orchestrator:System Center Orchestrator: Difference between revisions

From sysadminafterdark docs
No edit summary
No edit summary
Line 46: Line 46:
## On the Prerequisites screen, we will need to install some additional dependencies. PLEASE REBOOT AFTER INSTALLING THIS SOFTWARE! Install the following:
## On the Prerequisites screen, we will need to install some additional dependencies. PLEASE REBOOT AFTER INSTALLING THIS SOFTWARE! Install the following:
### Use this powershell command and the links below to install IIS and all necessary components: <pre>Install-WindowsFeature -Name NET-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http-Redirect,Web-App-Dev,Web-Asp-Net,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Request-Monitor,Web-Http-Tracing,Web-Basic-Auth,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools,MSMQ,BITS,RSAT,WAS,Windows-Identity-Foundation,NET-Framework-45-Core,Web-Url-Auth -IncludeManagementTools -IncludeAllSubFeature</pre>
### Use this powershell command and the links below to install IIS and all necessary components: <pre>Install-WindowsFeature -Name NET-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http-Redirect,Web-App-Dev,Web-Asp-Net,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Request-Monitor,Web-Http-Tracing,Web-Basic-Auth,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools,MSMQ,BITS,RSAT,WAS,Windows-Identity-Foundation,NET-Framework-45-Core,Web-Url-Auth -IncludeManagementTools -IncludeAllSubFeature</pre>
### [https://dotnet.microsoft.com/en-us/download/dotnet/6.0 ASP.NET Core Runtime 6.x - Windows Hosting Bundle
### [https://dotnet.microsoft.com/en-us/download/dotnet/6.0 ASP.NET Core Runtime 6.x - Windows Hosting Bundle]
### [https://dotnet.microsoft.com/en-us/download/dotnet/8.0 ASP.NET Core Runtime 8.x - Windows Hosting Bundle]
### [https://dotnet.microsoft.com/en-us/download/dotnet/8.0 ASP.NET Core Runtime 8.x - Windows Hosting Bundle]
### [https://www.iis.net/downloads/microsoft/iis-cors-module IIS CORS Module]
### [https://www.iis.net/downloads/microsoft/iis-cors-module IIS CORS Module]

Revision as of 05:23, 17 July 2024

History

Deployment

  1. Begin with a clean install of Windows Server 2022 Desktop Edition. You can find specific VM requirements for this server at Servers:SAD-SCOR01.
    1. A total of five virtual disks are needed for a proper installation:
      1. 128GB OS Disk - For Windows Server 2022.
      2. 256GB Program Data Disk - For Database: Microsoft SQL Server 2022 and System Center Orchestrator:System Center Orchestrator program files.
      3. 256GB Database Disk - To store database files.
      4. 256GB Logs Disk - To store SQL log files.
      5. 64GB TempDB Disk - To store SQL TempDB files.
  2. Install Microsoft SQL Server 2022.
    1. Mount the Microsoft SQL 2022 ISO and run setup.exe.
    2. Click "Installation" on the sidebar then click "New SQL Server standalone installation or add features to an existing installation".
    3. On the Edition screen, enter your product license key.
    4. On the License Terms screen, Accept the license terms.
    5. No action needed for section Global Rules.
    6. Choose whether or not to use Windows Update on the Microsoft Update tab. I choose not to.
    7. Click Next on the Install Rules tab.
      1. Note: I received a warning about Windows Firewall, there's no need to worry about this.
    8. Perform the following actions on the Feature Selection screen:
      1. Check "Database Engine Services" and "Full-Text and Semantic Extractions for Search"
      2. Change the "Instance root directory", "Shared feature directory", and "Shared feature directory (x86)" drive letter to your Program Files disk. In my case, this is drive D. Leave the rest of the path untouched.
    9. On the Instance Configuration screen, the defaults are fine. Click Next.
    10. Perform the following steps on the Server Configuration page:
      1. Open Active Directory Users and Groups and create a service account for SQL to run under. I am using Users and Groups:svc_scorsql.
      2. Change the Account name for both services and input the password. Make sure this account is documented. SQL Server Browser cannot be modified.
      3. Set the Startup Type to Automatic.
      4. On the Collation Page, the default of SQL_Latin1_General_CP1_CL_AS is fine.
      5. Click Next.
    11. On the Database Engine Configuration section, perform the following tasks:
      1. On the Server Configuration Tab: The default of "Windows Authentication Mode is fine. Add Domain Admins and your SQL Service account Users and Groups:svc_scorsql to the SQL Server Administrators box.
      2. On the Data Directories tab: set "Data Root Directory" to your database drive. In my case that would be E:\Database. The other data directories should change to reflect this new path. Do not change those paths! Change the "User database log directory" to your Logs drive. In my case it would be F:\Logs\SQL. The Backup Directory is fine. Mine defaulted to E:\Database\MSSQL16.MSSQLSERVER\MSSQL\Backup.
      3. On the TempDB Tab: Remove the default data directory and specify your TempDB drive. In my case, it is G:\TempDB. Change the Log Directory to your logs drive. I choose to use path F:\Logs\TempDB.
      4. On the Memory tab: Click "Recommended" then accept the recommended configuration.
      5. All other tabs can be left at default values. Click Next.
    12. On the Ready to Install Screen, Click Install.
  3. Configure SQL Post-install by launching "SQL Server Configuration Manager" from the Start Menu.
    1. Expand "SQL Server Network Configuration" then click "Protocols for MSSQLSERVER" Enable "Shared Memory", "Named Pipes" and "TCP/IP".
  4. Install Microsoft System Center Orchestrator
    1. Mount the ISO and run setup.exe. Click Install.
    2. On the product registration screen, enter your company name and product key, then click Next.
    3. Accept the license terms, then click Next.
    4. On the Diagnostic and Usage Data screen, click Next.
    5. On the Select Features to Install screen, I choose to deploy all components to this server. I manage a medium sized environment professionally, so this should be fine for most people. Click Next.
    6. On the Prerequisites screen, we will need to install some additional dependencies. PLEASE REBOOT AFTER INSTALLING THIS SOFTWARE! Install the following:
      1. Use this powershell command and the links below to install IIS and all necessary components:
        Install-WindowsFeature -Name NET-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http-Redirect,Web-App-Dev,Web-Asp-Net,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Request-Monitor,Web-Http-Tracing,Web-Basic-Auth,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools,MSMQ,BITS,RSAT,WAS,Windows-Identity-Foundation,NET-Framework-45-Core,Web-Url-Auth -IncludeManagementTools -IncludeAllSubFeature
      2. ASP.NET Core Runtime 6.x - Windows Hosting Bundle
      3. ASP.NET Core Runtime 8.x - Windows Hosting Bundle
      4. IIS CORS Module
      5. IIS URL Rewrite Module
  5. On the Configure The Service Account screen,enter in the username and password of the service account you will be using to login to remote systems and run runbooks. I will be using Users and Groups:svc_runbook. Please note this account will need logon as a service rights. Please see the Post-Install Configuration section of this guide. Click Next once the credential is accepted.
  6. On the Configure The Database Server screen, click the Browse button and type in the name of your SCOR server. Test the database connection, then click Next.
  7. On the second Configure The Database screen, we will be setting up a new environment, so creating a new database is fine. The defaults are acceptable. Click Next.
  8. On the Configure Orchestrator Users Group Configuration page, Users and Groups:sg_orchestrator_sysadmins is used to define SCOR sysadmins. It is added as a member of Users and Groups:dp_it_systemsadministrators. Ensure the "Grant remote access to the Runbook Designer" box is checked, then click Next.
  9. Click Next on the Configure the ports for the web API screen - there are two of them, the defaults are fine.
  10. On the Installation Location screen, Change the installation location to the Program Data drive (D:\), leaving the rest of the path default. Click Next.
  11. I chose not to automatically check for updates on the Microsoft Update screen. Click Next.
  12. On the Summary screen, review your settings, then click Next.