You are on page 1of 37

7/23/2019 Print content

Administering Microsoft SQL Server 2012 Databases

Manage SQL Server Instances

Introduction
Interaction of Instances
Managing Resource Utilization by Using Resource Governor
Summary

Introduction
The Manage SQL Server Instances module provides you with the instruction and
server hardware to develop your hands on skills in the defined topics. This module
includes the following exercises:

Installing Instances
Managing Resource Utilization by Using Resource Governor

Lab Diagram

During your session you will have access to the following lab configuration. Depending
on the exercises you may or may not use all of the devices, but they are shown here in the
layout to get an overall understanding of the topology of the lab.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 1/37
7/23/2019 Print content

Connecting to your lab

In this module you will be working on the following equipment to carry out the steps
defined in each exercise.

PLABSQL01 (SQL Server 1)


PLABSQL02 (SQL Server 2)

To start, simply choose a device and click Power on. In some cases, the devices may
power on automatically.

For further information and technical support, please see our Help and Support
page.

Copyright Notice
This document and its content is copyright of Practice-IT - © Practice-IT 2014. All rights reserved. Any
redistribution or reproduction of part or all of the contents in any form is prohibited other than the
following:
1) You may print or download to a local hard disk extracts for your personal and non-commercial use
only.
2) You may copy the content to individual third parties for their personal use, but only if you
acknowledge the website as the source of the material. You may not, except with our express written
permission, distribute or commercially exploit the content. Nor may you transmit it or store it in any
other website or other form of electronic retrieval system.

Exercise 1 - Installing Instances


In this exercise, you will perform the tasks required to manage SQL Server instances.

Please refer to your course material or use your favourite search engine to research this
topic in more detail.

Installing an Instance

To install a default and named instance, perform the following steps:

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 2/37
7/23/2019 Print content

Step 1
Ensure you have powered on the required devices and Connect to PLABSQL01.

Navigate to the source of the SQL Server installation. In this lab, the DVD should be
mapped to drive D.

Double-click Setup

The SQL Server Installation Center window is displayed.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 3/37
7/23/2019 Print content

In the left pane, click Installation. The installation-specific options are displayed.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 4/37
7/23/2019 Print content

Click New SQL Server stand-alone installation or add features to an existing


installation.

The SQL Server 2012 Setup dialog box is displayed. The Setup Support Rules
screen displays the setup rules being run. Click OK.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 5/37
7/23/2019 Print content

Click OK.

On the Product Updates screen, SQL Server 2012 installation checks for Windows
updates. Uncheck the Include SQL Server product updates and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 6/37
7/23/2019 Print content

Click Next on the Setup Support Rules page.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 7/37
7/23/2019 Print content

On the Installation Type screen, select Perform a new installation of SQL Server
2012 and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 8/37
7/23/2019 Print content

Click Next on the Product Key page.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 9/37
7/23/2019 Print content

Accept the license terms and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 10/37
7/23/2019 Print content

Choose SQL Server Feature Installation and Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 11/37
7/23/2019 Print content

On the Feature Selection screen, select Database Engine Services under Instance
Features.

Click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 12/37
7/23/2019 Print content

On the Installation Rules screen, the installation rules run and determine if there are
any issues in the installation. After the rules have run and no issues have been found,
click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 13/37
7/23/2019 Print content

On the Instance Configuration Rules screen, insert the name PLAB in the Named
Instance field.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 14/37
7/23/2019 Print content

Note: If there are any existing instances on the system, they will be listed in the
Installed instances section. Also note that on this screen, you can choose to install the
Default instance or the Named instance. The Default instance will be installed with
the default name. The Named instance needs a name, which you can specify.

On the Disk Space Requirements screen, verify the installation disk space
requirement and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 15/37
7/23/2019 Print content

On the Server Configuration screen, accept the default configuration and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 16/37
7/23/2019 Print content

On the Database Engine Configuration screen, keep the default options, which is
Windows authentication mode. You can also add more users in the Specify SQL Server
administrators section.

Click Add Current User option and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 17/37
7/23/2019 Print content

On the Error Reporting screen, skip any configuration and click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 18/37
7/23/2019 Print content

On the Installation Configuration Rules screen, the configuration rules run to


determine any issues that might halt the installation. Click Next.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 19/37
7/23/2019 Print content

On the Ready To Install screen, review the installation configuration and click Install.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 20/37
7/23/2019 Print content

The Installation Progress screen displays the progress of installation of SQL Server.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 21/37
7/23/2019 Print content

After the installation is complete, you will be navigated to the Complete screen. Click
Close.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 22/37
7/23/2019 Print content

A new SQL Server 2012 instance called PLAB is now installed on this system.

Close all open windows.

Managing Interaction of Instances

To manage the interaction of multiple instances, perform the following steps:

Step 1
From PLABSQL01 and double-click SQL Server Management Studio on the
desktop.

In the Connect to Server dialog box, enter PLABSQL01 in the Server name text
box, if already not entered, and click Connect.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 23/37
7/23/2019 Print content

After the connection is successful, the PLABSQL01 server is displayed in Object


Explorer.

In Object Explorer, click Connect and select Database Engine.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 24/37
7/23/2019 Print content

In the Connect to Server dialog box, click the Server name drop-down list and click
Browse for more..

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 25/37
7/23/2019 Print content

The Browse for Server dialog box is displayed.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 26/37
7/23/2019 Print content

In the Browse for Server dialog box, expand Database Engine, select
PLABSQL01\PLAB, and click OK.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 27/37
7/23/2019 Print content

The Server now has PLABSQL01\PLAB as its name. Click Connect.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 28/37
7/23/2019 Print content

After a successful connection, note that PLABSQL01\PLAB appears in Object


Explorer.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 29/37
7/23/2019 Print content

Expand the Databases tab and you will see that no databases have been been created on
the new PLAB instance.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 30/37
7/23/2019 Print content

Leave the devices you have powered on in their current state and proceed to the next
exercise.

Exercise 2 - Managing Resource Utilization by


Using Resource Governor
To manage resource utilization by using Resource Governor, perform the following steps:

Step 1
Using the default instance PLABSQL01 in Object Explorer, expand Management,
right-click Resource Governor, and select Enable.

Resource Governor is now enabled.


https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 31/37
7/23/2019 Print content

Right-click Resource Governor and select Properties.

The Resource Governor Properties dialog box is displayed.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 32/37
7/23/2019 Print content

In the Resource pools section, for default, enter 30 in the Minimum CPU %
column.

In the Workgroups for resource pool section, for default, select High in the
Importance column. Click OK.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 33/37
7/23/2019 Print content

Cycling Error Logs

To cycle error logs, perform the following steps:

Step 1
In Object Explorer, expand Management, right-click SQL Server Logs, and select
Configure.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 34/37
7/23/2019 Print content

The Configure SQL Server Error Logs dialog box is displayed.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 35/37
7/23/2019 Print content

Select Limit the number of error log files before they are cycled and keep the
default number of 6. Click OK to close the Configure SQL Server Error Logs dialog
box.

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 36/37
7/23/2019 Print content

Close all open Windows.

Shutdown all virtual machines used in this lab, by using the power functions located in
the Tools bar before proceeding to the next module. Alternatively you can log out of the
lab platform.

Summary
In this module, you covered carried the following practical tasks:

Installing an instance
Managing interaction of instances
Managing resource utilization by using Resource Governor
Cycling error logs

https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 37/37

You might also like