How To Install SQL 2008 R2 on Windows Server 2008 R2 SP1 For Use With SCVMM 2008 R2 SP1

Direct answer

Before I get deep into SQL Installation let me tell you where we are starting… I am walking through the installation of SCVMM 2008 R2 SP1 on a new server that I just setup in my demo environment. I want to use SQL Server 2008 R2 for my deployment so I need to set that […]

Before I get deep into SQL Installation let me tell you where we are starting…

I am walking through the installation of SCVMM 2008 R2 SP1 on a new server that I just setup in my demo environment. I want to use SQL Server 2008 R2 for my deployment so I need to set that up as a prerequisite. I figured this is a good opportunity to document the process.

I am starting with a sysprep’d Windows Server 2008 R2 Server. I have allocated 2 processors and 512mb memory to the guest using dynamic memory. Once I get the system up and running, I will bump up the memory to be close to what I actually need but I will leave it dynamic.

[

SNAGHTML9e4ee86_thumb2

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/8750.SNAGHTML9e4ee86_5F00_thumb2_5F00_6A8D6098.png)

Great… Now Let’s Get Started!!!

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/5025.image_5F00_63217B1E.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/1234.image_5F00_33835C92.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/7115.image_5F00_17FE5A8F.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/3005.image_5F00_4628307C.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/6560.image_5F00_718C5176.png)

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/6076.image_5F00_0F1E2C76.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/1207.image_5F00_17BE8502.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/2318.image_5F00_69185652.png)

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/5758.image_5F00_14104458.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/8400.image_5F00_3C5F76AC.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/7851.image_5F00_4E5B946C.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/5710.image_5F00_1DE50FF6.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/8358.image_5F00_02600DF3.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/3582.image_5F00_589C92FF.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/8468.image_5F00_3D1790FC.png)

[

image

](http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-65-88-metablogapi/8867.image_5F00_2C4FE64E.png)

How to: Configure a Windows Firewall for Database Engine Access
To open a port in the Windows firewall for TCP access
  1. On the Start menu, click Run, type WF.msc, and then click OK.
  2. In the Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules, and then click New Rule in the action pane (upper right corner).
  3. In the Rule Type dialog box, select Port, and then click Next.
  4. In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, In my case we are using the default which is 1433. Click Next.
  5. In the Action dialog box, select Allow the connection, and then click Next.
  6. In the Profile dialog box, I am going to Leave Domain turned on and turn private and public off. Then click Next.
  7. In the Name dialog box, type “Allow SQL 1433 Inbound” and for a description I am putting in the same. Then click Finish.
How to: Configure a Firewall for Report Server Access
To open port 80 on Windows 7 or Windows Server 2008 R2
  1. From the Start menu, click Control Panel, click System and Security, and then click Windows Firewall. Control Panel is not configured for ‘Category’ view, you only need to select Windows Firewall.
  2. Click Advanced Settings.
  3. Click Inbound Rules.
  4. Click New Rule in the Actions window (upper right corner).
  5. Click Rule Type of Port.
  6. Click Next.
  7. On the Protocol and Ports page click TCP.
  8. Select Specific Local Ports and type a value of 80.
  9. Click Next.
  10. On the Action page click Allow the connection.
  11. Click Next.
  12. On the Profile page I am leaving Domain turned on and turning off private and public. You should check the appropriate options for your environment.
  13. Click Next.
  14. On the Name page enter a name of Allow SQL ReportServer (TCP on port 80)
  15. Click Finish.

-

If you would also like to open other ports like ICMP (Ping) and remote management you can find step by step instructions at Allow Remote Desktop Services and Ping Through Firewall on Windows Server 2008 R2 or Windows 7

-

Also if you are using this SQL Server for VMM ensure that TCP port 445 is not blocked. VMM uses port 445 to populate the database instances from the remote server. If port 445 is blocked, you can enter the name of the SQL instance manually so it is not a big show stopper.

After you open the port and before you confirm whether remote users can access the report server on the port that you open, you must grant user access to the report server through role assignments on Home and at the site level. You can open a port correctly and still have report server connections fail if users do not have sufficient permissions. For more information, see How to: Grant User Access to a Report Server (Report Manager) in SQL Server Books Online.

You can also verify that the port is opened correctly by starting Report Manager on a different computer. For more information, see Report Manager in SQL Server Books Online.

To enhance the security of your SQL Server connection, it is recommended that you enable SSL encryption by modifying the connection string as described in article 316898 in the Microsoft Knowledge Base at http://go.microsoft.com/fwlink/?LinkId=89722.

When connecting remotely to SQL Server using a port other than the default port (1433), you must append the port number after the instance name using the following syntax: instance name, port.

Long post… I hope you find it useful! Please feel free to comment!

IT Pro, VMM, Hyper-V, Virtual Machine Manager, SQL Server, Security, IT Manager, Windows 7, Windows Server 2008 R2, Management, System Center, How To, SCOM, Operations Manager 2007 R2, IT Management, SCVMM, Systems Management, GURU-Tip

Filed under:Uncategorized

Dan Stolts

Founder and Chief AI Officer of Just In Time AI, with an IT career that began in 1988 -- nearly four decades of experience. Over a decade of that career went into building ITProGuru into a 250,000-uniques/mo IT-community resource, and he now applies the same teach-first approach to AI systems that run real businesses. Full profile →