Installing MS SQL Server 2008 R2

download Installing MS SQL Server 2008 R2

of 22

Transcript of Installing MS SQL Server 2008 R2

  • 8/6/2019 Installing MS SQL Server 2008 R2

    1/22

    Installing SQL Server 2008 R2 on

    Windows Server 2008 R2

    Introduction

    Microsoft SQL Server 2008 R2 Release to Manufacturing (RTM) was released in the

    April 2010. There are different versions of SQL Server 2008 R2 available such asDatacenter Edition, Parallel Data Warehouse Edition, Enterprise Edition, Standard

    Edition, Web Edition, Workgroup Edition, Developer Edition, SQL Azure, Compact

    Edition and Express Edition. You can download the trial version of SQL Server 2008 R2from the following link. In this article we will take a look at how to install SQL Server

    2008 R2 on a Windows Server 2008 R2 Server. However, the steps mentioned in this

    article can be followed while installing SQL Server 2008 R2 on Windows Server 2008.

    If you are new to SQL Server 2008 R2 then I would recommend you to start with thefollowing articleNew Features in Microsoft SQL Server 2008 R2.

    Prerequisites for SQL Server 2008 R2

    Microsoft SQL Server 2008 R2 requires Windows Installer 4.5 and .Net Framework 3.5

    Service Pack 1 to be installed on the server. You can download Windows Installer 4 fromthe following linkand you can download Microsoft .Net Framework 3.5 Service Pack 1

    from the following link. Once you have installed the prerequisites you may be asked to

    restart the operating system.

    Installing SQL Server 2008 R2

    1. Database Administrator should log on to the server with administrative privileges and

    then right click Setup.EXE file and choose Run as administrator option from the drop

    down list as shown in the below snippet.

    http://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspxhttp://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspxhttp://www.mytechmantra.com/LearnSQLServer/Microsoft_SQL_Server_2008_R2.htmlhttp://support.microsoft.com/kb/942288http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=enhttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=enhttp://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspxhttp://www.mytechmantra.com/LearnSQLServer/Microsoft_SQL_Server_2008_R2.htmlhttp://support.microsoft.com/kb/942288http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en
  • 8/6/2019 Installing MS SQL Server 2008 R2

    2/22

    2. As a Prerequisite SQL Server 2008 R2 setup will require Microsoft .Net Framework

    3.5 SP1 and the latest version of Windows Installer 4.5 to be installed. You can install the

    same by clicking the OK button.

    3. In Windows Update Standalone Installer popup, click OK button to install Windows

    Installer 4.5. You can even install Windows Installer 4.5 by downloading it from thefollowing link.

    http://support.microsoft.com/kb/942288http://support.microsoft.com/kb/942288http://support.microsoft.com/kb/942288
  • 8/6/2019 Installing MS SQL Server 2008 R2

    3/22

    4. Once Windows Installer 4.5 is installed successfully the setup may ask you to restart

    the server. Once the server is up after the restart once again run the Setup.EXE file. This

    time setup will ask you to install .Net Framework 3.5 SP1 incase if it is not installed on

    the server. Once the installation of .Net Framework has completed successfully the SQLServer Installation Center will open up as shown in the snippet below. You need to

    navigate to the Options screen as shown in the snippet below to choose the appropriate

    Processor Type to specify the architecture of SQL Server 2008 R2 to be installed.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    4/22

    5. In SQL Server Installation Centers Installation Screen you need to choose New

    Installation or add features to an existing installation option as highlighted to install a

    standalone instance of SQL Server 2008 R2

    6. It will open up Setup Support Rules window which will identify problems that might

    occur when you install SQL Server Setup support files. You must correct the failures ifthere are any before the setup can continue. If there are no issues identified then click OK

    to continue with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    5/22

    7. In Product Key window you can choose to install SQL Server 2008 R2 as an

    evaluation edition or else you can enter the Product Key to install the version specific to

    the Key. If you are installing the Evaluation Edition then you can upgrade to anotheredition using the Edition Upgrade Wizard. As like in SQL Server 2008 even SQL Server

    2008 R2 also has a single installation for all editions of SQL Server 2008 R2. Once you

    have entered the Product Key or choose the free edition (Evaluation) then click Next tocontinue with the installation.

    8. In the License Terms screen, you can go through the license agreement and then select

    the check boxes at the bottom of the screen to accept the license terms and conditions and

    then click Next to continue with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    6/22

    9. In Setup Support Rules screen it will identify problems that might occur when you

    install SQL Server Setup support files. In case if there are any issues identified then youneed to fix the same before continuing with the installation. If you want to avoid getting

    Windows Firewall error then you can disable the windows firewall before the installation

    and enable the same once the installation is complete.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    7/22

    10. In Setup Role screen you can click the SQL server Feature Installation option to

    individually select which feature components to install or you can click a feature role toinstall a specific configuration. The different chooses available in this screen are:-

    SQL Server Feature Installation: - Install SQL Server Database Engine Services,

    Analysis Services, Reporting Services, Integration Services and other features.

    SQL Server PowerPivot for SharePoint: - Install PowerPivot for SharePoint on a new

    or existing SharePoint 2010 server to support PowerPivot data access in the farm. To use

    the New Server option, SharePoint must be installed but not configured.

    All Features With Defaults: - Install all features using default values for the services

    accounts.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    8/22

    In the above snippet you need to choose SQL Server Feature Installation option and clickNext to continue with the installation.

    11. In Feature Selection screen you need to choose the features which you would like to

    install. The different components which are available for installation with SQL Server

    2008 R2 are:-

    Database Engine Services: - Includes the Database Engine, the core service for storing,

    processing and securing data. The Database Engine provides controlled access and rapidtransaction processing and also provides rich support for sustaining high availability. The

    Database Engine also provides support for the utility control point in the SQL ServerUtility. Only Database Engine Services and Analysis Services can be clustered.

    SQL Server Replication: - Includes the Database Engine, the core service for storing,

    processing and securing data. The Database Engine provides controlled access and rapidtransaction processing and also provides rich support for sustaining high availability. The

    Database Engine also provides support for the utility control point in the SQL Server

    Utility. Only Database Engine Services and Analysis Services can be clustered.

    Full Text Search: - Includes the Full-Text Search engine, for fast text search on

    content stored in SQL Server.

    Analysis Services: - Includes Analysis Services and tools used to support online

    analytical processing (OLAP) and data mining. Only Database Engine Services and

    Analysis Services can be clustered.

    Reporting Services: - Includes Reporting Services, a server-based application for

    creating, managing, and delivering reports in paper-oriented and interactive Web-based

    formats. Reporting Services cannot be clustered.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    9/22

    Integration Services: - Includes the designer, runtime, and utilities that enable

    Integration Services to move, integrate, and transform data between data stores.

    Shared Features: - Some shared features are shared across all versions of SQL Server on

    a computer. Shared features for a major release are used only by multiple instances of thesame version of SQL Server; other features are shared only across minor version

    instances.

    Redistributable Features: - SQL Server redistributable and shared features are installed

    when needed: Error and Usage Reporting, SQL Server Native Client, MSXML version

    6.0, SQL Server Compact Workbench, SQL Server Compact Runtime, Sync Services for

    ADO.NET, and SQL Server Browser.

    12. In Installation Rules screen the setup is running rules to determine if the installation

    process will be blocked. Click Next to continue with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    10/22

    13. In Instance Configuration screen you need to specify the name and the instance ID for

    the instance of SQL Server and click Next to continue with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    11/22

    14. In Disk Space Requirements screen you will be able to see the amount of disk space

    which is required for the installation of SQL Server 2008 R2. Click Next to continue withthe installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    12/22

    15. In Server Configuration screen you can specify the Service Account and the

    Collation. In the Service Accounts tab, you need to specify the Service Account under

    which SQL Server Services should be running. Here you can also specify the StartupType for each of the SQL Server Services.

    In the Collations tab, you can specify the collation for Database Engine and Analysis

    Services or else you can leave the default values as per the operating system. Click Next

    to continue with the installation screen.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    13/22

    16. In the Database Engine Configuration screen, you can specify authentication mode

    and administrators for the Database Engine, Data Directories and FILESTREAM.

    In the Account Provisioning Tab you can specify the Authentication Mode. It is always

    a best practice to choose Mixed Mode(SQL Server and Windows Authentication). You

    can then specify the password for the SQL Server system administrator (SA) account andalso add Specify SQL server administrators as shown in the snippet below.

    http://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Authentication_Mode_P1.html
  • 8/6/2019 Installing MS SQL Server 2008 R2

    14/22

    In the Data Directories tab, you can specify the path of where user database data and log

    file should be stored. You can also specify the path where TempDB data and log file

    should be stored. It is always a good practice to store TempDB data and log file ondifferent drives to improve performance. In this screen you can also specify the database

    backup directory as shown in the below snippet.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    15/22

    In the FILESTREAM tab, you can configure the FILESTREAM feature of SQL Server

    2008 R2. There are basically three different FILESTREAM configuration options suchas:-

    Enable FILESTREAM for Transact-SQL access

    Enable FILESTREAM for file I/O streaming access; here you can specify the windows

    shared folder name Allow remote clients to have streaming access to FILESTREAM data.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    16/22

    17. In the Analysis Services Configuration screen you can specify the analysis services

    administrators and data directories. In the Account Provisioning tab you can specify

    which users have administrative permissions for Analysis Services

  • 8/6/2019 Installing MS SQL Server 2008 R2

    17/22

    In the Data Directories tab, you can specify the Data directory, Log file directory, Temp

    directory and Backup Directory for analysis services. Click Next to continue with theinstallation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    18/22

    18. In the Reporting Services Configuration screen there are three different choices

    available to specify the reporting services configuration mode.

    Install the native mode default configuration: - Setup will install the report server and

    configure it in Native mode to use the default values. The report server is usable as soon

    as setup is finished.

    Install the SharePoint integrated mode default configuration: - Setup will create the

    report server database in SharePoint integrated mode and configure the report server touse the default values. However, integrated operations will not be supported until a

    minimal installation of a SharePoint product or technology is deployed on the report

    server computer and the Reporting Services Add-in for SharePoint Technologies is

    installed and configured on the instance of the SharePoint product or technology you areusing.

    Install, but do not configure the report server: - Setup will install, but will notconfigure, the report server software. After installation is finished, you can use the

    Reporting Services Configuration tool to set options that are required to run the report

    server.

    19. In the Error Reporting screen you can select the checkbox to automatically send logsto Microsoft to improve future releases. Click Next to continue with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    19/22

    20. In Installation Configuration Rules screen the setup will run rules to determine if the

    installation process will be blocked. In case if there are any issues encountered then youneed to fix the same before continuing with the installation.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    20/22

    21. In Ready to Install screen you can quickly review the features which you have

    selected so far for installation and then click the Install button to begin the installation of

    SQL Server 2008 R2.

    22. In the Installation Progress screen you can monitor the progress of SQL Server 2008

    R2 installation. Click Next to see the Installation Summary.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    21/22

    23. In the Complete Screen the location for the summary log file is mentioned. You canclick on the link to review the SQL Server 2008 R2 installation summary.

  • 8/6/2019 Installing MS SQL Server 2008 R2

    22/22

    Once you have successfully completed the installation of SQL Server 2008 R2 read the

    article titled "New Features in SQL Server 2008 R2" to know more about new featureswithin the product. To know more about the latest SQL Server 2008 R2 Cumulative

    Updates and Service Packs you can read the following article Microsoft SQL Server 2008

    R2 Build Lists / Versions.

    http://www.mytechmantra.com/LearnSQLServer/Microsoft_SQL_Server_2008_R2.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Versions_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Versions_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/Microsoft_SQL_Server_2008_R2.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Versions_P1.htmlhttp://www.mytechmantra.com/LearnSQLServer/SQL_Server_Versions_P1.html