Installing SQL Server 2012 for Configuration Manager 2012 R2

Prajwal Desai
Posted by Prajwal Desai

In this post we will be looking at the steps for Installing SQL Server 2012 for Configuration Manager 2012 R2. In this deployment series of Configuration Manager 2012 R2 we started with system center 2012 R2 Configuration Manager system requirements which tells more about the new features of SCCM 2012 R2 and system requirements for Configuration Manager 2012 R2, in the next post we saw the steps for installing prerequisites for SCCM 2012 R2. After installing prerequisites the next step is to install SQL server. Most of the users have a question on where should the SQL server be installed, should it be installed locally on the server where SCCM is installed or on a remote server ?. The answer is you can install it on local server or host the database on remote server. I would prefer to install SQL locally because this it requires less administrative overhead, the license for SQL is included with System Center so no additional license needs to be purchased and with local SQL you can achieve better performance than remote. In this post we will be installing SQL server 2012 with SP1 on windows server 2012 R2, if you have only SQL server 2012 iso copy, you can download the SQL server 2012 service pack 1 and install it.

For System Center 2012 R2 Configuration Manager you can install the SQL server with combinations :-

1) Install SQL Server 2012 + Min Cumulative Update 2

2) Install SQL Server 2012 + Service Pack 1 [no cumulative update required]

3) Install SQL Server 2012 with Service Pack 1 [no cumulative update required]

If you are planning to use SQL server other than 2012 then click here to see the SQL Server Requirements for Configuration Manager 2012 R2.

Here is a video tutorial that shows the steps to install SQL server for SCCM.

Installing SQL Server 2012 for Configuration Manager 2012 R2

So lets look at the steps to install SQL Server 2012 with SP1 (x64 Bit). I have mounted the DVD on to the Windows Server 2012 R2, open the SQL server folder, run the setup as administrator. Click on Installation and click on New SQL server standalone installation.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Click OK once the Setup support rules are run and verified.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Check the box for I accept the license terms and click on Next.

Installing SQL Server 2012 for Configuration Manager 2012 R2

After the Setup Support Rules are completed click on Next.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Select the Setup Role as SQL Server Feature Installation and click Next.

Installing SQL Server 2012 for Configuration Manager 2012 R2

On the Feature Selection window, select Database Engine Services, Reporting Services-Native and Management Tools – Complete.

 

Note – The features that we have selected are the ones which are required for deploying Configuration Manager 2012 R2. However you can select all features and install them if you want to.

 

Installing SQL Server 2012 for Configuration Manager 2012 R2

For Instance Configuration click on Default Instance, the instance ID MSSQLSERVER would be created.

Note – If you are creating a Named Instance, then during the SCCM 2012 R2 setup you might come across this error “The specified SQL Server instance is not configured to use dynamic ports” unless you have not configured dynamic ports for SQL server instance. To fix this error launch the SQL Server Configuration Manager, expand SQL Server Network Configuration. Click on Protocols for Instance (Instance is your Named Instance). On the right side pane, right click on the TCP/IP and click on Properties. Click on IP Addresses tab and scroll down to the bottom and under the IPALL, set TCP Port value to 1433. Click on Apply and after this change you must restart SQL Server Service.

 

Installing SQL Server 2012 for Configuration Manager 2012 R2

For Service Accounts, Microsoft recommends you to use domain service accounts and not the local system accounts. We will be using the account named sccmadmin which is a member of domain admins group. This account will be also used for installing and managing Configuration Manager 2012 R2. You can also create a separate user accounts for each of the SQL server services.
Specify the account name and password and click on Next.

Important – During the SQL install, the collation should be SQL_Latin1_General_CP1_CI_AS.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Click Add Current User, this will add the current user to SQL server administrators. Choose the Authentication Mode as Windows authentication mode. Click Next.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Choose Reporting Services Native Mode and click on Install and Configure. Click on Next.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Click on Install to start the installation.

Installing SQL Server 2012 for Configuration Manager 2012 R2

We have installed SQL server 2012 with SP1 on Windows Server 2012 R2 Datacenter Edition. Click on Close.

Installing SQL Server 2012 for Configuration Manager 2012 R2

During the installation of Configuration Manager 2012 R2, the configuration manager checks if the SQL server memory limit is limited. If the memory is not limited, then a warning is displayed. To avoid that lets limit our server with a memory limit. Launch the SQL Server Management Studio. Login to the server and right click the Server and click on Properties. Click on Memory, set Minimum server memory value to 8192 MB (The minimum value can be less that 8192 MB) and set Maximum server memory as 8192 MB. Click on OK and close the SQL management studio.

Installing SQL Server 2012 for Configuration Manager 2012 R2

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
69 Comments