Professional Documents
Culture Documents
Avaya WFO V15.1 SQL Server Installation and Upgrade Guide
Avaya WFO V15.1 SQL Server Installation and Upgrade Guide
Server
Installation and Upgrade Guide
Release 15.1
Issue 2
2016
© 2016 Avaya Inc. Copyright
All Rights Reserved. Except where expressly stated otherwise, no use should be made of materials on this
site, the Documentation, Software, Hosted Service, or hardware provided by Avaya. All
Notice content on this site, the documentation, Hosted Service, and the Product provided by
While reasonable efforts have been made to ensure that the information in this Avaya including the selection, arrangement and design of the content is owned either
document is complete and accurate at the time of printing, Avaya assumes no liability by Avaya or its licensors and is protected by copyright and other intellectual property
for any errors. Avaya reserves the right to make changes and corrections to the laws including the sui generis rights relating to the protection of databases. You may
information in this document without the obligation to notify any person or organization not modify, copy, reproduce, republish, upload, post, transmit or distribute in any way
of such changes. any content, in whole or in part, including any code and software unless expressly
Documentation disclaimer authorized by Avaya.
"Documentation" means information published by Avaya in varying mediums which may Unauthorized reproduction, transmission, dissemination, storage, and or use without
include product information, operating instructions and performance specifications that the express written consent of Avaya can be a criminal, as well as a civil offense under
Avaya may generally make available to users of its products and Hosted Services. the applicable law.
Documentation does not include marketing materials. Avaya shall not be responsible
for any modifications, additions, or deletions to the original published version of Virtualization
documentation unless such modifications, additions, or deletions were performed by Each product has its own ordering code and license types. Note that each Instance of a
Avaya. End User agrees to indemnify and hold harmless Avaya, Avaya's agents, product must be separately licensed and ordered. For example, if the end user
servants and employees against all claims, lawsuits, demands and judgments arising customer or Avaya Channel Partner would like to install two Instances of the same type
out of, or in connection with, subsequent modifications, additions or deletions to this of products, then two products of that type must be ordered.
documentation, to the extent made by End User. Third Party Components
Link disclaimer "Third Party Components" mean certain software programs or portions thereof included
Avaya is not responsible for the contents or reliability of any linked websites referenced in the Software or Hosted Service may contain software (including open source
within this site or documentation provided by Avaya. software) distributed under third party agreements ("Third Party Components"), which
Avaya is not responsible for the accuracy of any information, statement or content contain terms regarding the rights to use certain portions of the Software ("Third Party
provided on these sites and does not necessarily endorse the products, services, or Terms"). As required, information regarding distributed Linux OS source code (for those
information described or offered within them. Products that have distributed Linux OS source code) and identifying the copyright
Avaya does not guarantee that these links will work all the time and has no control over holders of the Third Party Components and the Third Party Terms that apply is
the availability of the linked pages. available in the Documentation or on Avaya's website at:
http://support.avaya.com/Copyright or such successor site as designated by Avaya.
Warranty You agree to the Third Party Terms for any such Third Party Components.
Avaya provides a limited warranty on Avaya hardware and software. Refer to your sales
agreement to establish the terms of the limited warranty. In addition, Avaya's standard Note to Service Provider
warranty language, as well as information regarding support for this product while under The product may use Third Party Components subject to Third Party Terms that do not
warranty is available to Avaya customers and other parties through the Avaya Support allow hosting and require a Service Provider to be independently licensed for such
website: http://www.avaya.com/support or such successor site as designated by Avaya. purpose. It is your responsibility to obtain such licensing.
Please note that if you acquired the product(s) from an authorized Avaya Channel Preventing Toll Fraud
Partner outside of the United States and Canada, the warranty is provided to you by
"Toll Fraud" is the unauthorized use of your telecommunications system by an
said Avaya Channel Partner and not by Avaya.
unauthorized party (for example, a person who is not a corporate employee, agent,
Licenses subcontractor, or is not working on your company's behalf). Be aware that there can be
THE SOFTWARE LICENSE TERMS AVAILABLE ON THE AVAYA WEBSITE, a risk of Toll Fraud associated with your system and that, if Toll Fraud occurs, it can
HTTP://SUPPORT.AVAYA.COM/LICENSEINFO, OR SUCH SUCCESSOR SITE AS result in substantial additional charges for your telecommunications services.
DESIGNATED BY AVAYA, ARE APPLICABLE TO ANYONE WHO DOWNLOADS, Avaya Toll Fraud intervention
USES AND/OR INSTALLS AVAYA SOFTWARE, PURCHASED FROM AVAYA INC.,
If you suspect that you are being victimized by Toll Fraud and you need technical
ANY AVAYA AFFILIATE, OR AN AVAYA CHANNEL PARTNER (AS APPLICABLE)
assistance or support, call Technical Service Center Toll Fraud Intervention Hotline at
UNDER A COMMERCIAL AGREEMENT WITH AVAYA OR AN AVAYA CHANNEL
+1-800-643-2353 for the United States and Canada. For additional support telephone
PARTNER. UNLESS OTHERWISE AGREED TO BY AVAYA IN WRITING, AVAYA
numbers, see the Avaya Support website: http://support.avaya.com, or such successor
DOES NOT EXTEND THIS LICENSE IF THE SOFTWARE WAS OBTAINED FROM
site as designated by Avaya. Suspected security vulnerabilities with Avaya products
ANYONE OTHER THAN AVAYA, AN AVAYA AFFILIATE OR AN AVAYA CHANNEL
should be reported to Avaya by sending mail to: securityalerts@avaya.com.
PARTNER; AVAYA RESERVES THE RIGHT TO TAKE LEGAL ACTION AGAINST
YOU AND ANYONE ELSE USING OR SELLING THE SOFTWARE WITHOUT A Trademarks
LICENSE. BY INSTALLING, DOWNLOADING OR USING THE SOFTWARE, OR The trademarks, logos and service marks ("Marks") displayed in this site, the
AUTHORIZING OTHERS TO DO SO, YOU, ON BEHALF OF YOURSELF AND THE Documentation, Hosted Service(s), and Product(s) provided by Avaya are the
ENTITY FOR WHOM YOU ARE INSTALLING, DOWNLOADING OR USING THE registered or unregistered Marks of Avaya, its affiliates, or other third parties. Users are
SOFTWARE (HEREINAFTER REFERRED TO INTERCHANGEABLY AS "YOU" AND not permitted to use such Marks without prior written consent from Avaya or such third
"END USER"), AGREE TO THESE TERMS AND CONDITIONS AND CREATE A party which may own the Mark. Nothing contained in this site, the Documentation,
BINDING CONTRACT BETWEEN YOU AND AVAYA INC. OR THE APPLICABLE Hosted Service(s) and Product(s) should be construed as granting, by implication,
AVAYA AFFILIATE ("AVAYA"). estoppel, or otherwise, any license or right in and to the Marks without the express
Avaya grants you a license within the scope of the license types described below, with written permission of Avaya or the applicable third party.
the exception of Heritage Nortel Software, for which the scope of the license is detailed Avaya is a registered trademark of Avaya Inc.
below. Where the order documentation does not expressly identify a license type, the All non-Avaya trademarks are the property of their respective owners.
applicable license will be a Designated System License. The applicable number of Linux® is the registered trademark of Linus Torvalds in the U.S. and
licenses and units of capacity for which the license is granted will be one (1), unless a other countries.
different number of licenses or units of capacity is specified in the documentation or
Downloading Documentation
other materials available to you. Software" means Avaya's computer programs in object
code, provided by Avaya or an Avaya Channel Partner, whether as stand-alone For the most current versions of Documentation, see the Avaya Support website:
products, pre-installed, or remotely accessed on hardware products, and any upgrades, http://support.avaya.com, or such successor site as designated by Avaya.
updates, bug fixes, or modified versions thereto. "Designated Processor" means a Contact Avaya Support
single stand-alone computing device. "Server" means a Designated Processor that See the Avaya Support website: http://support.avaya.com for Product or Hosted
hosts a software application to be accessed by multiple users. "Instance" means a Service notices and articles, or to report a problem with your Avaya Product or Hosted
single copy of the Software executing at a particular time: (i) on one physical machine; Service. For a list of support telephone numbers and contact addresses, go to the
or (ii) on one deployed software virtual machine ("VM") or similar deployment. Avaya Support website: http://support.avaya.com (or such successor site as designated
by Avaya), scroll to the bottom of the page, and select Contact Avaya.
License types
Shrinkwrap License (SR). You may install and use the Software in accordance
with the terms and conditions of the applicable license agreements, such as
“shrinkwrap” or “clickthrough” license accompanying or applicable to the Software
(“Shrinkwrap License”).
Contents
Topics
How to use this guide, page 8
Chapter 1 - How to Use This Guide How to use this guide
Guide usage
Prepare
Prepare the site All deployments Technology, Security & Network Integration
for SQL Server, Deployment Reference Guide
SSRS, service
accounts
Install the SQL All deployments Install SQL Server 2014, page 9
Server Install SQL Server 2012, page 72
Install SQL Server 2008/R2, page 115
Upgrade
Verify SSRS post For customers Verify SSRS configuration post SQL
SQL Server upgrading SQL upgrade, page 192
upgrade Servers
This section provides detailed instructions for installing SQL Server 2014 Enterprise or
Standard Edition (ENT/STD), according to system requirements and the customer
license.
Topics
Microsoft links, page 10
Installation checklist, page 11
Verify prerequisites, page 12
Install SQL Server 2014, page 17
Post-installation procedures, page 28
Chapter 2 - Install SQL Server 2014 Microsoft links
Microsoft links
Microsoft links to help you prepare and install SQL Server.
Latest SQL Server 2014 downloads, including feature pack:
http://www.microsoft.com/en-us/download/search.aspx?q=sql+2014
Change SQL Server Port:
https://msdn.microsoft.com/en-us/library/ms177440(v=sql.120).aspx
Opening the firewall ports for SQL Server:
http://support.microsoft.com/kb/968872
Installation checklist
The checklist provides a list of SQL Server 2014 installation procedures and an estimate
of the time required to complete each procedure.
Verify prerequisites
Before installing SQL Server 2014, you must meet the site and software requirements.
Workflow
1 SQL Server requirements
The customer must prepare the site for the SQL Server installation according to the
Technology, Security, & Network Integration Deployment Reference Guide. See the
SQL Server Requirements section in the Third-Party Products chapter.
2 Open firewall ports for SQL Server
3 Verify user rights assignments to SQL Services account, page 12: Verify the user
rights assignments for the SQL services account running the SQL Server Database
Engine service.
4 Verify minimum software requirements, page 14
5 Calculate max memory, page 16
Related information
How to open the firewall port (http://support.microsoft.com/kb/968872)
Procedure
1 In Windows 2012, navigate to Control Panel > System and Security >
Administrative Tools > Local Security Policy.
2 In the Local Security Policy window, click Local Policies, and then click User
Right Assignment.
3 Double-click each of the following items, and verify that the list includes the service
account running the SQL Server Database Engine service:
a. Lock pages in memory
b. Log on as a service
c. Perform volume maintenance tasks
Related information
SQL Services Account Requirements (Technology, Security, & Network Integration
Deployment Reference Guide)
Requirements
Microsoft Windows
For operating system requirements, see the Customer Furnished Equipment Guide.
Microsoft Windows Installer 4.5 or a later version
Install Windows Installer 4.5 using the Installation Wizard. If you are prompted to
restart your computer, restart it, and then run setup to install SQL Server 2014.
.NET Framework 3.5 SP1 or higher.
Note that .NET Framework 4.0 is automatically installed when installing SQL Server
2014. You need to enable .NET 3.5 SP1
Windows PowerShell 2.0
Related topics
Install .Net 3.5 Framework SP1 on Windows 2012, page 14
Procedure
1 Insert the Windows Server installation DVD in the drive.
2 Open a command prompt as an administrator.
3 Type the following command:
dism /online /enable-feature /featurename:NetFX3 /all
/Source:d:\sources\sxs /LimitAccess
where d:\sources\sxs is your Windows installation DVD.
To override the automatic max memory calculation, configure the registry and
commondb database settings.
Registry:
Locate the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6423Node\Impact360\DatabaseSDK
Set IsSqlServerLocal to False.
commondb database:
Locate the SERVER_DISABLE_MEMORY_ALLOCATION parameter:
Set MAXIMUM SERVER MEMORY to 1, indicating that the memory should be
configured manually.
Procedure
1 Run Setup
a. Insert the SQL Server 2014 installation media into the DVD drive.
b. Open the drive and run setup.exe.
2 Installation Type
Select Installation, and then select New SQL Server stand alone installation
or add features to an existing installation.
3 Product Key
Enter the product key, and then click Next.
4 License Terms
Accept the license terms, and then click Next.
5 Global Rules
The global rules check runs automatically and does not require any action on your
part.
6 Product Updates
Leave the settings unselected, and then click Next.
7 Install Rules
Verify that all rules have a status of Passed, and click Next.
8 Setup Role
Click SQL Server Feature Installation, and click Next.
9 Feature Selection
a. Select the Mandatory Instance Features, page 19.
b. Select the Mandatory Shared Features, page 19.
c. Change the Shared Features directory (if required).
NOTE The feature list may change for different SQL server editions. The
remaining features are optional.
d. Click Next.
Instance Features
Database Engine Services
SQL Server Replication
Required for customers using Key Management Servers (KMS) for End-to-
End Encryption, as each KMS server contains its own copy of the SQL
database.
Reporting Services Native (SharePoint is not supported):
Required on servers hosting the Reporting server role only. That includes,
consolidated servers and deployments where the SQL Server and Reporting
roles are hosted together.
Shared Features
Client Tools Connectivity
Integration Services
Management Tools - Basic
Management Tools - Complete
10 Feature Rules
a. Wait for the operation completed message, and then click Show Details.
b. Verify that all rules have a status of Passed, and click Next.
11 Instance Configuration
a. Select one of the following:
Default Instance: you can have one default instance per machine. The
default instance name is MSSQLServer.
Named Instance: you can set a named instance, such as Impact360 to
replace the default instance name, or if there are multiple instances on the
same machine.
NOTE For reasons of security, use Named Instance as a best practice.
Follow Microsoft's guidelines when defining the Named Instance, and ensure
that it:
- Begins with a letter
- Does not include more than 16 characters
Setting a named instance automatically adds the instance name to
SQLServerAgent (computer name) and to MSSQL Service as follows:
- SQLServerAgent: SQLAgent$<instance name>
- MSSQL Service: MSSQL$<instance name>
b. Instance Root Directory: Use the default path; change only if needed.
For servers hosting Application and Contact Database, set Share Permissions
for the following folders:
Read/Write permissions:
ApplicationDataMigration
ContactDataMigration
Tools\Binn directory located in %ProgramFiles%\Microsoft SQL Server (exact
path is dependent on SQL Server version)
Read permissions:
CommonDBShare
NOTE An SQL Credentials service if defined, should have the same shared
permissions for the same folders as the SQL Server Agent service account.
19 Installation Progress
Monitor the progress of the installation.
20 Complete
Do the following:
a. Verify that each feature shows a status of Succeeded.
b. Click Close.
Post-installation procedures
After installing SQL Server 2014, you must perform post-installation procedures:
Workflow
1 Modify the SQL Server port (mandatory), page 28
2 Keep Model DB size at 128 MB or lower, page 30
3 Grant Database Administrator permissions, page 30
4 Install the latest SQL Server 2014 service pack, page 34
5 Install the latest SQL Server 2014 hotfix, page 34
6 Disable CEIP, page 34
7 Configure the SQL Server 2014 online help, page 35
8 Install SQL Server 2005 backward compatibility components, page 36
9 Add SQL Server trace flags, page 38
10 Enable Optimize for Ad Hoc Workloads option, page 41
11 Enable remote access, page 41
12 Manually configure remote SQL Server 2014, page 42
13 Set SQL Server Security Features, page 48
14 Install SQL Performance Dashboard, page 50 (optional)
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Configuration
Manager.
2 In the left pane, expand SQL Server Network Configuration, and select
Protocols for Impact360.
3 In the right pane, verify that Shared Memory and TCP/IP protocols are enabled.
NOTE For TCP/IP Sockets, data transmissions are more streamlined and have
less overhead. Data transmissions can also take advantage of TCP/IP
Sockets performance enhancement mechanisms, such as windowing and
delayed acknowledgements, which can be very beneficial in a slow
network. Depending on the type of applications, such performance
differences can be significant.
TCP/IP Sockets also support a backlog queue, which can provide a limited
smoothing effect compared to named pipes, which may lead to pipe busy
errors when you are attempting to connect to SQL Server.
4 Double-click TCP/IP.
c. Click OK.
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Management
Studio.
2 In the Connect to Server window, do the following:
a. In the Server type list, select Database Engine.
b. In the Server name list, select the SQL server name.
c. In the Authentication list, select Windows Authentication. Mixed mode is
also supported.
4 Below Logins, verify that the Management Service Account and/or the
Database Management Service Account exists in the list, and do one of the
following:
If the required Service Account exists, continue from Step 6.
If the required Service Account does not exist, continue with Step 5.
5 Do the following:
a. Right-click Logins, and click New Login.
b. In the Login name field, type the name of the Management Service Account or
the Database Management Service Account, or click Search and select the
account.
c. Click OK.
The Management Service Account or the Database Management Service
Account is added to the Logins list.
6 Double-click the Service Account you added.
7 In the Login Properties window, verify that the Default language is set to
English.
8 From the list of Select a page options on the left, click Server Roles.
9 Do one of the following:
For a Management Service Account, continue from Step 10.
On the Server Roles page, select the sysadmin server role.
12 Click OK.
Procedure
1 Download the latest service pack for SQL Server 2014, as specified in the Customer
Furnished Equipment (CFE) Guide, or in the Microsoft Update Bulletin Support
Cumulative Update Bulletin, which is updated and released on a monthly basis.
Procedure
1 Find the latest service pack and hotfixes for SQL Server 2014 on Microsoft Support.
SQLSecurity.com.
2 Download the relevant file. Make sure to select a platform with x64 suffix.
3 Run the downloaded file.
Disable CEIP
Customer Experience Improvement Program (CEIP) collects information about how
customers use Microsoft programs and about some of the problems they encounter.
Microsoft uses this information to improve the products and features customers use
most often and to help solve problems. The system requires that you disable the CEIP
feature.
Procedure
1 From the notification area, click the Customer Feedback icon.
2 In the Microsoft SQL Server Customer Feedback Options window, click the No.
I don't wish to participate option, and then click OK.
Procedure
1 In Microsoft SQL Management Studio, on the Help menu, click Manage Help
Settings.
2 Click Choose online or local help.
3 Select I want to use local help and click OK.
Procedure
1 Browse to the Microsoft site download page.
http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-
4479-9b91-9e8b9d835cdc&displaylang=en
2 Download the SQLServer2005_BC_x64.msi file.
IMPORTANT Make sure to select the file with the x64 suffix.
Procedure
1 Double-click the SQLServer2005_BC_x64.msi file.
2 In the Welcome window, click Next.
3 In the License Agreement window, click the I accept the terms in the license
agreement option, and click Next.
4 In the Registration Information window, type the Name and Company, and
click Next.
5 In the Feature Selection window, without changing the default settings, click
Next.
IMPORTANT It is mandatory to add Trace Flag 9481 to ensure the best query
performance.
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Configuration
Manager.
2 Click SQL Server Services.
3 On the right pane, right-click the SQL Server service, and click Properties.
4 In the SQL Server Properties window, click the Startup Parameters tab.
5 In the Specify a startup parameter field, enter each flag in turn, and click Add.
-T9481
-T1118
-T1117
-T2371
6 Click the Advanced tab, and verify that the Startup Parameters row contains the
keys. Each flag is delimited by a semicolon. Select the right column in order to view
the full list. Open and close the window to refresh the list.
7 After entering the new flags, press Enter to close the parameters panel, review the
panel for confirmation of your changes, then click Apply.
8 On the Warning dialog informing you the changes will not take effect until the
service is restarted, click OK.
9 Restart the SQL Server service.
Procedure
1 Open the SQL Server Management Studio and connect to the database.
2 Click on New and select Query with Current Connection.
3 Paste the following TSQL code into the new query window:
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'optimize for ad hoc workloads', 1
go
reconfigure
go
4 Click Execute.
The query results panel displays a message indicating that the option was
configured successfully, as in the following message:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
Procedure
1 Open the SQL Server Management Studio and connect to the database.
2 Click on New and select Query with Current Connection.
3 Paste the following TSQL code into the new query window, and click Execute.
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'remote access', 1
go
reconfigure
go
4 Click Execute.
The query results panel displays a message indicating that the option was
configured successfully, as in the following example:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
Settings/operations not relevant for remote SQL Server installations are indicated as
such at the end of the table.
max degree of 1
parallelism Required when SQL Server runs on a computer with more
than one microprocessor or CPU to detect the best degree
of parallelism (that is, the number of processors employed
to run).
remote SQL server Set according to individual company policies since the
account system does not use the SQL Server Browser.
configurations
security flag Validate the SQL Credential object’s ability to run scripts on
the server. The object is created on assigning database
permissions to the service accounts.
Perform these steps for the SQL Credential or for the
default user:
1 In the Registry Editor browse to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
Script Host\Settings\
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows
Script Host\Settings\
2 Validate that there is a Settings folder. If not create
one.
The following settings or operations are not relevant for remote SQL Server
installations:
clr enabled: Must be enabled for local SQL Servers to enable the database to
log information in log files for audit and debugging purposes.
Add maintenance group
Deploy UltraLoggerCLR.dll
Ultra Logger Registration (.lmf +.dll) on a machine which contains DB-related
roles
Confirm Allow Updates is set to 0 (default) during installation and
configuration
SQL service packs Install all the latest service packs and hotfixes.
and hotfixes
Related information
Microsoft Download Center: SQL Server Management Studio Express
NOTE This configuration is only relevant when multiple SQL server instances are
running on the remote SQL server.
If only one SQL server instance is running on the remote SQL server or if
using a local SQL server, this attribute should not be modified.
If the remote SQL server hosts multiple SQL server instances, replace the period
in the <ServerName> XML element with the following:
<Machine Name>\<SQL Server Instance Name>
where:
<Machine Name> is the name of the server hosting the multiple SQL
server instances
<SQL Server Instance Name> is the name of the company-installed SQL
server instance
If the remote SQL server hosts an SQL server cluster, replace the period in the
<ServerName> XML element with the following:
<IP of SQL Server or Name of Cluster>\<SQL Server Instance Name>
where:
<IP of SQL Server or Name of Cluster> is the IP address of the SQL
server managing the SQL services, or the name defined for the cluster
<SQL Server Instance Name> is the name of the company-installed SQL
server instance
SSIS configuration file (Example)
CLR enabled off (if not used) on - for local SQL Servers
(Used for logging) off - for remote SQL
Servers
Service accounts Run SQL Server services Run SQL Server services
with dedicated account with dedicated account
Choose static ports for Assign static ports to Assign static ports to
named instances named instances named instances
Surface and feature Run services and features Run services and features
reduction needed in your needed in your
(SQL browser service is environment only environment only
not needed. The system
work with address and
port, and not with SQL
instance name)
Related information
Microsoft® SQL Server® 2012 Performance Dashboard Reports
The upgrade to SQL Server 2014 chapter details instructions for in-place upgrade from
SQL Server 2008/2008 R2/2012 to SQL Server 2014 Enterprise or Standard Edition
(ENT/STD), according to system requirements and the customer license.
Once the upgrade is complete, the previous management tools remain on the server.
SQL Server Configuration Manager and SQL Server Profiler is replaced.
Topics
Microsoft links, page 52
Upgrade checklist, page 53
Verify prerequisites, page 54
Post-upgrade SQL Server 2014, page 56
Chapter 3 - Upgrade to SQL Server 2014 Microsoft links
Microsoft links
Microsoft links to help you prepare and upgrade SQL Server. Click a link based on the
information you are looking for.
Upgrade to SQL Server 2014
https://msdn.microsoft.com/en-US/library/bb677622(v=sql.120).aspx
Supported Version and Edition Upgrades
https://msdn.microsoft.com/en-US/library/ms143393(v=sql.120).aspx
Upgrade to SQL Server 2014 Using the Installation Wizard (Setup)
https://msdn.microsoft.com/en-us/library/ms144267(v=sql.120).aspx
Latest SQL Server 2014 downloads, including feature packs:
http://www.microsoft.com/en-us/download/search.aspx?q=sql+2014
Upgrade checklist
The checklist provides a checklist for upgrading to SQL Server 2014 and an estimate of
the time required to complete each step in the upgrade procedure.
* The estimated time is based on a lab test with the following configuration:
Server type - Consolidated (deployment level L1)
CPU - 2 x Quad Core
Memory-16GB
Disks - HP System Smart Array, RAID 1 (Transaction Log), RAID 5 (DB files).
SQL Server - version 2014 with max memory 2 GB
Verify prerequisites
Verify that you meet the prerequisites before you install SQL Server 2014.
Workflow
1 SQL Server 2014 requirements
The customer must prepare the site for the SQL Server 2014 upgrade according to
the Technology, Security, & Network Integration Deployment Reference Guide. See
the SQL Server Requirements section in the Third-Party Products chapter.
2 Verify user rights assignments to SQL Services account, page 54
3 Verify minimum software requirements, page 54
4 Prepare SSRS for an SQL Server upgrade, page 55
Related topics
Install .Net 3.5 Framework SP1 on Windows 2012, page 14
Procedure
1 Identify the SQL Server Instance ID targeted for upgrade.
a. Launch the Reporting Services Configuration Manager.
b. Connect to the Report Server Instance.
c. In the Report Server Status screen copy the Instance ID.
2 Navigate to %IMPACT360SOFTWAREDIR%\SSRS\Util using a command line.
3 Run the following command:
4 ReportingServicesUtils.Shell.exe /ssrspreupgrade
ssrsinstancename:<Instance ID>
5 Perform the procedures to configure SSRS.
Related topics
Configure SSRS, page 181
Workflow
1 Grant Database Administrator permissions, page 56
2 Install latest SQL Server 2014 service packs & hotfixes, page 59
3 Keep Model DB size at 128 MB or lower, page 59
4 Disable CEIP, page 60
5 Configure the SQL Server 2014 Online Help, page 60
6 Verify SQL Server trace flags, page 60
7 Manual configuration for remote SQL Server 2014, page 62
8 Update statistics, page 68
9 Modify database compatibility level, page 68
10 Run DBCC UPDATEUSAGE, page 69
11 Update system environment path variable, page 70
12 Verify SSRS, page 70
13 Redistribute the EM configuration, page 70
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Management
Studio.
2 In the Connect to Server window, do the following:
a. In the Server type list, select Database Engine.
b. In the Server name list, select the SQL server name.
c. In the Authentication list, select Windows Authentication. Mixed mode is
also supported.
4 Below Logins, verify that the Management Service Account and/or the
Database Management Service Account exists in the list, and do one of the
following:
If the required Service Account exists, continue from Step 6.
If the required Service Account does not exist, continue with Step 5.
5 Do the following:
a. Right-click Logins, and click New Login.
b. In the Login name field, type the name of the Management Service Account or
the Database Management Service Account, or click Search and select the
account.
c. Click OK.
The Management Service Account or the Database Management Service
Account is added to the Logins list.
6 Double-click the Service Account you added.
7 In the Login Properties window, verify that the Default language is set to
English.
8 From the list of Select a page options on the left, click Server Roles.
9 Do one of the following:
For a Management Service Account, continue from Step 10.
On the Server Roles page, select the sysadmin server role.
12 Click OK.
if the Model DB size is greater than 128MB. If you require a larger DB model, please
contact Technical Support for assistance.
Disable CEIP
Customer Experience Improvement Program (CEIP) collects information about how our
customers use Microsoft programs and about some of the problems they encounter.
Microsoft uses this information to improve the products and features customers use
most often and to help solve problems.
If this feature is not disabled, make sure you disable it. See Disable CEIP, page 34.
Procedure
1 From the Microsoft SQL Management Studio’s Help tab, open Manage Help
Settings.
2 Click Choose Online or Local Help.
3 Select the Local radio button, and click OK.
4 Select I want to use local help and click OK.
IMPORTANT It is mandatory to add Trace Flag 9481 to ensure the best query
performance.
Trace Flag 1117 enables increasing all data files simultaneously, and by the exact
same size.
Trace Flag 2371 enables the auto update statistics feature so that the larger the
table, the lower the threshold to trigger an update of the statistics. This is best
practice when there are tables that contain more than several million records.
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Configuration
Manager.
2 Click SQL Server Services.
3 On the right pane, right-click the SQL Server service, and click Properties.
4 In the SQL Server Properties window, click the Startup Parameters tab.
5 In the Specify a startup parameter field, verify that each of the following flags
are defined:
-T9481
-T1118
-T1117
-T2371
Procedure
1 Open the SQL Server Management Studio.
2 To verify that Optimize for Ad Hoc Workloads option is enabled, do the following:
a. Type the following query:
SELECT name, value_in_use FROM sys.configurations WHERE name =
'optimize for ad hoc workloads'
b. Verify that the value is set to 1.
c. If not, enable the option as described in Enable Optimize for Ad Hoc Workloads
option, page 41.
3 To verify that remote access is enabled, do the following:
a. Type the following query:
SELECT name, value_in_use FROM sys.configurations WHERE name =
'remote access'
b. Verify that the value is set to 1.
c. If not, enable remote access as described in Enable remote access, page 41.
max degree of 1
parallelism Required when SQL Server runs on a computer with more
than one microprocessor or CPU to detect the best degree
of parallelism (that is, the number of processors employed
to run).
remote SQL server Set according to individual company policies since the
account system does not use the SQL Server Browser.
configurations
security flag Validate the SQL Credential object’s ability to run scripts on
the server. The object is created on assigning database
permissions to the service accounts.
Perform these steps for the SQL Credential or for the
default user:
1 In the Registry Editor browse to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
Script Host\Settings\
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows
Script Host\Settings\
2 Validate that there is a Settings folder. If not create
one.
The following settings or operations are not relevant for remote SQL Server
installations:
clr enabled: Must be enabled for local SQL Servers to enable the database to
log information in log files for audit and debugging purposes.
Add maintenance group
Deploy UltraLoggerCLR.dll
Ultra Logger Registration (.lmf +.dll) on a machine which contains DB-related
roles
Confirm Allow Updates is set to 0 (default) during installation and
configuration
SQL service packs Install all the latest service packs and hotfixes
and hotfixes
User rights See Verify user rights assignments to SQL Services account,
assignments to SQL page 54.
services account
Related information
Microsoft Download Center: SQL Server Management Studio Express
NOTE This configuration is only relevant when multiple SQL server instances are
running on the remote SQL server.
If only one SQL server instance is running on the remote SQL server or if
using a local SQL server, this attribute should not be modified.
Update statistics
To update statistics in user-defined tables, do one of the following:
Option 1 - Run a stored procedure:
This option provides a minimal log at the end of the process.
For each Impact360 SQL Server database, run the sp_updatestats stored
procedure.
Option 2 - Run a script:
This option provides a minimal log at the end of the process.
Run the following script:
EXEC sp_MSforeachtable 'UPDATE STATISTICS ? WITH FULLSCAN'
Option 3 - Run a script with progress status:
This option provides a detailed log for each table during the process.
To run the update statistics with a progress status for each table, run the following
script:
SET NOCOUNT ON
DECLARE @database_name sysname, @tablename NVARCHAR(128), @sql NVARCHAR(300),
@from_table int, @to_table int
SET @from_table =1
IF OBJECT_ID('tempdb.dbo.#tables') is not Null drop table #tables
SELECT table_name into #tables FROM information_schema.tables WHERE
TABLE_TYPE = 'BASE TABLE'
AND table_name NOT IN (SELECT DISTINCT object_name(id) as exclude_name
FROM sys.sysindexes WHERE name like '_WA_Sys_%') ORDER BY 1
ALTER TABLE #tables ADD seq INT IDENTITY
SELECT @to_table= max(seq) FROM #tables
WHILE @from_table<=@to_table
BEGIN
SELECT @tablename= table_name FROM #tables where seq=@from_table
SET @sql = 'UPDATE STATISTICS [' + @tablename + '] WITH FULLSCAN'
EXEC sp_executesql @sql
SET @sql='UPDATED STATISTICS for table: ' + @tablename
RAISERROR (@sql, 0, 1) WITH NOWAIT
SET @from_table=@from_table+1
END
Procedure
1 Open the SSMS 2014, connect to the Impact 360 instance.
2 From Object Explorer, click Databases, and for each Impact 360 user database
(not System Databases), do the following:
a. Right-click the database, and select Properties.
b. On the Properties page, select Options.
c. From the Compatibility level, select SQL Server 2014.
Procedure
Type:
DBCC UPDATEUSAGE (0);
GO
where 0 indicates to update the current database.
Procedure
1 Open System Properties > Advanced tab and click Environment Variables.
2 In System Variables, double-click the Path variable to edit and move the SQL server
2014 path to the top of the list.
Verify SSRS
After upgrading SQL Server, verify the SSRS configuration has adopted the new instance
ID and new SQL server version.
Related topics
Verify SSRS configuration post SQL upgrade, page 192
Procedure
1 Log on to the WFO application.
2 Click System Management > Enterprise Management > Settings.
3 In the Installations tree (left pane), select the server role you want to configure.
4 Change the server role as needed, and then click Save. The Server Role Restart
window displays if any services or applications require a restart.
5 Click Continue to save all settings data, and then manually restart any services or
applications listed in the Server Role Restart window.
6 Repeat for each database server role.
This section provides detailed instructions for installing SQL Server 2012 Enterprise or
Standard Edition (ENT/STD), according to system requirements and the customer
license.
Topics
Microsoft links, page 73
Installation checklist, page 74
Verify prerequisites, page 75
Install SQL Server 2012, page 79
Post-installation procedures, page 91
Chapter 4 - Install SQL Server 2012 Microsoft links
Microsoft links
Microsoft links to help you prepare and install SQL Server.
Latest SQL Server 2012 downloads, including feature pack:
http://www.microsoft.com/en-us/download/search.aspx?q=sql+2012
Change SQL Server Port:
http://msdn.microsoft.com/en-us/library/ms177440.aspx
Opening the firewall ports for SQL Server on Windows Server:
https://msdn.microsoft.com/en-us/library/cc646023.aspx
Installation checklist
The checklist provides a list of SQL Server 2012 installation procedures and an estimate
of the time required to complete each procedure.
Verify prerequisites
Prerequisites must be met before you install SQL Server 2012.
Workflow
1 SQL Server requirements
The customer is required to prepare the site for the SQL Server installation
according to the Technology, Security, & Network Integration Deployment
Reference Guide. See the SQL Server Requirements section inside the Third-Party
Products chapter.
2 Open firewall ports for SQL Server
3 Verify user rights assignments to SQL Services account, page 75: Verify the user
rights assignments for the SQL services account that is running the SQL Server
Database Engine service.
4 Verify minimum software requirements, page 76: Ensure that the minimum
software requirements are met before you install SQL Server 2012.
5 Calculate max memory, page 78: Install SQL Server 2012
Related information
How to open the firewall port (http://support.microsoft.com/kb/968872)
Procedure
1 In Windows 2012, go to Control Panel > System and Security >
Administrative Tools > Local Security Policy.
2 In the Local Security Policy window, click Local Policies, and then click User
Right Assignment.
3 Double-click Lock pages in memory and verify that the list includes the service
account running the SQL Server Database Engine service.
4 Double-click Log on as a service and verify that the list includes the service
account running the SQL Server Database Engine service.
5 Double-click Perform volume maintenance tasks and verify that the list includes
the service account running the SQL Server Database Engine service.
Related information
SQL Services Account Requirements (Technology, Security, & Network Integration
Deployment Reference Guide)
Requirements
Microsoft Windows
For operating system requirements, see the Customer Furnished Equipment Guide.
Microsoft Windows Installer 4.5 or a later version
Windows Installer 4.5 can be installed by the Installation Wizard. If you are
prompted to restart your computer, restart it, and then restart SQL Server 2012
setup.exe.
.NET Framework 3.5 SP1 or later.
.NET Framework 4.0 installs automatically during the installation.
Windows PowerShell 2.0
Related topics
Install .NET 3.5 Framework SP1 on Windows 2012, page 77
Procedure
1 Insert the Windows Server installation DVD in the drive.
2 Open a command prompt as an administrator.
3 Type the following command:
dism /online /enable-feature /featurename:NetFX3 /all
/Source:d:\sources\sxs /LimitAccess
where d:\sources\sxs is your Windows installation DVD.
10 On the Select features page, under Features, select .NET Framework 3.5
Features.
You do not need to select HTTP Activation or Non-HTTP Activation.
11 Click Next.
12 On the Confirm installation selections page, click Specify an alternate source
path, and then enter the source path specified in Step 3.
Once the installation is complete, the following is displayed under Features.
Procedure
1 Insert the SQL Server 2012 installation media into the DVD drive.
2 Open the drive and run setup.exe.
3 Select Installation, and then select New SQL Server stand alone installation
or add features to an existing installation.
12 In the Setup Role window, click SQL Server Feature Installation, and click
Next.
16 The Disk Space Requirements window calculates the required disk space for the
features that you specify. Then it compares the required space to the available disk
space. Click Next.
17 In the Server Configuration window Service Accounts tab, enter the Account
Name and Password for each service, and configure the Startup Type and more
settings for each service.
SQL Server Automatic The SQL Server Agent is a member of the SQL
Agent sysadmin fixed server role, as described in
Microsoft Article ID: 143504.
Set folders with Share Permissions on the
servers hosting the Application and Contact
Databases:
Set read/write folder permissions:
ApplicationDataMigration
ContactDataMigration
Tools\Binn directory located in
%ProgramFiles%\Microsoft SQL Server (exact
path depends on SQL Server version)
Set Read permissions for these folders:
CommonDBShare
21 Select the Data Directories tab and modify the default path of the database files.
If the SQL Server is installed locally, you do not need to modify any fields on this
tab. Skip to Step 22.
If the SQL Server is installed remotely, modify the Temp DB directory and Temp
DB log directory fields. Refer to the requirements specified in the Customer
Furnished Equipment (CFE) Guide.
No further updates are required on this tab.
22 Click the FILESTREAM tab, which enables FILESTREAM for transact-SQL access. Do
not change the default settings. Click Next.
23 In the Reporting Services Configuration window, under Reporting Services
Native Mode, click Install only, and then click Next.
24 In the Error Reporting window, clear the option so that no information is sent to
Microsoft, and click Next.
25 In the Installation Configuration Rules window,
a. Wait until the rule check completes, and click Show Details.
b. Wait until the status of all the rules is Passed, and click Next.
27 In the Installation Progress window, you can monitor the progress of the
installation. After installation, the Complete page shows a Succeeded status for
each feature. Click Close.
The installation is complete. Microsoft SQL Server 2012 appears under All apps
containing the SQL Server tools, services, and documentation.
28 When installing SQL Server 2012 on a new Windows Server 2012 installation, if this
message may appear:
The error occurs when .NET Framework 3.5 is not installed and enabled. To resolve
the issue, manually enable .NET Framework 3.5 from the command prompt and
then run the SQL Server installation process by repeating the steps in this chapter.
Related topics
Install .NET 3.5 Framework SP1 on Windows 2012, page 77
Post-installation procedures
After installing SQL Server 2012, perform the post-installation procedures according to
the workflow.
Workflow
1 Modify the SQL Server port (mandatory), page 91
2 Keep Model DB size at 128 MB or lower, page 93
3 Grant Database Administrator permissions, page 93
4 Install the latest SQL Server 2012 service pack, page 97
5 Install the latest SQL Server 2012 hotfix, page 97
6 Resolve out of memory error, page 97
7 Disable CEIP, page 97
8 Configure the SQL Server 2012 help, page 98
9 Install SQL Server 2005 backward compatibility components, page 99
10 Add SQL Server trace flags, page 102
11 Enable Optimize for Ad Hoc Workloads option, page 103
12 Enable remote access, page 104
13 SQL Server 2012 local and remote SQL configurations, page 105
14 Microsoft Download Center, page 111
15 Install SQL Performance Dashboard, page 114 (optional)
Procedure
1 If Windows 2012, from the Start desktop, click SQL Server Configuration
Manager.
2 In the left pane, expand SQL Server Network Configuration, and select
Protocols for Impact360.
3 In the right pane, verify that Shared Memory and TCP/IP protocols are enabled.
NOTE For TCP/IP Sockets, data transmissions are more streamlined and have
less overhead. Data transmissions can also take advantage of TCP/IP
Sockets performance enhancement mechanisms, such as windowing and
delayed acknowledgements, which can be beneficial in a slow network.
Depending on the type of applications, such performance differences can
be significant.
TCP/IP Sockets also support a backlog queue, which can provide a limited
smoothing effect compared to named pipes, which may lead to pipe busy
errors when you are attempting to connect to SQL Server.
4 Double-click TCP/IP.
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Management
Studio.
2 In the Connect to Server window, do the following:
a. In the Server type list, select Database Engine.
b. In the Server name list, select the SQL server name.
c. In the Authentication list, select Windows Authentication. Mixed mode is
also supported.
4 Below Logins, verify that the Management Service Account and/or the
Database Management Service Account exists in the list, and do one of the
following:
If the required Service Account exists, continue from Step 6.
If the required Service Account does not exist, continue with Step 5.
5 Do the following:
a. Right-click Logins, and click New Login.
b. In the Login name field, type the name of the Management Service Account or
the Database Management Service Account, or click Search and select the
account.
c. Click OK.
The Management Service Account or the Database Management Service
Account is added to the Logins list.
6 Double-click the Service Account you added.
7 In the Login Properties window, verify that the Default language is set to
English.
8 From the list of Select a page options on the left, click Server Roles.
9 Do one of the following:
For a Management Service Account, continue from Step 10.
On the Server Roles page, select the sysadmin server role.
12 Click OK.
Procedure
1 Download the latest service pack for SQL Server 2012, as specified in the Customer
Furnished Equipment (CFE) Guide, or in the Microsoft Update Bulletin Support
Cumulative Update Bulletin, which is updated and released on a monthly basis.
Procedure
1 Browse to the latest service pack and hotfixes for SQL Server 2012 found in
SQLSecurity.com.
2 Click the relevant link to display the Microsoft site download page.
3 Download the relevant file. Make sure to select a platform with x64 suffix.
4 Run the downloaded file.
Related information
http://support.microsoft.com/kb/2667742
Disable CEIP
Customer Experience Improvement Program (CEIP) collects information about how our
customers use Microsoft programs and about some of the problems they encounter.
Microsoft uses this information to improve the products and features customers use
most often and to help solve problems.
The system requires that you disable the CEIP feature.
Procedure
1 From the notification area, at the rightmost of the taskbar, select the Customer
Feedback icon.
2 In the Microsoft SQL Server Customer Feedback Options window, click the No.
I don’t wish to participate option, and then click OK.
Procedure
1 In Microsoft SQL Management Studio, on the Help menu, click Manage Help
Settings.
2 Click Choose Online or Local Help.
3 Select the Local option, and click OK.
Procedure
1 Browse to the Microsoft site download page.
http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-
4479-9b91-9e8b9d835cdc&displaylang=en
2 Download the SQLServer2005_BC_x64.msi file.
IMPORTANT Make sure to select the file with the x64 suffix.
Procedure
1 Double-click the SQLServer2005_BC_x64.msi file.
2 In the Welcome window, click Next.
3 In the License Agreement window, click the I accept the terms in the license
agreement option, and click Next.
4 In the Registration Information window, type the Name and Company, and
click Next.
5 On the Feature Selection window, without changing the default settings, click
Next.
Procedure
1 If Windows 2012, from the Start desktop, click SQL Server Configuration
Manager.
2 Click SQL Server Services.
3 In the right pane, right-click the SQL Server service, and click Properties.
4 On the SQL Server Properties window, click the Startup Parameters tab.
5 In the Specify a startup parameter field, enter each flag in turn, and click Add.
-T1118
-T1117
-T2371
6 Click the Advanced tab, and verify that the Startup Parameters row contains the
keys. Each flag is delimited by a semicolon. Select the right column to view the full
list. Open and close the window to refresh the list.
7 After entering the new flags, press Enter to close the parameters panel, review the
panel for confirmation of your changes, then click Apply.
8 On the Warning dialog informing you the changes will not take effect until the
service is restarted, click OK.
9 Restart the SQL Server service.
Procedure
1 Open the SQL Server Management Studio.
2 Click New Query.
3 Paste the following TSQL code into the new query window, and click Execute.
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'optimize for ad hoc workloads', 1
go
reconfigure
go
Result:
Absence of an error message indicates success. In the results pane a message
similar to this is displayed in the query results panel:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
Procedure
1 Open the SQL Server Management Studio.
2 Click New Query.
3 Paste the following TSQL code into the new query window, and click Execute.
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'remote access', 1
go
reconfigure
go
Result:
Absence of an error message indicates success. In the query results pane a
message similar to this is displayed:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
NOTE: The clr enabled parameter must be enabled for Local SQL servers to enable the database
capability of logging information to log files for audit and debugging purposes.
NOTE The system does not use the SQL Server Browser, so this service can be
set according to individual company policies.
For more information on requirements for remote SQL Server clusters, see “Remote SQL
cluster requirements” on page 109.
4 Set the SQL Service accounts. For details, see “Install SQL Server 2012” on
page 79.
5 Set the SQL Collation. For details, see “Install SQL Server 2012” on page 79.
6 Create a directory on the cluster shared storage (for example,
T:\Impact360\Databases). This directory is used during the Database platform
installation for the Database and Transaction Log directory destinations.
NOTE This configuration is only relevant when multiple SQL Server instances are
running on the remote SQL Server.
If only one SQL Server instance is running on the remote SQL Server or if
using a local SQL Server, this attribute should not be modified.
Related information
Microsoft Download Center
CLR enabled off (if not used) on - for local SQL Servers
(Used for logging) off - for remote SQL
Servers
Service accounts Run SQL Server services Run SQL Server services
with dedicated account with dedicated account
Choose static ports for Assign static ports to Assign static ports to
named instances named instances named instances
Surface and feature Run services and features Run services and features
reduction needed in your needed in your
(SQL browser service is environment only environment only
not needed. The system
work with address and
port, and not with SQL
instance name)
Related information
Microsoft SQL Server 2012 Performance Dashboard Reports
This section provides detailed instructions for installing SQL Server 2008/R2 Enterprise
or Standard Edition (ENT/STD), according to system requirements and the customer
license.
Topics
Microsoft links, page 116
Installation checklist, page 117
Verifying prerequisites, page 118
Install SQL Server 2008/R2, page 122
Post-installation procedures, page 134
Chapter 5 - Install SQL Server 2008/R2 Microsoft links
Microsoft links
Microsoft links to help you prepare and install SQL Server.
Latest SQL Server 2008/R2 SP and hotfix list:
http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/
Default.aspx
SQL Server 2005 Backward Compatibility:
http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-
4479-9b91-9e8b9d835cdc&displaylang=en
Change SQL Server Port:
http://msdn.microsoft.com/en-us/library/ms177440.aspx
Opening the firewall ports for SQL Server on Windows Server 2008:
http://support.microsoft.com/kb/968872
Installation checklist
The checklist provides a list of SQL Server 2008/R2 installation procedures and an
estimate of the time required to complete each procedure.
1 Verifying prerequisites, 5
page 118
Verifying prerequisites
Prerequisites must be met before you install SQL Server 2008/R2.
Workflow
1 SQL Server Requirements
The customer is required to prepare the site for the SQL Server installation
according to the Technology, Security, & Network Integration Deployment
Reference Guide. See the SQL Server Requirements section inside the Third-Party
Products chapter.
2 Opening the Firewall Ports for SQL Server
The Firewall port required by the SQL Server must be open.
3 Verifying user rights assignments to SQL Services account, page 119: The SQL
Services Account must be granted with log on as a Service permission.
4 Verifying minimum software requirements, page 119: Ensure that the minimum
software requirements are met before installing SQL Server 2008/R2.
5 Calculate max memory, page 121: For local SQL Server installations on consolidated
platforms only, the CommonSB plugin automatically calculates the memory required
according to a predefined formula. Customers can override the automatic
calculation by changing the value of the registry key.
IMPORTANT Customers running SQL Server 2005 must first upgrade to SQL 2008
using the relevant V11.1 documentation.
Related information
How to open the firewall port (http://support.microsoft.com/kb/968872)
Upgrade to SQL Server 2008 (V11.1 SP1 Technology, Security, and Networking
Deployment Reference Guide)
Procedure
1 Click Start > All Programs > Administrative Tools > Local Security Policy.
2 In the Local Security Policy window, click Local Policies, and then click User Right
Assignment.
Requirements
Microsoft Windows
For operating system requirements, see the Customer Furnished Equipment Guide.
Procedure
1 Insert the SQL Server 2008 installation media into the DVD drive. Open the drive
and run the setup.exe.
2 In the SQL Server Installation Center window, click Installation, and then click
New SQL Server stand alone installation or add features to an existing
installation.
3 In the Setup Support Rules window, wait until the System Configuration Checker
runs a discovery operation on your computer and the status of all the rules is
Passed, and then click OK.
4 On the Product Key window, type the product key, and click Next.
5 In the License Terms window, click I accept the license terms, and click Next.
7 The Setup Support Rules window opens and the System Configuration Checker
verifies the system state of your computer before Setup continues.
If errors occur, fix the errors before you continue.
8 Click Next.
9 In the Feature Selection window, select these mandatory features (the feature list
may change for different SQL Server editions):
Instance Features
Database Engine Services
SQL Server Replication
Required for customers using Key Management Servers (KMS) for End-to-
End Encryption, as each KMS server contains its own copy of the SQL
database.
Reporting Services
Required on servers hosting the Reporting server role only. That includes,
consolidated servers and deployments where the SQL Server and Reporting
roles are hosted together.
Shared Features
Client Tools Connectivity
Integration Services
Management Tools - Basic
Management Tools - Complete
The remaining features are optional.
If required, modify the Shared Features directory, and click Next.
Named Instance: you can set a named instance (such as Impact360) in place
of the default name, or when there are multiple instances on the same
computer. Use Microsoft's guidelines when naming the instance, and ensure
that:
- Must begin with a letter
- Must not include more than 16 characters
Setting a named instance automatically adds the instance name to
SQLServerAgent (computer name) and to MSSQL Service as follows:
- SQLServerAgent: SQLAgent$<instance name>
- MSSQL Service: MSSQL$<instance name>
Instance Root Directory: It is preferable to use the default path; modify it if
desired.
11 Click Next.
12 The Disk Space Requirements window calculates the required disk space for the
features that you specify. Then it compares the required space to the available disk
space. Click Next.
13 In the Server Configuration window, in the Services Accounts tab, type the
Account Name and Password for each service, and configure the settings for
each service.
SQL Services Account Requirements: The requirements for the SQL services
account are listed in the Technology, Security, & Network Integration
Deployment Reference Guide.
SQL Services settings: The table below lists the settings required for each
service.
SQL Server Automatic The SQL Server Agent is a member of the SQL
Agent sysadmin fixed server role, as described in Microsoft
Article ID: 143504.
Set folders with Share Permissions on the servers
hosting the Application and Contact Databases:
Set read/write folder permissions:
ApplicationDataMigration
ContactDataMigration
Tools\Binn directory located in
%ProgramFiles%\Microsoft SQL Server (exact path
is dependent on SQL Server version)
Set Read permissions for these folders:
CommonDBShare
IMPORTANT The above figure displays an example collation. For the specific collation
required, refer to the instructions in this step. For details about collation
requirements, see the SQL Collation Requirements in the Technology,
Security, & Network Integration Deployment Reference Guide.
15 Click OK.
b. Under Specify SQL Server administrator, click Add and select the Database
Management Service Account.
18 Click the Data Directories tab to modify the default path of the database files.
If the SQL Server has been installed locally, there is no need to modify any fields on
this tab. Proceed to the next step.
If the SQL Server has been installed remotely, modify the Temp DB directory and
Temp DB log directory fields according to the requirements specified in the
19 The FILESTREAM tab enables FILESTREAM for transact-SQL access. Do not change
the default settings. Click Next.
20 On the Error and Usage Reporting window, clear any of the options, so that no
information is sent to Microsoft.
When the SQL Server installation completes, a setup status report is displayed in
this window. Additional details can be found in the logs in MSSQL/LOG directory.
21 Click Next.
22 In the Installation Rules window, to display all the installed parts, click Show
details.
23 Click Next.
24 In the Ready to Install window, click Next.
25 In the Installation Progress window, when the installation completes, click Next.
Post-installation procedures
After installing SQL Server 2008/R2, perform post-installation procedures:
Workflow
1 Modify the SQL Server port (mandatory), page 134
2 Keep Model DB size at 128 MB or lower, page 136
3 Grant Database Administrator permissions, page 137
4 Installing the latest SQL Server 2008/R2 service pack, page 140
5 Install the latest SQL Server 2008/R2 hotfix, page 145
6 Resolve out of memory error, page 149
7 Disable CEIP, page 149
8 Configure the SQL Server 2008/R2 online help, page 150
9 Install SQL Server 2005 backward compatibility components, page 152
10 Add SQL Server trace flags, page 155
11 Enable Optimize for Ad Hoc Workloads option, page 157
12 Enable remote access, page 158
13 SQL Server 2008/R2 local and remote SQL configurations, page 159
Procedure
1 Click Start > Programs > Microsoft SQL Server 2008 > Configuration Tools >
SQL Server Configuration Manager.
2 Expand the SQL Server Network Configuration and select Protocols for
Impact360.
3 Verify that Shared Memory and TCP/IP protocols are enabled.
NOTE For TCP/IP Sockets, data transmissions are more streamlined and have
less overhead. Data transmissions can also take advantage of TCP/IP
Sockets performance enhancement mechanisms, such as windowing and
delayed acknowledgements, which can be beneficial in a slow network.
Depending on the type of applications, such performance differences can
be significant.
TCP/IP Sockets also support a backlog queue, which can provide a limited
smoothing effect compared to named pipes, which may lead to pipe busy
errors when you are attempting to connect to SQL Server.
4 Double-click TCP/IP.
6 Under IP All, modify the TCP port according to your preference. By default, set the
port to 1433 unless for security reasons you need to set a different port. You must
verify that the port you set is not used by other services.
7 Clear the TCP Dynamic Ports.
8 Click OK.
9 Restart all SQL services.
if the Model DB size is greater than 128MB. If you require a larger DB model, please
contact Technical Support for assistance.
Procedure
1 For Windows 2012, from the Start desktop, click SQL Server Management
Studio.
2 In the Connect to Server window, do the following:
a. In the Server type list, select Database Engine.
b. In the Server name list, select the SQL server name.
c. In the Authentication list, select Windows Authentication. Mixed mode is
also supported.
3 Below Object Explorer, expand Security > Logins.
4 Below Logins, verify that the Management Service Account and/or the
Database Management Service Account exists in the list, and do one of the
following:
If the required Service Account exists, continue from Step 6.
If the required Service Account does not exist, continue with Step 5.
5 Do the following:
b. In the Login name field, type the name of the Management Service Account or
the Database Management Service Account, or click Search and select the
account.
c. Click OK.
The Management Service Account or the Database Management Service
Account is added to the Logins list.
6 Double-click the Service Account you added.
7 In the Login Properties window, verify that the Default language is set to
English.
8 From the list of Select a page options on the left, click Server Roles.
9 Do one of the following:
For a Management Service Account, continue from Step 10.
On the Server Roles page, select the sysadmin server role.
12 Click OK.
Procedure
1 Download the latest service pack and hotfixes for SQL Server 2008/R2, as specified
in the Customer Furnished Equipment (CFE) Guide, or in the Microsoft Update
Bulletin Support Cumulative Update Bulletin, which is updated and released on a
monthly basis.
Procedure
1 Double-click the downloaded file and extract it to the local machine.
2 Run the setup file.
4 In the License Agreement window, click the I accept the license terms option,
and click Next.
5 On the Select Features window, without changing the default settings, click Next.
Procedure
1 Browse to the latest service pack and hotfixes for SQL Server 2008/R2 found in:
http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/
Default.aspx
2 Click the relevant link to display the Microsoft site download page.
3 Download the relevant file. Make sure to select a platform with x64 suffix.
4 Run the downloaded file.
Procedure
1 Double-click the downloaded file and extract it to the local machine.
2 Run the setup file.
3 In the Welcome window, click Next.
4 In the License Terms window, select the I accept the license terms option, and
then click Next.
5 In the Select Features window, without changing the defaults, click Next.
9 In the Complete window, click Close, and then restart the machine.
Related information
http://support.microsoft.com/kb/2667742
Disable CEIP
Customer Experience Improvement Program (CEIP) collects information about how our
customers use Microsoft programs and about some of the problems they encounter.
Microsoft uses this information to improve the products and features customers use
most often and to help solve problems.
The system requires that you disable the CEIP feature.
Procedure
1 From the notification area, at the rightmost of the taskbar, select the Customer
Feedback icon.
2 In the Microsoft SQL Server Customer Feedback Options window, click the No. I
don't wish to participate option, and then click OK.
Procedure
1 Click Start > All Programs > Microsoft SQL Server 2008 > Microsoft SQL
Management Studio.
2 In the Connect to Server window,
a. In the Server type list, select Database Engine.
b. In the Server name list, select the SQL Server name.
c. In the Authentication list, select Windows Authentication. Mixed mode is
also supported.
3 From the Tools menu, select Options.
4 Select Help > Online.
5 Select the Try Local only, not online option.
6 Click OK.
Procedure
1 Browse to the following link to display the Microsoft site download page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-
4479-9b91-9e8b9d835cdc&displaylang=en
2 Download the SQLServer2005_BC_x64.msi file.
IMPORTANT Always download the file with _x64 in the file name.
The file is for 64-bit systems.
Procedure
1 Double-click the SQLServer2005_BC_x64.msi file.
2 In the Welcome window, click Next.
3 In the License Agreement window, click the I accept the terms in the license
agreement option, and click Next.
4 In the Registration Information window, type the Name and Company, and
click Next.
5 On the Feature Selection window, without changing the default settings, click
Next
Procedure
1 Click Start > All Programs > Microsoft SQL Server 2008 > Configuration
Tools > SQL Server Configuration Manager
2 Select SQL Server Services.
3 On the right side, right-click the SQL Server service, and click Properties.
4 In the Advanced tab on the SQL Server Properties window, double-click the Startup
Parameters property.
At the end of the existing row of Startup parameters, enter a semi-colon (;)
followed by the new flags: -T1118;-T1117; -T2371
5 After entering the new flags, press Enter to close the parameters panel, review the
panel for confirmation of your changes, then press Apply.
6 A Warning dialog informs you that changes will be saved but will not take effect until
after the service is restarted. Press Ok to close the service Properties window.
7 Restart the SQL Server service.
NOTE This procedure is only relevant for SQL Server 2008 and higher.
Procedure
1 Open the SQL Server Management Studio.
2 Click New Query.
3 Paste the following TSQL code into the new query window, and click Execute.
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'optimize for ad hoc workloads', 1
go
reconfigure
go
Result:
Absence of an error message indicates success. In the query results pane a
message similar to this is displayed:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
NOTE This procedure is only relevant for SQL Server 2008 and higher.
Procedure
1 Open the SQL Server Management Studio.
2 Click New Query.
3 Paste the following TSQL code into the new query window, and click Execute.
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'remote access', 1
go
reconfigure
go
Result:
Absence of an error message indicates success. In the query results pane a
message similar to this is displayed:
Configuration option 'show advanced options' changed from 0 to 1. Run
the RECONFIGURE statement to install.
Configuration option 'optimize for ad hoc workloads' changed from 0 to
1. Run the RECONFIGURE statement to install.
NOTE: The clr enabled parameter must be enabled for Local SQL servers to enable the database
capability of logging information to log files for audit and debugging purposes.
NOTE The system does not use the SQL Server Browser, so this service can be
set according to individual company policies.
NOTE This configuration is only relevant when multiple SQL Server instances are
running on the remote SQL Server.
If only one SQL Server instance is running on the remote SQL Server or if
using a local SQL Server, this attribute should not be modified.
Related information
Microsoft Download Center
CLR enabled off (if not used) on - for local SQL Servers
(Used for logging) off - for remote SQL
Servers
Service accounts Run SQL Server services Run SQL Server services
with dedicated account with dedicated account
Choose static ports for Assign static ports to Assign static ports to
named instances named instances named instances
Surface and feature Run services and features Run services and features
reduction needed in your needed in your
(SQL browser service is environment only environment only
not needed. The system
work with address and
port, and not with SQL
instance name)
SQL Server Reporting Service (SSRS) is required in both new and upgraded systems to
support reporting in Customer Feedback, Workforce Management (WFM), Scorecards,
eLearning and Coaching. It also supports Interactions and Analytics reporting.
Topics
SSRS Guidelines, page 171
Install SSRS Reporting Service (Remote SQL), page 172
Add SSRS to an existing SQL Server Instance, page 178
Configure SSRS, page 181
Verify SSRS configuration post SQL upgrade, page 192
SSRS Encryption Keys Backup and Restore, page 193
Chapter 6 - Install and Configure SSRS SSRS Guidelines
SSRS Guidelines
SSRS installation and configuration is performed by the customer in all new and
upgraded systems to support reporting in Customer Feedback, Workforce Management
(WFM), Scorecards, eLearning, Coaching, Interactions, and Analytics.
L1 Consolidated
L2 Data Center
L6 Reporting Platform
SSRS Validations
SSRS readiness is validated by the Server Readiness Tool.
Procedure
1 Insert the SQL Server installation media into the DVD drive. Open the drive and run
setup.exe.
2 In the SQL Server Installation Center window, click Installation, and then click
New SQL Server stand-alone installation or add features to an existing
installation.
3 In the Setup Support Rules window, once the discovery operation to check the
server configuration is complete, click Show Details.
4 Wait until the status of all the rules is Passed, and click OK.
The Disk Space Requirements window calculates the required disk space
for the features that you specify. It then compares the required space to the
available disk space. Click Next.
15 In the Server Configuration window, in the Services Accounts tab, enter the
Account Name and Password for each service.
a. SQL Services Account Requirements: Describes each service and the
required user account settings. The requirements are listed in the Technology,
Security, & Network Integration Deployment Reference Guide.
b. SQL Server Installation Requirements: If you are installing SQL Server
2012, and you are installing on the same computer that also serves as a domain
controller, the following settings are affected by the limitations involved in this
installation. The requirements are listed in the Technology, Security, & Network
Integration Deployment Reference Guide.
c. Remote SQL Server configuration recommendations: For service account
configurations for remote or cluster SQL servers.
17 In the Error Reporting window, clear the option so that no information is sent to
Microsoft, and click Next.
18 In the Installation Configuration Rules window:
a. Wait until the rule check completes, and click Show Details.
b. Wait until the status of all the rules is Passed, and click Next.
20 In the Installation Progress window, you can monitor the progress of the
installation. After installation, the Complete page shows a Succeeded status for
each feature. Click Close.
21 To finalize the configuration of Reporting Services, you should perform the steps
listed in Configure SSRS, page 181, with the only difference being that your
database settings are for a remote SQL Server, because you did not install the SQL
Server engine locally.
What to do next
Configure SSRS, page 181
Procedure
1 Double-click setup.exe for the version of SQL Server currently installed.
2 In the SQL Server Installation Center window If there are prerequisites that
need to be installed, click OK to install prerequisites, if they are required.
Otherwise, move to the next step.
3 Select Installation > New SQL Server stand-alone installation or add
features to an existing installation and wait for the SQL Server setup processes
the current operation.
4 In the Setup Support Rules window, verify there are no failures, and then click
OK.
6 In the Product Key window, enter the product key and click Next.
7 Accept the license terms and click Next.
8 In the Setup Role window, select SQL Server Feature Installation, and click
Next.
9 In the Feature Selection window, select Reporting Services - Native, and then
click Next.
10 In the Installation Rules window, the installer verifies all pre-requisites are
installed for Reporting Services. When all rules have passed, click Next.
11 In the Instance Configuration window, enter the Named instance and modify
the Instance root directory if necessary, then click Next.
What to do next
Verify the SQL service pack level, page 180
Procedure
1 Run this query in the SQL Server to reveal the current version:
run select @@VERSION
Example: query result
Microsoft SQL Server 2008 R2 (SP3) - 10.50.4305.0 (X64) Apr 3 2014 17:55:58
Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT
6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
2 To compare the SQL Server version to the SSRS version, open the SSRS
Configuration Tool, and select the server to view the Product Version.
3 If the versions are not identical, re-run the service pack to upgrade the SSRS
version.
Configure SSRS
Complete the following topics to configure SSRS:
Connect to the Report Server, page 181
Configure the Service Account, page 183
Configure the Web Service URL, page 184
Configure the Report Server database, page 185
Test the Report Manager URL, page 188
Configure SSRS E-mail Settings, page 189
Configure Database Server Name Change in SSRS, page 191
IMPORTANT SSL Configuration: To configure SSL for the SSRS server, see the
Security Configuration Guide.
Procedure
1 Click Start > All apps > Microsoft SQL Server > Configuration Tools >
Reporting Services Configuration Manager.
The Reporting Services Configuration Connection window is displayed.
3 Select the Report Server Instance. This will be the named instance you created
during the installation of SQL, or MSSQLSERVER if you used the default instance
option
4 To connect to the Report Server, click Connect.
The Reporting Services Configuration Manager window is displayed.
2 In the Service Account section of the right pane, select Use another account
and then enter the MSA user name and password. (MSA is the Management Service
Account used by services to run the suite applications in the enterprise. It has the
minimal SQL rights required during application run-time.)
3 Click Apply.
The changes are applied. In the Results portion of the right pane, you will see the
status of the changes you have applied.
2 If the Database Name value displayed is ReportServer (the case for the default
instance name), proceed to “Test the Report Manager URL” on page 188.
3 If the value displayed is blank or is not ReportServer, such as
ReportServer$<name_of_SQL_instance>, complete the following:
b. Select Create a new report server database, and then click Next.
The Database Server settings display in the right pane.
c. Verify that the Server Name field contains the SQL Server instance you will
create or on which an existing report database is located.
d. Verify that Authentication Type is set to Current User-Integrated Security,
and then click Test Connection.
The database connection is tested.
If the connection succeeds, a dialog box will indicate a successful connection.
Click OK to close the dialog box.
If the connection fails, you must diagnose the connection issue and retry the
connection test.
f. Click Next.
In the right pane, the Credentials settings are displayed. Do not change any
settings on this window.
g. Click Next.
In the right pane, the wizard summary is displayed.
h. Click Next. The database configuration launches, and the status is displayed in
the right pane.
The SQL Server Reporting Services Home page opens as shown in the following
example:
NOTE If SQL Server Reporting Services Home page does not open or does
not look like the example, check the SSRS configuration values and try
again.
Procedure
1 Verify that the Report Server Windows service has Send As permissions on the
SMTP server.
2 Start the Reporting Services Configuration Manager and connect to the report
server instance.
3 On the Email Settings page, enter the name of the SMTP server. This value can be
an IP address, a UNC name of a computer on your corporate intranet, or a fully
qualified domain name.
4 In Sender Address, enter the name an account that has permission to send e-mail
from the SMTP server.
5 Click Apply.
Procedure
1 Launch Reporting Services Configuration Manager.
2 Connect to the server and instance.
3 Select the Database side menu option.
4 Click Change Database.
5 Select Choose an existing report server database option.
6 Click Next.
7 Provide updated connection details, which should just be the new name of the
server in place of the old name.
8 Click Test Connection to confirm settings. Be sure to use an account that is local
administrator on the server (required to launch the SSRS configuration manager),
and that has SQL privileges.
9 Click Next.
10 Select the report server database. It should be ReportServer, or
ReportServer$<Instance Name> if you are using a named instance (for
example, ReportServer$MYINSTANCE).
11 Click Next.
12 Confirm the credentials.
13 Click Next.
14 Review the summary of changes and click Next.
15 Verify that the configuration progress completes without errors.
16 Click Finish.
Procedure
1 Identify the SQL Server Instance ID of the upgraded instance.
a. Launch the Reporting Services Configuration Manager.
b. Connect to the Report Server Instance.
c. In the Report Server Status screen copy the Instance ID.
2 Navigate to %IMPACT360SOFTWAREDIR%\SSRS\Util using a command line.
3 Run the following command:
ReportingServicesUtils.Shell.exe /ssrspostupgrade
ssrsinstancename:<instance id> version:<version>
4 Verify the outcome of the instance ID and versions:
Instance ID is the current, post-upgrade version of SQL Server.
Version is one of currently supported options: "2008R2", or "2012", or “2014”.
Related information
Back up SSRS Encryption Keys (Workforce Optimization Maintenance Guide)
Restore SSRS Encryption Keys (Workforce Optimization Maintenance Guide)
Topics
Database Management Account (DMSA), page 195
DMSA preparation workflow scenarios, page 196
Assign DB permissions automatically, page 197
Assign DB permissions manually, page 200
SQL Permissions for Service Accounts, page 209
Post-system configuration tasks, page 214
Chapter 7 - Set Database Management Permissions Database Management Account (DMSA)
DMSA workflows
Site preparation
1. Define DMSA and MSA accounts
2. Meet Windows user rights requirement
3. Prepare and install SQL Server(s)
4. Define DMSA/MSA as SQL Logins
5. Grant DMSA SysAdmin rights (revoke later)
Related information
Prepare DMSA (or MSA) for Database Management (Technology, Security, & Network
Integration Deployment Reference Guide)
Procedure
1 On the SQL Server, run Start > Windows PowerShell.
2 In the Administrator: Windows PowerShell console, run the Get-
ExecutionPolicy command.
If the result is:
Unrestricted: Servers with Unrestricted, RemoteSigned, or AllSigned
PowerShell functionality can run the PowerShell setup file (Setup_signed.ps1).
Restricted: There are two options for servers restricted for PowerShell
functionality:
Use the batch setup file (Setup.bat) to bypass the restriction for a single
execution of the tool, or
Enable the machine for unrestricted functionality and then use the
PowerShell setup file, as follows:
i. In the console run the Set-ExecutionPolicy AllSigned command.
ii. Enter Y to confirm the change.
iii. Use the Setup_signed.ps1 when running the tool.
Procedure
1 From the Database Permissions Configuration Tool folder run the relevant
setup file.
2 If prompted, confirm that you trust the publisher, enter [A] Always run or [R] run
once.
3 Enter the SQL Server Details:
SQL Server Name: The host name or IP address of the SQL Server.
Port: The SQL Server listening port. The default port is 1433.
4 Enter the SQL Server Login Details:
Parameter Description
NOTE It is mandatory for all SQL Server jobs to use the predefined names for
the credential and proxy that are created during this procedure:
I360DBCredential and I360DBProxy.
Procedure
1 Verify user credentials, page 200
2 Set account permissions, page 200
3 Create or modify SQL credential object, page 201
4 Assign MSDB permissions, page 202
5 Assign I360 databases permission, page 204 (for workflow 2/blue only)
6 Create a new proxy, page 206
7 Modify database user name, page 207 (for workflow 3/green only)
Related information
DMSA site preparation (Technology, Security, & Network Integration Deployment
Reference Guide)
Identity <DOMAIN\USER>
If you selected not to use the DMSA option, then enter the
Management Service Account details when prompted for
Domain and User in order to create the credential for the
Management Service account.
Password <PASSWORD>
TIP You can also use the TSQL Command to create the required credential:
CREATE CREDENTIAL [I360DBCredential] WITH IDENTITY =
N'<DOMAIN\USER>', SECRET = N'<PASSWORD>'
Procedure
Execute the command for each I360 ALTER USER [I360DBUser] WITH NAME
database = [I360DBUser], LOGIN =
[<DOMAIN>\<USER>]
Execute the command for each I360 ALTER USER [I360AppUser] WITH
database NAME = [I360AppUser], LOGIN =
[<DOMAIN>\<USER>]
"VIEW SERVER STATE" GRANT VIEW SERVER View DMVs, query server
permission STATE TO state etc
[<DOMAIN\USER>]
“ALTER ANY LINKED GRANT ALTER ANY Create or change SQL
SERVER” permission LINKED SERVER TO linked servers.
[<DOMAIN\USER>]
Execute permission on GRANT EXECUTE ON Retrieve information about
"xp_msver [xp_msver] TO SQL Server instance
[<DOMAIN\USER>]
Execute permission on GRANT EXECUTE ON Retrieve current status of
"xp_sqlagent_enum_jo [xp_sqlagent_enum_jo SQL Agent jobs
bs bs] TO
[<DOMAIN\USER>]
Execute permission on GRANT EXECUTE ON Enumerates all OLE DB
"xp_enum_oledb_provi [xp_enum_oledb_provi providers installed on a
ders ders] TO SQL Server so the correct
[<DOMAIN\USER>] value will be populated
during EM distribution
Related information
Change the MSA/DMSA account credentials (green step-by-step) (Enterprise Manager
Configuration and Administration Guide)