0% found this document useful (0 votes)
34 views

Database Installation Guide

Uploaded by

Andrea Moreno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Database Installation Guide

Uploaded by

Andrea Moreno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 93

PUSH POSSIBLETM

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.

Manhattan Associates is a registered trademark of Manhattan Associates, Inc.

All other brands, products, or services are trademarks, registered trademarks, or service marks of their respective
companies or organizations.

Contact Address:

Manhattan Associates, Inc.


2300 Windy Ridge Parkway,
Atlanta, Georgia 30339

http://www.manh.com/

Region Telephone Email

Americas +1 877.756.7435 (U.S. and Canada only) callcenter@manh.com


+1 404.965.4025

Asia (00) 800.988.0885 (China only) asiacustomersupport@manh.com


+86 21 3311 3499

Europe, Middle +44 (0) 1344 318400 (UK) emeacustomersupport@manh.com


East, and Africa +31 (0)30 214 3400 (NL)

Australia +61 1300787050 aucustomersupport2@manh.com

Unsure whom to contact? Call +1 404.965.4025 and you will be routed to the appropriate support group.

Confidentiality

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.


DATABASE INSTALLATION GUIDE
Rights to the Content of This Work

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.

Modification to the Content of This Work

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.

Trademarks and Copyrights

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.


DATABASE INSTALLATION GUIDE
Revisions
Date Description Applies to build
August 8, 2016 Removed version and added revisions table with specific build level. 14.0.0314.0
August 19, 2016 Updated to reflect SQL Server 2016 certification. 14.0.0345.0
May 3, 2018 Updated to reflect SQL Server 2017 certification. 14.0.0345.0
June 19, 2018 Updated service accounts. 14.0.0345.0
March 17,2020 Updated to reflect SQL Server 2019 certification 17.0.0831.0
May 5,2022 Updated with new installer 22.0.1500.0
March 6, 2023 Updated to reflect SQL Server 2022 certification. 23.0.1279.0
Removed 2017 SQL Server related content

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.


DATABASE INSTALLATION GUIDE
Table of Contents
Revisions ..................................................................................................................................... 3
Installation Prerequisites ........................................................................................................... 1
Install SCALE database ....................................................................................................................... 1
Upgrading from the release greater or equal to 2021[ production] ........................................................... 1
Upgrading from the release greater or equal to 2021[ Staging/QA] .......................................................... 1
Upgrading from the release older than 2021 [ production] ........................................................................ 1
Upgrading from the release older than 2021[ Staging/QA] ....................................................................... 1
New customer – restore baseline ............................................................................................................. 2
Service Accounts ................................................................................................................................. 3

Microsoft SQL Server 2022 Installation .................................................................................... 7


Pre-Installation Steps ........................................................................................................................... 7
Service Accounts ...................................................................................................................................... 7
Installation Steps .................................................................................................................................. 7
Install SQL Server 2022 Reporting Services ..................................................................................... 22
Post-Installation Instructions .............................................................................................................. 28
Install SQL Server Management Tools .............................................................................................. 28

Microsoft SQL Server 2019 Installation .................................................................................. 29


Pre-Installation Steps ......................................................................................................................... 29
Service Accounts .................................................................................................................................... 29
Installation Steps ................................................................................................................................ 29
Install SQL Server 2019 Reporting Services ..................................................................................... 44
Post-Installation Instructions .............................................................................................................. 53
Install SQL Server Management Tools .............................................................................................. 53

Install SQL Server Management Tools ................................................................................... 55


Microsoft SQL Server Post-Installation Instructions ............................................................. 60
Memory Configuration ........................................................................................................................ 60
X64 (64-bit) Platform............................................................................................................................... 60
Parallelism Settings ................................................................................................................................ 60
File Locations ......................................................................................................................................... 61
Instant File Initialization .......................................................................................................................... 61
Tempdb File Configuration ..................................................................................................................... 62

Microsoft SQL Server 2022/2019 Reporting Services Installation & Configuration ........... 63
Pre-Installation Steps ......................................................................................................................... 63
Service Account ...................................................................................................................................... 63
Installation Steps ................................................................................................................................ 63
Post-Installation Steps ....................................................................................................................... 63

Microsoft SQL Server Reporting Services Configuration ..................................................... 77


