MENU

Install SQL Server 2016 on Windows Server 2016 Server Core

Posted by Florent Appointaire on October 21, 2016
Share on Facebook0Share on Google+0Share on LinkedIn2Share on Reddit18Tweet about this on Twitter0
4.8/5 (5)
4.8/55

MS SQL Server logo

Because I have a small server at home, I try to win a maximum of space, for the storage and for the memory, by installing VM in Server Core. To note, it is very good for security/patches management.

It’s why, after installing my Hyper-V host and my first domain controller, on Windows Server 2016, I tried to install the SQL on a Server Core.

To start, I installed the VM and I added a second volume to store databases, logs and TempDb.

Use the Get-Disk command to see your second disks with his number, that will help you to format the volume:

Get-Disk command

To format and mount the volume, used the following command:

PowerShell command

PowerShell command

I can now see my volume SQL_Data :

PowerShell command

We can start the installation for SQL Server, in command line. You need to adapt this command with your values. To note that I’ll use this SQL for my System Center environment, it’s why, by installing my products in English, I used the SQL_Latin1_General_CP1_CI_AS collation:

PowerShell command

I noted that the reporting services can’t be installed on a Server Core. The installation was faster than in GUI  :-)

SQL Server 2016 setup

From my laptop, I opened the ERRORLOG file on the SQL Server, to see the port used by SQL Server, to open it in the firewall :

ERRORLOG file on the SQL Server

For me, I opened the port, with a GPO and I’ve done a gpupdate /force. I tested the connection from my laptop, where I installed SQL Server Management Studio :

SQL Server

SQL Server Management Studio

Enjoy  :-)

Related materials:

Views All Time
5
Views Today
26

Please rate this

Return to all posts

Deploy VM Fleet to benchmark your storage system
You got SDN, now what
The following two tabs change content below.
Florent Appointaire
Florent Appointaire is Microsoft Engineer with 4 years of experience, specialized in Cloud Technologies. He is MVP Cloud and Datacenter Management. He is MCSE Private Cloud and Hyper-V certified. His favorite products are SCVMM, SCOM, Windows Azure pack/Azure Stack and Windows Azure.