SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
-
Upload
praveen-bachu -
Category
Documents
-
view
214 -
download
0
Transcript of SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
1/23
SQL Server 2008 R2 Installation on Windows 2008 or Windows 7
Assumptions ............................................................................................................................................ 2
Links ......................................................................................................................................................... 2
Setup........................................................................................................................................................ 2
Installation ............................................................................................................................................... 3
Selecting Features ................................................................................................................................... 4
The First Named Instance Creation ......................................................................................................... 6
Accounts .................................................................................................................................................. 7
Data Directories ....................................................................................................................................... 7
Connecting the Database Instance .......................................................................................................... 9
Creating Another Instance .................................................................................................................... 11
The Second Named Instance Creation .................................................................................................. 13
Accounts ................................................................................................................................................ 14
Data Directories ..................................................................................................................................... 15
Connecting The Database Instance ....................................................................................................... 16
Creating Database ................................................................................................................................. 17
SQL Server Tools .................................................................................................................................... 18
Instance Parameters .............................................................................................................................. 18
Adding Features To An Existing Instance .............................................................................................. 19
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
2/23
Assumptions
Windows Server 64 bit or Windows 7 bit installed and configured already
Or you have a Virtual Machine configured with Windows Server 64 bit or Windows 7 or
performing the installation on a Laptop with Windows 7 or later version
The software SQL Server 2008 R2 Enterprise is downloaded. If not see the link below to get a
Evaluation copy
Links
Download a copy of evaluation of Windows Server
http://www.microsoft.com/en-us/download/details.aspx?id=11093
Download a copy of SQL Server 2008 R2 Server or any latest version
http://technet.microsoft.com/en-us/sqlserver/jj901638
Setup
.NET 3.5 is the prerequisite. Below you can see .NET 4 is already installed, but the installer
checks for the presence of 3.5 and it gets installed
Below are the minimum drives configured already. If the complete installation is done on
single drive, say C, it is called an installation but not a good installation. It is still a good thing
to create separate folders for data files and logs if you have just one drive.
http://www.microsoft.com/en-us/download/details.aspx?id=11093http://www.microsoft.com/en-us/download/details.aspx?id=11093http://technet.microsoft.com/en-us/sqlserver/jj901638http://technet.microsoft.com/en-us/sqlserver/jj901638http://technet.microsoft.com/en-us/sqlserver/jj901638http://www.microsoft.com/en-us/download/details.aspx?id=11093 -
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
3/23
Software is attached to a share folder of Virtual Box
Installation
Installation is started by double-clicking on the "Setup" (the one with a green color)
The installer installs .NET 3.5 SP1 for you
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
4/23
Selecting Features If you select all the features you are wasting space and memory. The next screen shows the
major features relevant to Database Engine. If any additional features are needed then it is
possible to install them later as per the need
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
5/23
Below screen shows the features selected
Note the highlighted that is shared feature directory. If you think of think of changing the
path it throws the error. If might be possible to change the path but it is the recommended
way of installing
The error below shows what happens if path is changed
It is good to go with default here as suggested by Microsoft
Error if Path is changed
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
6/23
The First Named Instance Creation
The screen below is the default name of Instance
If you wish to hold one directory for all the instances then create a directory
I do not want to go with default and created a name that I like. All my SQL Server instances
will be saved in a single directory called "instances". Each sub folder belongs to a certain
instance. See the SQL Server Directory path that is highlighted
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
7/23
Accounts
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used
Data Directories
Just edit the path where you want to store the relevant data
The installer creates the directories for you. Just give a name
The below screen shows how I did
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
8/23
Individual directories named. The installer creates the directories for you
If you are satisfied then press on Install to start the installation
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
9/23
Connecting the Database Instance Using Management Studio we connect the Database Instance
It is also called SSMS Tool
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
10/23
The SYS1 is the name of the computer
The IND1234 is the name of the instance
Navigate to see what are the basic System Databases created by SQL Server
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
11/23
Creating Another Instance
Open the below highlighted one and set the path to the software that is SQL Server Software
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
12/23
It is the same step that was performed for the initial instance creation
It shows below what instances are already available
The below screen shows the already installed features and available are not highlighted
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
13/23
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
14/23
Accounts
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
15/23
Data Directories
Just edit the path where you want to store the relevant data
The installer creates the directories for you. Just give a name
The below screen shows how I did
Individual directories named. The installer creates the directories for you
If you are satisfied then press on Install to start the installation
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
16/23
Connecting The Database Instance
Using Management Studio we connect the Database Instance
It is also called SSMS Tool
It points to the old instance that was already connected
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
17/23
Creating Database
Right click on Database and go with "new database" to create a fresh new database
SQL Server Community provides prebuilt Database and the files are available with MDF . So,
in case you want to attach such Database the "Attach" option should be selected. The below
screen shows it
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
18/23
SQL Server Tools
The highlighted ones in yellow color are the tools that we often work with
Instance Parameters
Right click on the instance and click on 'Properties'
Here you can set that you like to test and play around with it. However the SQL Server sets
the recommended settings
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
19/23
Adding Features To An Existing Instance
Click on "Setup" to start the installer or click and open the installation from ConfigurationTools from 'Start' . The path to the software that is SQL Server should be provided
Business Intelligence Studio and Integration Services features added
Select the instance to which you want to add a feature
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
20/23
The additional features can be Analysis Service or SQL Server Business Intelligence Studio or
Integration Service etc.
With selecting the below one that is highlighted you can add a feature
In my case I selected the "EUR2070" Instance
Let's say, for example, Business Intelligence Studio and Integration Services are needed for
this instance. Select them as shown below
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
21/23
In this case no accounts were created. For example Active Directory accounts. So, the default
account is used
If you are satisfied then press on Install to start the installation
Connect the "EUR2070" Database Instance
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
22/23
The below screen shows the added feature
-
8/10/2019 SQLServer-2008R2-Database-Instance-Installation-detailed.pdf
23/23