Uploading Reporting Services Reports .............................................................................................. 77
Reporting Services Role Assignments .............................................................................................. 82
Setting Document Credentials ........................................................................................................... 83
Set the Execution Account ...................................................................................................................... 85
Azalea Barcode Software ....................................................................................................................... 86

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.


DATABASE INSTALLATION GUIDE
Configuring the Application to Use Reporting Services ..................................................................... 86

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.


DATABASE INSTALLATION GUIDE

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.

Install SCALE database


Upgrading from the release greater or equal to 2021[
production]
1. If upgrading the live production environment, use the 2021 database connection string while
installing SCALE.- This will upgrade the sys database and all environments to the current release.

Upgrading from the release greater or equal to 2021[


Staging/QA]
1. Restore all 2021 databases, including sys, and all environments with the new database name.
2. After restoring the Sys database, delete all your environments

delete from ENVIRONMENT_USER_XREF

delete from ENVIRONMENT

3. Install SCALE with a new connection string.


4. Add your environment and user back with a new connection string.

Upgrading from the release older than 2021 [ production]


1. Install SCALE with an existing connection string.
2. Run database upgrade utility. See section Database Upgrade for an older release in Upgrade
Installation Guide.

Upgrading from the release older than 2021[ Staging/QA]


1. Restore all 2021 databases, including sys, and all environments with the new database name.
2. After restoring the Sys database, delete all your environments

delete from ENVIRONMENT_USER_XREF

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

1
DATABASE INSTALLATION GUIDE
delete from ENVIRONMENT

3. Install SCALE with a new connection string.


4. Add environment and user back with a new connection string.
5. Run database upgrade utility. See section Database Upgrade for an older release in Upgrade
Installation Guide.

New customer – restore baseline


1. Log in to the database using a Windows account with sysadmin rights on SQL Server.
2. Unzip SCALE Database installer on SQL Server.
3. Open PowerShell as admin with current working directory as SCALE database installer folder.

4. Run .\install.ps1 script.


a. Enter new database name upon prompt.
b. Enter new database SCALE user upon prompt.
c. Enter new database SCALE user password upon prompt.
d. After installation PowerShell window will return connection strings. Use this connection
while installing SCALE.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

3
DATABASE INSTALLATION GUIDE
To create the service accounts,

• Navigate to Computer Management. Administrative Tools >> Computer Management.


• Expand the Local Users and Groups section and select the Users folder.

Figure 2

1. Under the Action menu, select New User.

Figure 3

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

4
DATABASE INSTALLATION GUIDE

2. The new user dialog will appear.

Figure 4

Create two accounts, one per service created:

• Database Engine service

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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 blank or NULL condition


• Password
• Admin
• Administrator
• sa
• sysadmin

A strong password cannot be the following terms associated with the installation
computer:

• The name of the user currently logged onto the machine.


• The machine name.

A strong password must be at least 6 characters in length and satisfy at least three of
the following four criteria:

• It must have uppercase letters.


• It must contain lowercase letters.
• It must have numbers.
• It must contain non-alphanumeric characters; for example, #, %, or ^.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

6
DATABASE INSTALLATION GUIDE

Microsoft SQL Server 2022 Installation


Pre-Installation Steps
Service Accounts
Refer to the Service Accounts section when creating the user accounts for SQL Server 2022.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

6. The Global Rules screen will appear. Click Next.


7. The Product Update screens will appear. Click Next.
8. Click Next if prompted on the Install Setup Files and Install Rules screens.
9. In the Feature Selection screen, select the options shown below. Click Next to continue.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

11
DATABASE INSTALLATION GUIDE

12. Click on Customize to change the collation level.


Figure 12

13. Select the Latin1_General collation from the drop down and check the Accent-sensitive
checkbox. Click OK to continue.
Figure 13

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

12
DATABASE INSTALLATION GUIDE

14. Click on Next after verifying the collation level.

Figure 14

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

15
DATABASE INSTALLATION GUIDE

Figure 17

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

16
DATABASE INSTALLATION GUIDE

17. The MaxDOP should be half the logical CPU.


Figure 18

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

17
DATABASE INSTALLATION GUIDE

18. The default recommendation can be used for the memory configuration.

Figure 19

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

18
DATABASE INSTALLATION GUIDE

19. Use the default configuration for FILESTREAM. It should not be enabled. Click Next.

Figure 20

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

19
DATABASE INSTALLATION GUIDE

20. The setup will run all the configuration rules and list out all the operations completed.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

21
DATABASE INSTALLATION GUIDE

