Introduction
Microsoft SQL Server 2012 Release to Manufacturing (RTM) was released on
7th Mar 2012. There are different versions of SQL Server 2012 available such as
Enterprise Edition, Business Intelligence Edition, Standard Edition, Web
Edition, Developer Edition and SQL Server Express LocalDB a new lightweight
deployment option for Express. You can download Microsoft SQL Server 2012
Evaluation Edition from the following link and you can
download SQL Server 2012 Express Edition from the following link.
In this article we will take a look at how to install SQL Server 2012 on
a Windows Server 2008 R2 Service Pack 1. However, the steps mentioned in this
article can be followed while installing SQL Server 2012 on Windows Server 2008
Service Pack 2 or later.
Prerequisites for SQL Server 2012
Prerequisites for SQL Server 2012
Microsoft SQL Server 2012 requires .Net Framework 3.5 Service Pack 1 and
.Net Framework 4.0 to be installed on the server. If you install SQL Server
2012 on a computer with the Windows Vista SP2 or Windows Server 2008 SP2
operating system, you can get the required update from here and if required you can download
Microsoft .Net Framework 3.5 Service Pack 1 from the following link.
Check the following link to know more about Hardware and Software
Requirements for Installing SQL Server 2012.
The above link states that “SQL Server 2012 does not install or enable
Windows PowerShell 2.0; however Windows PowerShell 2.0 is an installation
prerequisite for Database Engine components and SQL Server Management Studio.
If Setup reports that Windows PowerShell 2.0 is not present, you can install or
enable it by following the instructions on theWindows Management Framework page.”
Once you have installed the prerequisites you may be asked to restart the
operating system.
Incase if you don’t meet the Prerequisites for Microsoft SQL Server 2012
you will receive the below mentioned error. Follow the link to meet the
prerequisites before you install SQL Server 2012.
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.
2. Once Prerequisites are 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. Once the installation of all the prerequisites are completed successfully the SQL Server Installation Center will open up as shown in the snippet below. You need to navigate to the Optionsscreen as shown in the snippet below to choose the appropriate Processor Type to specify the architecture of SQL Server 2012 to be installed.
3. In SQL Server Installation Center’s Installation Screen
you need to choose New SQL Server stand-alone installation or add
features to an existing installation option as highlighted to install
a standalone instance of SQL Server 2012.
4. 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 if there are any before the setup
can continue. If there are no issues identified then click OK to continue with
the installation
5. In Product Key window of SQL
Server 2012 Setup you can choose to install SQL Server 2012 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 another edition using the Edition Upgrade Wizard. Once upgraded from
an Evaluation Edition to Enterprise, Standard, Business or Web Edition then you
cannot downgrade it to a lower edition. In such a scenario you need to
uninstall SQL Server 2012 and install a fresh copy of the desired edition. As
like in SQL Server 2008, SQL Server 2008 R2, SQL Server 2012 also has a single
installation for all editions of SQL Server 2012. Once you have entered the
Product Key or choose the free edition (Evaluation) then click Next to continue
with the installation.
6. 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.
7. 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 you need 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. 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 to install 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. Optionally, add the SQL Server relational database engine to use as the new farm’s database server. If you choose this option then you can even Add SQL Server Database Relational Engine Services to this installation.
All Features With Defaults: - Install all features using default values for the services accounts.
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. Optionally, add the SQL Server relational database engine to use as the new farm’s database server. If you choose this option then you can even Add SQL Server Database Relational Engine Services to this installation.
All Features With Defaults: - Install all features using default values for the services accounts.
In the above snippet you need to choose SQL Server Feature
Installation option and click Next to continue with the installation.
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 2012 are:-
Database Engine: - Includes the Database Engine, the
core service for storing, processing and securing data. The Database Engine
provides controlled access and rapid transaction 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.
SQL Server Replication: - Includes a set of
technologies for copying and distributing data and database objects from one
database to another and synchronizing between the databases for consistency.
You can use replication to distribute data to different locations and to remote
and mobile users over local and wide area networks, dial-up connections,
wireless connections and the Internet.
Full Text Search: - Includes the Search engine that
supports Full-Text Extraction for fast text search as well as Semantic
Extraction for key phrases (likely tags) and similarity search on content
stored in SQL Server.
Data Quality Service: -Includes Data quality database
objects.
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: - Native: - Includes Reporting
Services, a server-based application for creating, managing, and delivering
reports to email, multiple file formats, and interactive Web-based formats. The
Native mode server provides all processing and management functionality through
Reporting Services components. Reporting Services cannot be clustered.
Shared Feature: - Each shared feature is installed
once within a defined scope and operates within that scope. The defined scope
can span all SQL Server versions on a computer (e.g., SQL Server Browser), can
be isolated to one major version of SQL Server (e.g., SQL Server Management
Tools), or can be isolated to one or more minor versions.
Reporting Service – Shared: - Includes
Reporting Services, a server-based application for creating, managing, and
delivering reports to email, multiple file formats, and interactive Web-based
formats. SharePoint integrated mode integrates the report server with
SharePoint products. The report viewing and report management experience are
integrated with SharePoint sites and libraries. Reporting Services cannot be
clustered.
Reporting Services Add in: - Includes
management and user interface components to integrate a SharePoint product with
an SSRS report server in SharePoint integrated mode. The add-in only needs to
be installed on server running a SharePoint product.
Data Quality: - Includes Data quality client
objects.
SQL Server Data Tools: - Installs the SQL
server development environment, including the tool formerly named Business
Intelligence Development Studio. Also installs the business intelligence tools
and references to the web installers for database development tools.
Client Tools Connectivity: - Includes
components for communication between clients and servers.
Integration Services: - Includes the designer, runtime, and
utilities that enable Integration Services to move, integrate, and transform data
between data stores.
Client Tools SDK: -Includes the software development
kit containing resources for programmers.
Documentation Component: - Installs only the
components that you use to view and manage the documentation for SQL Server
2012. By default, the Help Viewer component uses the online library. After
installing SQL Server, you can use the Help Library Manager component to
download documentation to your local computer.
Management Tool – Basic: - Includes
Management Studio support for the Database Engine and SQL Server Express, SQL
Server command-line utility (SQLCMD), SQL Server PowerShell provider, and
Distributed Replay Administration Tool.
Management Tool – Complete: - Adds the
following components to the basic management tools installation: Management
Studio support for Reporting Services, Analysis Services, and Integration
Services technologies, SQL Server Profiler, Database Tuning Advisor, and SQL
Server Utility management.
Distributed Replay Controller: - Includes the
Distributed Replay Controller which orchestrates the actions of the distributed
replay clients.
Distributed Replay Client: - Includes the
Distributed Replay Client. Multiple Distributed Replay Clients work together to
simulate a workload against an instance of SQL Server.
SQL Client Connectivity SDK: - Includes SQL
Server Native Client (ODBC / OLE DB) SDK for database application development.
Master Data Services: - Includes Master Data Services, the
platform for integrating data from disparate systems across an organization into
a single source of master data for accuracy and auditing purposes. Installs the
Master Data Services Configuration Manager, assemblies, PowerShell snap-in, and
folders and files for Web applications and services.
Redistributable Features: - SQL Server redistributable
and shared features are installed when needed: Error and Usage Reporting, SQL
Server Native Client, MSXML version 6.0, Sync Services for ADO.NET, and SQL
Server Browser.
9. 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.
10. 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.
11. 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 2012. Click Next to continue with the installation.
12. 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 Startup Type for each of the SQL Server Services.
13. 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.
14. In the Database Engine Configuration screen, you
can specify authentication mode and administrators forthe 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 and also add
Specify SQL Server Administrators.
15. 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 on different drives to improve performance. In this screen you can also specify the database backup directory as shown in the below snippet.
16. In the FILESTREAM tab, you can configure the FILESTREAM
feature of SQL Server 2012. There are basically three different
FILESTREAM configuration options such as:-
• 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
• 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
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.
18. 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 the installation.
19. In the Reporting Services Configuration screen there are three different choices available to specify the reporting services configuration mode.
Reporting Service Native Mode
Install and Configure: - Setup will install the report server and configure it in Native mode. The report server is operational after setup completes.
Install Only: - Installs the report server files. After installation, use Reporting Services Configuration Manager to configure the report server for native mode.
Reporting Services SharePoint Integration Mode
Install Only: - Installs the report serer files. After installation use SharePoint Central Administrator to complete the configuration. Verify the SQL Server Reporting Services service is started and create at least one SQL Server Reporting Services service application.
Choose the appropriate Reporting Service Configuration option and click Next to continue with the installation.
20. In the Distributed Replay Controller screen specify
the users you want to grant administrative permissions to for the
Distributed Replay client service. Users that have administrative
permissions will have unlimited access to the Distributed Replay client
service. Once the user is added successfully. Click Next to continue with the
installation.
21. In Distributed Replay Client Configuration screen
specify the Controller Name, Working Directory and Result
Directory Locations.
Controller Name: - This is an optional parameter, and the default value
is <blank>. Enter the name of the controller that
the client computer will communicate with for the Distributed Replay
Client Service.
As per SQL Server Installation help: -
• The name must be a fully qualified domain name
(FQDN). For example, a host called server1 in the products hierarchy at
Microsoft may have an FQDN of server1.products.microsoft.com.
• If you have already set up a controller, enter the name of the controller while configuring each client.
• If you have net yet set up a controller, you can leave the controller name blank. However, you must manually enter the controller name in the client configuration file.
• If you have already set up a controller, enter the name of the controller while configuring each client.
• If you have net yet set up a controller, you can leave the controller name blank. However, you must manually enter the controller name in the client configuration file.
Working Directory: - Specify the working directory for
the Distributed Replay client service. The default working directory is
<drive letter>:\Program Files\Microsoft SQL
Server\DReplayClient\WorkingDir\
Result Directory: - Specify the result directory for
the Distributed Replay client service. The default result directory is
<drive letter>:\Program Files\Microsoft SQL
Server\DReplayClient\ResultDir\
22. In Error Reporting screen you can select the checkbox to automatically send logs to Microsoft to improve future releases. Click Next to continue with the installation.
23. 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 you need to fix the same
before continuing with the installation.
24. 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 2012.
25. In Installation Progress screen you can monitor the
progress of SQL Server 2012 installation. Click Next to see the Installation Summary. C:\Program
Files\Microsoft SQL Server\110\Setup
Bootstrap\Log\20120321_143339\ConfigurationFile.ini
26. In Complete Screen the location for the summary log
file is mentioned. You can click on the link to review the SQL Server 2012 installation
summary.
27. Once the SQL Server 2012 is successfully installed you click
the Close button to exit the SQL Server 2012 Setup and click
OK in the Computer restart required dialog box to restart the server to
complete the installation.





























No comments:
Post a Comment