Database Installation Guide
Database Installation Guide
MANHATTAN SCALE™
DATABASE INSTALLATION GUIDE
0
DATABASE INSTALLATION GUIDE
Copyright and Disclaimer
Copyright © 2023 Manhattan Associates, Inc. All rights reserved.
This documentation, as well as the software described in it, is furnished under license and may be used or copied
only in accordance with the terms of such license. The information in this documentation is furnished for informational
use only, is subject to change without notice, and should not be construed as a commitment by Manhattan
Associates, Inc. (“Manhattan”). No third-party patent liability is assumed with respect to the use of the information
contained herein. While every precaution has been taken in the preparation of this documentation, Manhattan
assumes no responsibility for errors or omissions.
EXCEPT WHERE EXPRESSLY PROVIDED OTHERWISE, ALL CONTENT, MATERIALS AND INFORMATION,
ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. MANHATTAN EXPRESSLY DISCLAIMS ALL
WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-
INFRINGEMENT.
Except as permitted by license, no part of this documentation may be reproduced, stored in a retrieval system, or
transmitted, in any form by any means, electronic, mechanical, recording, or otherwise, without the prior written
permission of Manhattan Associates.
All other brands, products, or services are trademarks, registered trademarks, or service marks of their respective
companies or organizations.
Contact Address:
http://www.manh.com/
Unsure whom to contact? Call +1 404.965.4025 and you will be routed to the appropriate support group.
Confidentiality
This material is protected by the Copyright Act of 1976, as amended, as an unpublished work and the
foregoing notice and legend shall not be deemed to constitute publication or an intent to publish there
under. These materials are proprietary and confidential information of Manhattan Associates, Inc., and
may not be disclosed and used only as authorized in the License Agreement and Confidentiality
Agreement controlling such disclosure and use.
Manhattan Associates, Inc. reserves the right, at any time and without notice, to change these materials
or any of the functions, features or specifications of any of the software described herein. Manhattan
Associates shall have no warranty obligation with respect to these materials or the software described
herein, except as provided in Manhattan Associates’ software license agreement with an authorized
licensee.
Manhattan Associates and Manhattan Associates SCALE are trademarks of Manhattan Associates, Inc.
All other company and product names may be trademarks of their respective owners. The information
contained herein is subject to change without notice.
Microsoft SQL Server 2022/2019 Reporting Services Installation & Configuration ........... 63
Pre-Installation Steps ......................................................................................................................... 63
Service Account ...................................................................................................................................... 63
Installation Steps ................................................................................................................................ 63
Post-Installation Steps ....................................................................................................................... 63
Installation Prerequisites
• Install SQL Server. Refer SQL Server installation section for more information.
• To install the database using the database installer, you must log in to the database server using
a Windows account with sysadmin rights. Since the installer uses this account to connect to the
database server to create the database, the system needs this permission setting to install the
database correctly.
1
DATABASE INSTALLATION GUIDE
delete from ENVIRONMENT
2
DATABASE INSTALLATION GUIDE
Note: The installer only validates the existence of any DB server instance. If there are multiple
instances for the DB server, the user must furnish the DB instance by providing the connection
string input details.
Service Accounts
Microsoft recommends you maintain separate accounts for each SQL Server service to comply with the
least privilege principals.
3
DATABASE INSTALLATION GUIDE
To create the service accounts,
Figure 2
Figure 3
4
DATABASE INSTALLATION GUIDE
Figure 4
5
DATABASE INSTALLATION GUIDE
• SQL Server Agent service
Microsoft SQL Server will grant any special privileges necessary for the users to execute the
services. The passwords are set to never expire since these are services. If desired, passwords
can be changed at regular intervals, but it should be done manually. Enabling password
expiration on the accounts may cause SQL Server to stop running if the password expires before
being changed.
You should use strong passwords for the services as per Microsoft’s guidelines which
recommends refraining from using the following passwords:
A strong password cannot be the following terms associated with the installation
computer:
A strong password must be at least 6 characters in length and satisfy at least three of
the following four criteria:
6
DATABASE INSTALLATION GUIDE
Installation Steps
1. Run the setup file for SQL Server. Once it was started, you will see a dialog box as below.
Figure 5
2. Once you run setup.exe, you will find the SQL Server Installation Center with all the installation
options as shown.
7
DATABASE INSTALLATION GUIDE
Figure 6
3. Click on Installation on the left menu. You will get five options. For installing a
new instance click on the first option New SQL Server stand-alone Installation or add features
to an existing installation.
Figure 8
8
DATABASE INSTALLATION GUIDE
4. Enter the Product key (License key of the SQL Server) and Click Next.
Select I have a SQL Service license with Software Assurance or SQL Software Subscription.
5. Read the license terms and check the box to accept the license terms. Click Next to move to the
next screen.
Figure 9
9
DATABASE INSTALLATION GUIDE
Figure 10
10. Verify the Instance root directory is correct. This identifies where the databases will be installed
on the server. It defaults to the C drive and almost all SCALE configurations have a different
location recommended. This should be the drive that was specified in your hardware sizing quote
from Manhattan Associates. Click Next to continue after entering the correct instance root
directory.
10
DATABASE INSTALLATION GUIDE
11. Enter the appropriate user information on the server configuration screen. This is where you
would enter the users you created in the pre-installation steps. This can also be added after the
installation by running the services section.
Click the Collation tab after entering the user information.
Figure 11
11
DATABASE INSTALLATION GUIDE
13. Select the Latin1_General collation from the drop down and check the Accent-sensitive
checkbox. Click OK to continue.
Figure 13
12
DATABASE INSTALLATION GUIDE
Figure 14
13
DATABASE INSTALLATION GUIDE
15. Set the Authentication mode to Mixed Mode. It will allow you to connect to SQL Server via Windows
Authentication or SQL Authentication. Add the administrative users on this screen. Provide a
confirmed password for the sa user. This password should follow the strong password guidelines
mentioned previously.
Figure 15
14
DATABASE INSTALLATION GUIDE
16. Select the Data Directories tab and TempDB tab and enter the correct paths. Please refer to the
SCALE hardware sizing document generated during the sales cycle for proper locations. Most
SCALE installs have dedicated drives for logs that are different than the data directory. Click Next
to continue.
Figure 16
15
DATABASE INSTALLATION GUIDE
Figure 17
16
DATABASE INSTALLATION GUIDE
17
DATABASE INSTALLATION GUIDE
18. The default recommendation can be used for the memory configuration.
Figure 19
18
DATABASE INSTALLATION GUIDE
19. Use the default configuration for FILESTREAM. It should not be enabled. Click Next.
Figure 20
19
DATABASE INSTALLATION GUIDE
20. The setup will run all the configuration rules and list out all the operations completed.
20
DATABASE INSTALLATION GUIDE
Figure 21
21. SQL Server is ready for install now. Verify all the SQL Server features to be installed. Once
verified, click on Install.
22. After SQL Server is successfully installed, click Close to complete the installation and exit the
installation process.
21
DATABASE INSTALLATION GUIDE
1. In the SQL Server Installation Center select Install SQL Server Reporting Services under
Installation pane on the left side.
Figure 22
22
DATABASE INSTALLATION GUIDE
2. This will take you the Microsoft page to download the SQL Server Reporting Services. Click on
the Download button to download.
Figure 24
23
DATABASE INSTALLATION GUIDE
5. Enter the Product key (License key of the SQL Server) and Click Next.
6. Chose the edition to install and Click Next.
7. Read the license terms and check the box to accept the license terms. Click Next to move to the
next screen.
Figure 27
24
DATABASE INSTALLATION GUIDE
Figure 28
25
DATABASE INSTALLATION GUIDE
Figure 29
26
DATABASE INSTALLATION GUIDE
Figure 30
27
DATABASE INSTALLATION GUIDE
Post-Installation Instructions
After installing SQL Server 2019, additional steps are necessary to ensure optimal performance regarding
SCALE. Refer to the Microsoft SQL Server Post Installation Instructions section to complete the
configuration.
28
DATABASE INSTALLATION GUIDE
Installation Steps
1. Run the setup file for SQL Server. Once it was started, you will see a dialog box as below.
Figure 5
2. Once you run setup.exe, you will find the SQL Server Installation Center with all the installation
options as shown.
Figure 6
29
DATABASE INSTALLATION GUIDE
3. Click on Installation on the left menu. You will get five options. For installing a new instance click
on the first option New SQL Server stand-alone Installation or add features to an existing
installation.
Figure 7
4. Enter the Product key (License key of the SQL Server) and Click Next.
Figure 8
30
DATABASE INSTALLATION GUIDE
5. Read the license terms and check the box to accept the license terms. Click Next to move to the
next screen.
Figure 9
31
DATABASE INSTALLATION GUIDE
32
DATABASE INSTALLATION GUIDE
Figure 10
10. Verify the Instance root directory is correct. This identifies where the databases will be installed
on the server. It defaults to the C drive and almost all SCALE configurations have a different
location recommended. This should be the drive that was specified in your hardware sizing quote
from Manhattan Associates. Click Next to continue after entering the correct instance root
directory.
33
DATABASE INSTALLATION GUIDE
11. Enter the appropriate user information on the server configuration screen. This is where you
would enter the users you created in the pre-installation steps. Click the Collation tab after
entering the user information.
Figure 11
34
DATABASE INSTALLATION GUIDE
Figure 12
13. Select the Latin1_General collation from the drop down and check the Accent-sensitive
checkbox. Click OK to continue.
35
DATABASE INSTALLATION GUIDE
Figure 13
Figure 14
15. Set the Authentication mode to Mixed Mode. It will allow you to connect to SQL Server via
Windows Authentication or SQL Authentication. Add the administrative users on this screen.
36
DATABASE INSTALLATION GUIDE
Provide a confirmed password for the sa user. This password should follow the strong password
guidelines mentioned previously.
Figure 15
16. Select the Data Directories tab and TempDB tab and enter the correct paths. Please refer to the
SCALE hardware sizing document generated during the sales cycle for proper locations. Most
SCALE installs have dedicated drives for logs that are different than the data directory. Click Next
to continue.
37
DATABASE INSTALLATION GUIDE
Figure 16
Figure 17
38
DATABASE INSTALLATION GUIDE
Figure 18
39
DATABASE INSTALLATION GUIDE
18. The default recommendation can be used for the memory configuration.
Figure 19
40
DATABASE INSTALLATION GUIDE
19. Use the default configuration for FILESTREAM. It should not be enabled. Click Next.
Figure 20
41
DATABASE INSTALLATION GUIDE
20. The setup will run all the configuration rules and list out all the operations completed.
42
DATABASE INSTALLATION GUIDE
Figure 21
21. SQL Server is ready for install now. Verify all the SQL Server features to be installed. Once
verified, click on Install.
22. After SQL Server is successfully installed, click Close to complete the installation and exit the
installation process.
43
DATABASE INSTALLATION GUIDE
Install SQL Server 2019 Reporting Services
SQL Server Reporting Services is now a separate installation. Follow the steps below to install the
Reporting Services.
1. In the SQL Server Installation Center select Install SQL Server Reporting Services under
Installation pane on the left side.
Figure 22
2. This will take you the Microsoft page to download the SQL Server Reporting Services. Click on
the Download button to download.
Figure 23
44
DATABASE INSTALLATION GUIDE
Figure 24
45
DATABASE INSTALLATION GUIDE
Figure 25
46
DATABASE INSTALLATION GUIDE
5. Provide the Product key (License key of the SQL Server) and Click Next.
6. Chose the edition to install and Click Next.
Figure 26
47
DATABASE INSTALLATION GUIDE
7. Read the license terms and check the box to accept the license terms. Click Next to move to the
next screen.
Figure 27
48
DATABASE INSTALLATION GUIDE
Figure 28
49
DATABASE INSTALLATION GUIDE
Figure 29
50
DATABASE INSTALLATION GUIDE
Figure 30
51
DATABASE INSTALLATION GUIDE
Figure 31
52
DATABASE INSTALLATION GUIDE
Post-Installation Instructions
After installing SQL Server 2019, additional steps are necessary to ensure optimal performance regarding
SCALE. Refer to the Microsoft SQL Server Post Installation Instructions section to complete the
configuration.
53
DATABASE INSTALLATION GUIDE
54
DATABASE INSTALLATION GUIDE
1. In the SQL Server Installation Center select Install SQL Server Management Tools under
Installation pane on the left side.
Figure 45
2. This will take you the Microsoft page to download the SQL Server Management Tools. Click on
the link to download.
Figure 46
55
DATABASE INSTALLATION GUIDE
Figure 47
Figure 48
56
DATABASE INSTALLATION GUIDE
Figure 49
57
DATABASE INSTALLATION GUIDE
Figure 50
58
DATABASE INSTALLATION GUIDE
59
DATABASE INSTALLATION GUIDE
Memory Configuration
Memory configuration differs depending on the operating system platform in use. Follow the respective
section based on your individual configuration.
Parallelism Settings
SQL Server can run certain operations in parallel to improve performance. This is designed to improve
the performance for one user while sacrificing performance of other users on the system. Since SCALE is
designed to be a highly concurrent system with hundreds of users simultaneously accessing data,
allowing a single user to consume large amounts of resources would impact other users in the system. As
a result, Manhattan Associates has the following recommendations for parallelism settings.
• Cost Threshold for Parallelism should be set to 60. Changing this from the default of 5 limits
parallelism to extremely resource intensive queries in the system.
• Max Degree of Parallelism should be configured between 2 and the number of physical cores
in the server (standard recommendation is half the number of CPU cores). It is not
recommended to ever exceed the number of physical processing cores in the server.
Exceeding that value impacts data in the processor caches resulting in non-optimal
performance.
60
DATABASE INSTALLATION GUIDE
File Locations
Almost all hardware sizing recommendations from Manhattan call for the database server to have two
distinct and separate RAID 1 or RAID 1+0 arrays. The reason for this is for database performance. After
the SCALE database has been installed, the storage locations of the log file and data file may need to be
moved. The log file (.ldf extension), should be placed on a RAID 1 array. The data file (.mdf extension)
should be placed on the larger of the two arrays, and this is typically a RAID 1+0 array, and in some
cases a RAID 1. The link http://support.microsoft.com/kb/224071/en-us can be used for instructions on
how to move the files to the appropriate locations. Note that the database will be off line during this
process. Also note that it is important that this step be done by a user signed on as the same account that
is running SQL Server. If a SAN is in place for data storage, log and data files should be stored on
different LUNs in the SAN (which will equal different drives as well). Additionally, data files for the
SCALE database can be split across multiple LUNs on a SAN in order to improve performance, similar to
what is outlined below for Tempdb.
• Verify the SQL Server account is listed in Local Security Policy (Control Panel | Administrative
Tools | Local Security Policy) for Perform Volume Maintenance Tasks.
Figure 51
61
DATABASE INSTALLATION GUIDE
Tempdb File Configuration
Microsoft recommends modifying tempdb to have one file per logical CPU in the system. This helps avoid
I/O bottlenecks in tempdb. Each file in tempdb should be the same size with the same auto-grow settings.
Ideally, the auto-grow feature will never be used for tempdb because it will skew the optimization. For
example, with 8 logical processors in the system, there should be 8 files assigned to the tempdb
database. A typical size per file would be 500 MB resulting in a 4 GB tempdb in this example. Tempdb
can be placed on the same drive array as the SCALE data file or on a separate drive array.
62
DATABASE INSTALLATION GUIDE
Pre-Installation Steps
Service Account
Like other SQL Server features, Reporting Services requires a service account. Refer to the Service
Accounts section when creating a user account for Reporting Services.
Installation Steps
Install SQL Server Reporting Services. See the section Microsoft SQL Server 2022 Installation or
Microsoft SQL Server 2019 Installation, which includes the steps necessary to add the Reporting
Services feature.
Post-Installation Steps
You must manually configure Reporting Services since SQL Server Reporting service was installed with
the install only option.
1. Open the Reporting Services Configuration Manager Windows Search | SQL Server [Version]
Reporting Services Configuration Manager.
2. Select the server and instance where Reporting Services is installed and press Connect.
Figure 52
63
DATABASE INSTALLATION GUIDE
Figure 53
64
DATABASE INSTALLATION GUIDE
3. Navigate to the Web Service URL group and click on Apply to accept the default configuration.
Figure 54
65
DATABASE INSTALLATION GUIDE
4. Navigate to the Web Portal URL group and click Apply to accept the default configuration.
Figure 55
66
DATABASE INSTALLATION GUIDE
5. Navigate to the Database and click Change Database in the Current Report Server Database
group box.
Figure 56
67
DATABASE INSTALLATION GUIDE
Figure 57
68
DATABASE INSTALLATION GUIDE
6. Click Next.
7. In the Database Server page, enter the connection information needed to connect to the SQL
Server database server and click Next.
Figure 58
69
DATABASE INSTALLATION GUIDE
8. Accept the default values in the Database page and click Next.
Figure 59
70
DATABASE INSTALLATION GUIDE
9. Accept the default values in the Credentials page and click Next.
Figure 60
71
DATABASE INSTALLATION GUIDE
Figure 61
72
DATABASE INSTALLATION GUIDE
Figure 62
73
DATABASE INSTALLATION GUIDE
12. After successful creation of the URL, click Exit to close the Reporting Services Configuration
Manager.
Figure 63
74
DATABASE INSTALLATION GUIDE
Figure 64
75
DATABASE INSTALLATION GUIDE
The final configuration steps for Reporting Services are discussed in the Microsoft SQL Server Reporting
Services Configuration section.
76
DATABASE INSTALLATION GUIDE
1. Open the Reporting Services Configuration Manager Windows Search | SQL Server [Version]
Reporting Services Configuration Manager.
Figure 67
77
DATABASE INSTALLATION GUIDE
Figure 68
78
DATABASE INSTALLATION GUIDE
3. Click the URL.
Figure 69
4. Use the New Folder button to create the ILS | Reporting folder structure in Report Manager.
Figure 70
79
DATABASE INSTALLATION GUIDE
Figure 71
Figure 72
Figure 73
80
DATABASE INSTALLATION GUIDE
8. Use the Upload File button to upload any reports (*.rdl files) given the following Reporting Service
folder to application directory mappings.
Figure 74
Figure 75
81
DATABASE INSTALLATION GUIDE
Note: If SCALE service account is local user account, then first create the user with same password on
SSRS server. see Database Installation Guide | Service account to setup new user.
Figure 78
Figure 79
82
DATABASE INSTALLATION GUIDE
Setting Document Credentials
For each document which you want to print, you are required to set the report server credentials,
database login and password, which is saved in an encrypted format on the report server.
Figure 80
Figure 81
Figure 82
83
DATABASE INSTALLATION GUIDE
3. Click Data Sources on left for the data source type Microsoft SQL Server select the option
Credentials stored securely in the report server, click on ‘Revert to default’ button and Apply the
settings.
Figure 83
4. Or for data source type XML select option Credentials are not required and Apply the settings.
Figure 84
84
DATABASE INSTALLATION GUIDE
Figure 85
85
DATABASE INSTALLATION GUIDE
86
DATABASE INSTALLATION GUIDE
Reporting Services was installed in the default instance, then the URL will have the form
http://dbServerName/ReportServer.
87