Install SQL Server 2022 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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

3. Run the setup (SQLServerReportingServices).

Figure 24

4. Click Install Reporting Services to continue.


Figure 25

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

24
DATABASE INSTALLATION GUIDE

8. Click on Next to continue.


9. Specify an Install Location in the server and Click Next.

Figure 28

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

25
DATABASE INSTALLATION GUIDE

Figure 29

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

26
DATABASE INSTALLATION GUIDE

Figure 30

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

27
DATABASE INSTALLATION GUIDE

10. Set up will complete. Restart to complete the setup.

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.

Install SQL Server Management Tools


Refer to the Install SQL Server Management Tools section.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

28
DATABASE INSTALLATION GUIDE

Microsoft SQL Server 2019 Installation


Pre-Installation Steps
Service Accounts
Refer to the Service Accounts section when creating the user accounts for SQL Server 2019.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

31
DATABASE INSTALLATION GUIDE

6. The Global Rules screen will appear. Click Next.


7. The Product Update screens will appear. Click Next.
8. Click Next if prompted on the Install Setup Files and Install Rules screens.
9. Select the options shown below. Click Next to continue.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

12. Click on Customize to change the collation level.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

35
DATABASE INSTALLATION GUIDE
Figure 13

14. Click on Next after verifying the collation level.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

37
DATABASE INSTALLATION GUIDE
Figure 16

Figure 17

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

38
DATABASE INSTALLATION GUIDE

17. The MaxDOP should be half the logical CPU.

Figure 18

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

39
DATABASE INSTALLATION GUIDE

18. The default recommendation can be used for the memory configuration.

Figure 19

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

40
DATABASE INSTALLATION GUIDE

19. Use the default configuration for FILESTREAM. It should not be enabled. Click Next.

Figure 20

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

41
DATABASE INSTALLATION GUIDE

20. The setup will run all the configuration rules and list out all the operations completed.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

44
DATABASE INSTALLATION GUIDE

3. Run the setup (SQLServerReportingServices).

Figure 24

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

45
DATABASE INSTALLATION GUIDE

4. Click Install Reporting Services to continue.

Figure 25

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

48
DATABASE INSTALLATION GUIDE

8. Click on Next to continue.


9. Specify an Install Location in the server and Click Next.

Figure 28

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

49
DATABASE INSTALLATION GUIDE

Figure 29

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

50
DATABASE INSTALLATION GUIDE

Figure 30

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

51
DATABASE INSTALLATION GUIDE

10. Click restart to complete the setup.

Figure 31

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Install SQL Server Management Tools


Refer to the Install SQL Server Management Tools section.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

53
DATABASE INSTALLATION GUIDE

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

54
DATABASE INSTALLATION GUIDE

Install SQL Server Management Tools


SQL Server Management tools is now a separate installation. Follow the steps below to install the
Management Tools.

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

3. Run the setup (SSMS-Setup-ENU).

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

55
DATABASE INSTALLATION GUIDE
Figure 47

4. Click Install to continue.

Figure 48

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

56
DATABASE INSTALLATION GUIDE

Figure 49

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

57
DATABASE INSTALLATION GUIDE

5. Click restart to complete the setup.

Figure 50

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

58
DATABASE INSTALLATION GUIDE

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

59
DATABASE INSTALLATION GUIDE

Microsoft SQL Server Post-Installation


Instructions
After installing SQL Server, additional steps are necessary to ensure optimal performance in regard to
SCALE. The recommendations were developed based on discussions with Microsoft and follow most of
their best practices for OLTP systems. SCALE is considered an Online Transaction Processing (OLTP)
system in respect to how it would interact with the database server. These instructions assume the server
is dedicated to providing database services and is not an application server. If application services will be
running on the same server as the database, please discuss the optimal configuration with your
Manhattan Associates consultant and/or product support.

Memory Configuration
Memory configuration differs depending on the operating system platform in use. Follow the respective
section based on your individual configuration.

X64 (64-bit) Platform


64-bit operating systems can address and use much larger amounts of memory than older 32-bit
systems. As a result, features like AWE and PAE are no longer necessary. However, locking memory
used by SQL Server into physical RAM is still beneficial and recommended. Follow How to: Enable the
Lock Pages in Memory Option (Windows) (http://msdn2.microsoft.com/en-us/library/ms190730.aspx) and
enable the feature so SQL Server does not get paged out of memory by the operating system.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Instant File Initialization


Instant File Initialization must be enabled to ensure that the user/account running SQL Server has
permissions to the Perform Volume Maintenance Tasks.

• 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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

62
DATABASE INSTALLATION GUIDE

Microsoft SQL Server 2022/2019


Reporting Services Installation &
Configuration
This section describes how to add the Reporting Services feature to an existing Microsoft SQL Server
installation. If SQL Server has yet to be installed, 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.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

63
DATABASE INSTALLATION GUIDE

Figure 53

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

64
DATABASE INSTALLATION GUIDE

3. Navigate to the Web Service URL group and click on Apply to accept the default configuration.

Figure 54

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

65
DATABASE INSTALLATION GUIDE

4. Navigate to the Web Portal URL group and click Apply to accept the default configuration.

Figure 55

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

66
DATABASE INSTALLATION GUIDE

5. Navigate to the Database and click Change Database in the Current Report Server Database
group box.

Figure 56

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

67
DATABASE INSTALLATION GUIDE

Figure 57

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

69
DATABASE INSTALLATION GUIDE

8. Accept the default values in the Database page and click Next.

Figure 59

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

70
DATABASE INSTALLATION GUIDE

9. Accept the default values in the Credentials page and click Next.

Figure 60

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

71
DATABASE INSTALLATION GUIDE

10. Review the Summary page and click Next.

Figure 61

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

72
DATABASE INSTALLATION GUIDE

11. Click Finish.

Figure 62

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

73
DATABASE INSTALLATION GUIDE

12. After successful creation of the URL, click Exit to close the Reporting Services Configuration
Manager.

Figure 63

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

74
DATABASE INSTALLATION GUIDE

Figure 64

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

75
DATABASE INSTALLATION GUIDE

The final configuration steps for Reporting Services are discussed in the Microsoft SQL Server Reporting
Services Configuration section.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

76
DATABASE INSTALLATION GUIDE

Microsoft SQL Server Reporting


Services Configuration
This section describes how to configure Microsoft SQL Server Reporting Services to be used with the
application. For information pertaining to the install of Reporting Services, see one of the following topics:

• Microsoft SQL Server 2022 Installation


• Microsoft SQL Server 2019 Installation

Uploading Reporting Services Reports


The following section walks through the process of uploading the reports shipped with the application to a
newly installed SQL Server Reporting Services instance. Note that these steps are very similar for
updated or new reports supplied with application upgrades.

1. Open the Reporting Services Configuration Manager Windows Search | SQL Server [Version]
Reporting Services Configuration Manager.

Figure 67

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

77
DATABASE INSTALLATION GUIDE

2. Navigate to Web portal URL.

Figure 68

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

5. Navigate to the ILS folder.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

79
DATABASE INSTALLATION GUIDE
Figure 71

6. Add a new folder under ILS.

Figure 72

7. Navigate to the ILS | Reporting folder.

Figure 73

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

Reporting Services Folder Application Directory

ILS\Reporting <install directory>\Reporting\SSRS

Figure 74

Figure 75

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

81
DATABASE INSTALLATION GUIDE

Reporting Services Role Assignments


1. Make sure the SCALE service account is part of the users group.
2. Click ‘Add group or user’.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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.

1. Navigate to report folder ILS | Reporting.

Figure 80

2. Click the dropdown button on the report and select MANAGE.

Figure 81

Figure 82

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

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

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

84
DATABASE INSTALLATION GUIDE

Set the Execution Account


1. Start the Reporting Services Configuration tool and connect to the report server instance you
want to configure.
2. On the Execution Account page, specify the execution account. Type the account and password,
retype the password, and then click Apply.

Figure 85

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

85
DATABASE INSTALLATION GUIDE

Azalea Barcode Software


You will also need to install the Azalea barcode application on the SSRS server.

The Azalea setup files are present in SCALE media ScaleThirdParty\C128Tools_Setup.MSI.

Configuring the Application to Use


Reporting Services
The SQL Server Reporting Services Report Server URL Technical Value should be set to the Report
Server URL, which has a default value of http://dbServerName/ReportServer_dbInstanceName. If

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

86
DATABASE INSTALLATION GUIDE
Reporting Services was installed in the default instance, then the URL will have the form
http://dbServerName/ReportServer.

Copyright © 2023 Manhattan Associates, Inc. All rights reserved.

87

You might also like