Professional Documents
Culture Documents
Installation Guide
Version: 15.0
Quadient group
Installation Guide
Product version: 15.0
Quadient group
www.quadient.com
This document was generated on 2022-06-24 and may not be the latest version. As we continuously update and improve our documents,
please visit Quadient University and ensure that you have the latest version. You will also find more samples, articles, discussions and
documentation about all of our Inspire products there.
Should you have any queries, suggestions or comments concerning these materials, please do not hesitate to contact us at
documentation@quadient.com.
Multiple sites of the Quadient group of companies hold certificates to ISO 9001, ISO 27001 and ISO 14001.
Information contained within this document may contain technical inaccuracies or typographical errors. Changes will be added periodically
and modifications will be made thereto without prior notification. Quadient does not enter into any obligations or responsibilities regarding
the content of this document and does not assume any legal liability – neither expressed or implied – for its accuracy, completeness and/or
usefulness.
This document may contain links to third-party web sites. These links are solely provided as a convenience and not as an endorsement by
Quadient of the contents found on those third-party web sites. Quadient is not responsible for the content of linked third-party sites and
does not guarantee the accuracy of materials found on them. Quadient does not endorse any products presented on third-party websites.
If you decide to access any linked third-party web sites, you do so at your own risk.
Copying of the software or manual on to any data storage medium or in any other way, except for explicit company internal use, is strictly
forbidden without the prior written authorization of Quadient. Failure to comply with these restrictions is liable to prosecution.
Trademarks
Adobe® and Adobe PDF Library™ are trademarks or registered trademarks of Adobe Systems Inc. in the US and other countries. The names,
logos and international property rights of other companies regarding products and services remain the property of their respective owners.
Table of Contents
1 Deployment 1
2 Requirements 3
2.1 Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1.1 CPU Arithmetic Benchmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.1 Cloud Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.2 Net Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.3 Demo Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Access Rights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Further Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5.1 Server Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5.2 Java SE Development Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5.3 Inspire Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5.4 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5.5 Maximum Transmission Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Installation 17
3.1 Single Node Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1.1 GUI Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1.2 CLI Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.1.3 Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.1.4 Script Based Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.2 Cluster Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.2.1 Inspire Content Manager Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.2.2 Cluster Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.2.3 Shared Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.2.4 HTTP Load balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.2.5 Node High-Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.3 Multi Cluster Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.3.1 Multi Cluster Installation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.3.2 Creating Scaler's Multi Cluster Database Structure . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.4 Stateless Architecture Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.4.1 Inspire Content Manager Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.4.2 Metrics API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.4.3 Stateless Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.4.4 Shared Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.4.5 Load Balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.5 Automated Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
5 Upgrade 80
5.1 Upgrading from Previous Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5.1.1 Upgrading Using GUI Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.1.2 Upgrading Using CLI Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.1.3 Upgrading Using Silent Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.1.4 Upgrading Using Zero Touch Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.2 Upgrading Database Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.3 Adjusting Database Socket Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
5.4 Upgrading External Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.5 Removing Java Security Manager from Scaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6 Troubleshooting 89
6.1 Scaler Windows Service Fails to Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.2 Unavailable ICM Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.3 Login Issues Immediately After Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.4 Unfunctional Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.5 Licensing Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.6 Unexpected Login Prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6.7 Scaler Fails to Write Job Data to Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
7 Uninstallation 93
7.1 Uninstalling Inspire Scaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
7.2 Uninstalling Nodes No Longer Required in Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
7.3 Uninstalling Clusters No Longer Required in Multi Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . 95
1 Deployment
1 Deployment | 2
Inspire Scaler is Inspire's cloud-enabled automation component. See the document Inspire: An Overview for
an introduction to the functionality of Scaler and how it fits into the Inspire Solution.
Client Application
Output Document
2 Requirements
NOTE
● The use of some features may be limited in Internet Explorer. Consider using another supported
browser.
● The recommended resolution for working with Scaler is 1920x1080 px. Using a lower resolution
may reduce the readability of Scaler's user interface.
TIP See the CPU Arithmetic Benchmark section for help deciding on the hardware for your Inspire Scaler
installation.
NOTE Clicking on this button triggers the arithmetic and floating point test.
The results of the test are enclosed within the downloaded package.
2.2 Licensing
You need a license from Quadient Support before you can install Inspire Scaler.
● Cloud Licensing
● Net licensing
● Demo licensing
The Licenses: An Introduction document presents the controls and architecture used by licenses, such as license
types and deployment environments. Such information can be useful when requesting a license from Quadient.
TIP If you experience licensing issues on UNIX based systems, try the solution in the Troubleshooting
section.
Your entitlement, represented by an initial activation key, is provided by Quadient (to a designated individual) for
all verified installations. Additional keys are then self-managed by you (or another assigned administrator) via
Quadient Cloud.
For more information, see the Entitlements and Reports section in Quadient Cloud Administration Guide.
● CX_LICENSE – Defines the licensing method. For cloud licensing, it must be set to CL.
2 Requirements | 6
2.2 Licensing
EXAMPLE
The following image is an example of cloud licensing environment variables configured for Windows:
Install Inspire License Manager (on a server or on a local computer) before installing Inspire Scaler. See the Inspire
License Manager Installation Guide (Windows version or Linux version ).
NOTE If Inspire License Manager is already installed on your system, make sure the CX_LICENSE and
CX_LIC_SERVER environmental variables are configured.
When running multiple Inspire components on one machine, you may need to force Inspire Scaler to use a different
Inspire License Manager server for its license:
Windows
set CX_LICENSE=<method>
set CX_LIC_SERVER=<host1>
set CX_LIC_SERVER2=<host2>
3. Replace the following placeholders with the actual values to access your license server: <method>,
<host1>, and <host2>.
Unix
export CX_LICENSE=<method>
export CX_LIC_SERVER=<host1>
export CX_LIC_SERVER2=<host2>
3. Replace the following placeholders with the actual values to access your license server: <method>,
<host1>, and <host2>.
NOTE We recommend that you license Inspire Scaler and Inspire Production Server using the same Inspire
License Manager server. Without this, you lose the option to turn on encrypted communication between
the two components.
2.3 Installer
To install Inspire Scaler, you need the following installers:
Inspire Scaler
Inspire Designer The installer of Inspire Designer installs Inspire Content Manager and Inspire Production
Server:
Java Development Kit See the Supported Platforms for Inspire Flex document to learn about the supported
Java 11 distributions.
Directory Permissions
Inspire Designer working directory, i.e. its installation directory by default. write
● %USERPROFILE%\AppData\Local\temp (Windows)
WARNING To avoid compromising the security of your solution, do not grant the user any other access
rights. If you do, ensure you only grant them the access rights necessary for your Scaler solution to process
jobs.
TIP You can change the temporary directory. See the Temporary Directory section of Inspire Scaler
User Manual.
To access a mapped network drive (e.g. to use it as a shared storage), you have these options:
● Inspire Designer
● Database
NOTE If you intend to install Inspire Scaler as a cluster solution, all the prerequisites (except for the
database) must be prepared for each machine on which the individual nodes will be running.
For Inspire Scaler, use the latest version of JAVA 11. For the supported Java distributions, see the separate docu-
ment Supported Platforms for Inspire Flex .
NOTE If you intend to install a cluster, use the same Java versions across all the cluster nodes.
● The value of the JAVA_HOME variable must be set to the location of the correct JAVA version. For example:
C:\Program Files\Java\jdk11.0.4_10.
CAUTION Without the JAVA_HOME variable, the installation of Inspire Scaler will not work.
2 Requirements | 10
2.5 Further Requirements
● It stores all Inspire Scaler workflows, custom modules, and scripting libraries in a folder structure
automatically created by the installation.
● In cluster solutions, several ICM deployment types are supported. See Cluster Installation for more
information.
● In cluster solutions, it must be installed locally with each Inspire Scaler node.
NOTE Scaler cannot work with IPS instances that use the -runforweb command.
When integrating Scaler with applications (e.g. Inspire Interactive) that may require the -runforweb
command, install a different IPS instance for each application.
● Inspire Designer Installation Guide – Learn how to install Inspire Designer for demo purposes.
● To learn about the advanced configuration options that you may need in production environments, see
the following sections of the Inspire Designer User Manual:
2.5.4 Database
1. Select one of the supported database types.
2. Ensure your database makes enough database connections available for your Inspire Scaler solution.
3. Choose how to create the database structure necessary for Scaler's operation:
Automatically To let Scaler create the database structure automatically under the database user defined
in the installer, you must create a blank database to be populated automatically during the installation.
Manually Your security policies may not allow third-party applications to run with a user that has elevated
rights to your database management system. As such, you may need the ability to create the database
structure manually with a database user of your choice.
Depending on your Scaler solution, the corresponding installation section will guide you through
manually creating the database structure.
2 Requirements | 11
2.5 Further Requirements
If you wish to automate the database structure creation with a database user of your choice, learn
how to obtain the necessary SQL scripts using Docker® in the Obtaining SQL Scripts section.
5. Make sure the database user is granted the necessary database rights.
6. Consider setting up your own system for managing the growth of your database. See Configuring Data
Retention Period.
● Do not use Scaler's system database for any Scaler features that require a database (use separate
databases instead), for example:
○ Custom Databases
○ Data Recording
TIP See the Inspire Scaler User Manual to learn how to configure or modify the database connection
settings in the application.properties file.
MSSQL ● Inspire Scaler can only run on the default (dbo) database schema.
● See MSSQL Authentication Library if you intend to use this type of database with
Windows authentication.
MySQL ● Before installing Inspire Scaler with this type of database, you must place the JDBC
driver into the <InstallerPackage-InspireScaler>\lib-ext folder.
● If your MySQL server is running on a non-English system, the MySQL server must
not use the system timezone to prevent the installation from failing due to unrecog-
nized timezone.
PostgreSQL Inspire Scaler can only run on the default database schema.
2 Requirements | 12
2.5 Further Requirements
To be compliant with Quadient licenses, Inspire Scaler is not distributed with an embedded authentication library
for MSSQL. It must be provided manually:
1. Check the required MSSQL driver version on the Database Connection step inside Scaler's GUI installer.
EXAMPLE
Here is an example of the required version displayed in the installer for the 15.2 FMAP release. The
required version may be different for other releases:
3. Depending on the architecture of your OS, open one of these folders inside the downloaded archive:
64-bit sqljdbc_<version>\enu\auth\x64
32-bit sqljdbc_<version>\enu\auth\x86
5. Paste it into the <InstallerPackage-InspireScaler>\lib-ext folder before you run Scaler's installer.
NOTE When Scaler is installed with a manually provided authentication library, the following Scaler
features can also use it:
● Custom Databases
● Data Recording
Database Connections
Different types of databases may, by default, limit the number of available database connections. Keep this in
mind when configuring a cluster solution, in which the number of connections needed by Inspire Scaler is multiplied
by the number of cluster nodes.
To see the default number of database connections that Inspire Scaler opens and to learn how to adjust this
number, see the Inspire Scaler User Manual .
2 Requirements | 13
2.5 Further Requirements
See the Building Docker® Images section of the Deployment of Inspire Flex Using Azure Kubernetes
Service document.
2. Configure the environment variables necessary for running a setup Docker® container:
This ensures that the structure is not created by the container in the target database and that
the SQL scripts are generated.
3. Run one of the following Docker® container types (based on your needs) to be able to extract the SQL
scripts from the container:
Pattern
Example
Pattern
Example
4. Extract the SQL scripts from the container using this command:
Pattern
Example
CAUTION
● Only ever prepare one user for both the installation and the runtime of Inspire Scaler. When
switching to runtime, downgrade the user's rights.
● Do not grant the database user any other rights than the ones listed in this section.
Redundant rights make Scaler perform unnecessary operations while starting. Scaler may fail to
start if it misses its time period dedicated for starting.
MSSQL
Installation / Upgrade
Runtime
MySQL
Installation / Upgrade
Runtime
Oracle
Do not forget about the caution notes described above the table of database rights. They are especially important
for Oracle databases.
PostgreSQL
Installation / Upgrade
● Database:
CONNECT
● Schema:
CREATE, USAGE
Runtime
● Database:
2 Requirements | 16
2.5 Further Requirements
CONNECT
● Schema:
USAGE
Check the configured MTU value of your operating system and adjust it to suit your expected Scaler production
volume.
3 Installation
Based on your production environments, install one of these Inspire Scaler solutions:
● Single Node
● Cluster
● Multi Cluster
● Stateless Architecture
TIP To learn about the details of each solution, see the Architecture chapter of Inspire Scaler User
Manual.
Node
Inspire
Inspire Scaler
Content Manager
Inspire Inspire
Production Server License Manager
● GUI Installation
● CLI Installation
● Silent Installation
IMPORTANT The silent installation method allows you to install Scaler with several features that the
other installation types cannot install.
3 Installation | 19
3.1 Single Node Installation
a) Introduction
b) Prerequisites
c) License Agreement
d) Installation Type
e) Licensing Type
f) Database Connection
g) Deployment Type
k) Scenario Engine
m) Installation Summary
n) Finish
3.1.1.1 Introduction
It allows you to select the preferred language of the installation. The available languages are: English, German,
French, Spanish and Italian.
3.1.1.2 Prerequisites
This step reminds you to check that you have installed all the required prerequisites.
2. Use the Path setting to define the path Scaler's installation directory.
NOTE
● Inspire Scaler users must have write permissions to the defined directory.
● The path to the selected directory and its name must not contain national characters or an exclam-
ation mark.
3 Installation | 22
3.1 Single Node Installation
3. See the Creating Scaler's Database Structure section to learn about the usage of the Create database
structure manually check box.
Settings Description
Set connection by
a Selects a method to configure the database connection settings:
This is the only method that supports the Azure Active Directory authen-
tication for an MSSQL database running in Microsoft Azure. Learn how to
configure it in the Configuring Azure Active Directory Authentication for
MSSQL section.
Connection string Defines a custom connection string (JDBC) to configure the database connection.
WARNING Because the connection string is saved in plain text after the
installation of Scaler, do not include the database credentials in the con-
nection string. Use the User name / Password fields instead.
Host / Port
a Define the connection to the server that runs the database.
Database name
bcd Defines the name of the database to be used.
Connection type
be MSSQL Selects whether to connect via Port or Instance name.
NOTE If you leave the selected option (Port or Instance name) empty,
the default MSSQL port 1433 is used.
Settings Description
Oracle
a
Applicable to all databases.
b
Applicable to MSSQL.
c
Applicable to MySQL.
d
Applicable to PostgreSQL.
e
Applicable to Oracle.
f
This method is only supported for Windows operating systems.
NOTE
● To be able to connect to your MSSQL database via a port, ensure that the TCP/IP protocol is
enabled for your database, and that each IP address of your database server is assigned a
static port.
WARNING If you use Windows Authentication, you expose yourself to unauthorized scripting access
to the sensitive data in the main Scaler database. This is because, for example, your own workflow
developer could connect to the main database using Custom Databases .
IMPORTANT
● Due to the in-memory structure that this database uses, only one instance of Inspire Scaler
can run on this database at any one time.
● By default, Scaler's instance of HSQLDB runs on the port 9101. If you run any other Inspire
components on the HSQLDB database, the components may collide.
3 Installation | 26
3.1 Single Node Installation
Here is a list of the default connection strings that Inspire Scaler is installed with if the Connection parameters
option is selected:
HSQLDB
jdbc:hsqldb:hsql://<host>:<port>/<database_name>
MSSQL
jdbc:sqlserver://<host>:<port>;databaseName=<database_name>;encrypt=true;trustServerCertific→
ate=true
Oracle
● For SID:
jdbc:oracle:thin:@<host>:<port>:<sid>
jdbc:oracle:thin:@//<host>:<port>/<service_name>
MySQL
jdbc:mysql://<host>:<port>/<database_name>?useUnicode=true&characterEncod→
ing=UTF-8&useSSL=true&verifyServerCertificate=false
PostgreSQL
jdbc:postgresql://<host>:<port>/<database_name>?sslmode=prefer&sslfactory=org.postgr→
esql.ssl.NonValidatingFactory
This section describes the usage of the Create database structure manually check box available in the Database
Connection installer step.
Your security policies may not allow third-party applications to run with a user that has elevated rights to your
database management system. As such, you may need the ability to create the database structure (necessary
for Scaler to operate) manually with a database user of your choice.
3 Installation | 27
3.1 Single Node Installation
Scaler's installer lets you choose the method for creating the database structure:
● Automatic creation
● Manual creation
Automatic Creation
To let Scaler create the database structure automatically under the database user defined in the installer, leave
the Create database structure manually check box unchecked.
Manual Creation
To create the database structure manually under a database user of your choice:
5. Get the generated SQL script and execute it in the database that you defined while installing Scaler:
MSSQL createMSSQL.sql
Oracle createOracle.sql
PostgreSQL createPostgreSQL.sql
MySQL createMySQL.sql
6. Run Scaler.
7. Delete the SQL script after you have installed your solution to avoid damaging your database in the future
by accidentally using the script on different versions of Scaler.
NOTE The createMSSQL.sql file contains GO statements. You must run the file using an application that
is able to process those statements.
Using this method, you do not need to provide a username and password to Oracle. The Kerberos protocol
can authenticate the following types of users to the database:
Kerberos Prerequisites
● The Windows user that will run the Scaler installation must be maintained in an LDAP directory service
(e.g. Microsoft's Active Directory).
● The LDAP directory service and the Oracle database server must be configured to use Kerberos.
● You must adjust your Oracle database's connection pool so that Kerberos is able to quickly assign enough
(at least 60) tickets to the database.
Authentication method To use the default configuration of your operating system, i.e. to authenticate Scaler
to Oracle using the currently logged-in Windows user, select Kerberos authentication without configuring
the other settings.
Kerberos configuration file (optional) Defines the path to a Kerberos configuration file (krb5.conf ), allowing
you to use a custom Kerberos configuration. For example, to define an address to a different LDAP directory
service that should be used for the authentication.
Ticket cache file (optional) Defines the path to a Kerberos ticket cache (or credential cache) file . This file
holds Kerberos credentials while they remain valid. This ensures that authenticating to a service multiple
times does not require contacting the key distribution center every time.
If not defined, the ticket cache created when the current Windows user logged into Windows is used.
NOTE Once you select a Kerberos configuration file or a ticket cache file, and test the database connection
or go to the next installer step, the files cannot be changed. To be able to change any of the selected files,
you must restart the installer.
TIP You can configure the Kerberos authentication after Scaler's installation in the configuration.xml
file.
3 Installation | 29
3.1 Single Node Installation
The following steps outline how to use Azure Active Directory authentication when connecting to an MSSQL
database running in Microsoft Azure:
1. Select the Connection string option for the Set connection by setting.
2. Learn about the connection properties that support the Azure Active Directory authentication in the Mi-
crosoft documentation at https://docs.microsoft.com/en-us/sql/connect/jdbc/
connecting-using-azure-active-directory-authentication?view=sql-server-ver16 .
3. Use the Connection string setting to define the value of a custom JDBC connection string, containing
properties that support the Azure Active Directory authentication.
TIP You can obtain a connection string automatically generated by Microsoft Azure:
2. Navigate to the given database blade and, under Settings, select Connection strings.
3. Copy the JDBC (Active Directory password authentication) connection string and remove the
user and password properties.
3 Installation | 30
3.1 Single Node Installation
NOTE This option can be used to install both the Single Node and Cluster solutions. Clusters are formed
when two or more Cluster installations are performed using the same Database Connection settings.
3 Installation | 31
3.1 Single Node Installation
1. Adjust the value of Server port if the default one does not suit you.
Inspire Scaler contains an embedded web application server whose default port is 30600.
2. Check Use SSL if you wish to run Inspire Scaler on HTTPS and configure the SSL settings.
See the Shared Storage section of the Inspire Scaler User Manual for more information.
WARNING Running Inspire Scaler without SSL makes your solution insecure. Any information included
in HTTP requests (e.g. login credentials, content of HTTP responses) exchanged between Inspire Scaler
and client applications can be read and accessed by malicious clients.
NOTE You can configure Scaler to run on HTTPS retroactively anytime after the installation of Scaler
(see the HTTPS Configuration section).
3 Installation | 32
3.1 Single Node Installation
SSL Settings
Keystore file path Defines the path to the keystore file, which is a storage for keys and certificates used
for securing the TLS communication.
Alias Defines the alias of the certificate you wish to use for Inspire Scaler.
NOTE When generating a PKCS12 using OpenSSL, you must use the optional
parameter -name to configure the alias. Otherwise, the keystore gets a default
alias that you must recover.
To recover the default alias, you can, for example, run this command:
This step defines the connection to ICM (an obligatory prerequisite). It stores all Inspire Scaler workflows in a
folder structure automatically created by the installation:
3. Click on the Test buttons to verify that ICM is running on the entered host and port, and that the selected
user can access it.
TIP If the test fails, try the solution in the Troubleshooting section.
ICM Settings
Port
Use domain verific- Defines how to encrypt the communication between Scaler and ICM:
ation
● Unchecked – Applies Scaler's default encryption using a self-signed TLS certific-
ate generated by ICM.
Domain Ensures that the communication between Scaler and ICM is encrypted using a custom
certificate signed by a certification authority. To configure this setting, you must:
1. Configure ICM to use a custom certificate and key to encrypt ICM's communica-
tion with other Inspire components.
For more information, see the ICM Certificates section of Inspire Designer
User Manual.
2. Specify a domain here that matches a domain contained in the certificate con-
figured in ICM.
3. See the ICM Trusted Domain Settings section of Inspire Scaler User Manual
to learn more about:
User Name Defines the credentials of an admin ICM user. Inspire Scaler uses this user to commu-
nicate with ICM.
Password
See the Enhanced ICM Authentication Configuration section to learn about the additional
options (provided by the silent installer) for defining the user you wish to use for the
ICM authentication.
API authentication Specifies the default ICM user group whose members are allowed to send API requests
group to Inspire Scaler.
NOTE If the specified group does not exist, the installation creates it automat-
ically. Access the ICM group after the installation and create its members.
1. Enter the port occupied by Inspire Production Server on the local host.
NOTE
● The settings of Inspire Production Servers can be changed later by editing the respective section
of the configuration.xml file. Once edited, you need to restart the application for the changes to
take effect.
● You can also use the same configuration file to add more production servers to your installation if
you require more power.
3 Installation | 35
3.1 Single Node Installation
This step allows you to install Scenario Engine (SEN), which is a separate back end application deployed alongside
Scaler, on the same node.
TIP To learn more about SEN, see the Integration with Omnichannel Orchestration section of Inspire
Scaler User Manual.
Only install SEN if you intend to integrate Scaler with Omnichannel Orchestration:
3. Learn about SEN's use of ICM in the SEN's ICM Instance section.
To learn about the additional settings, see the SEN Configuration section of Inspire Scaler User Manual.
3 Installation | 36
3.1 Single Node Installation
SEN Settings
Port Defines the port to be occupied by SEN (when it is running) on the local host.
User name Define the credentials of an ICM user who is granted all the necessary permissions to operate
SEN.
Password
To learn about the requirements for the defined user, see the SEN User Requirements section.
SEN uses ICM to store any resources necessary for its production purposes.
It uses the same ICM instance as Scaler. Its connection is configured on the Inspire Content Manager installer
step.
You can configure a backup ICM instance for SEN post-installation. Do that in SEN's configuration file: applica-
tion.yml .
This section lists the requirements that a user must meet to operate SEN:
API Authentication Group Over the course of one delivery scenario job being processed, SEN triggers multiple
Scaler jobs. Those jobs are processed by workflows that contain the Scenario Engine Input module.
Internally, SEN starts the jobs by sending requests to the Scenario Engine Input modules. SEN (as the client)
authenticates itself with Scaler (as the server) via the user defined in the SEN settings.
Scaler only authorizes the request if the user is a member of the API authentication group selected on the
Scenario Engine tab on Scaler's Administration page.
If you do not want to use the default API authentication group for SEN, you can change it after Scaler's in-
stallation on the API Authentication Groups tab on Scaler's Administration page.
Administration Management Permission While a delivery scenario job is processed, SEN triggers multiple
Scaler jobs.
Internally, SEN periodically checks the status of the triggered jobs. It does that by calling Scaler's REST API
services.
Those REST API services must be authenticated by a user who has the administration management permis-
sions.
To learn how to grant permissions to user roles, see the Role Management section of Inspire Scaler User
Manual.
3 Installation | 37
3.1 Single Node Installation
Configure the connection the same way that you configured the connection to Scaler's database with these ex-
ceptions:
● You must use a different database for SEN than the one you use for Scaler.
● SEN only supports the following database types: MSSQL, PostgreSQL, and Oracle.
● If you create the database structure manually, get the generated SQL scripts in the sen/config/sql folder
in Scaler's installation directory:
MSSQL mssql-create.sql
PostgreSQL postgre-create.sql
Oracle oracle-create.sql
If needed, click on Back to change the installation settings. Otherwise, click on Install to finish.
3.1.1.14 Finish
This step allows you to import a sample package into Scaler's ICM.
The package contains several samples to help you get started using Inspire Scaler. It includes a deployable demo
solution that illustrates the functionality and use cases that Scaler was developed for.
To learn more, see the Sample Package section of Inspire Scaler User Manual.
3 Installation | 38
3.1 Single Node Installation
3. Go through the CLI installer by following its guidelines. The settings that the CLI installer guides you
through correspond to the settings within the GUI installation.
Use one of the methods described in the Configuration File for Silent Installation section to prepare the
file.
3. Consider enabling and configuring the special features listed in the Silent Installation Exclusive Features
section.
● 0 – Success
● 1 – Error
WARNING To avoid compromising the security of your production environment after the installation,
remove passwords from the install-silent.json file or delete the file entirely.
3 Installation | 39
3.1 Single Node Installation
1. Go through the GUI installer by configuring all the options according to your needs.
3. Find the generated install-silent.json file (containing the prepared configuration) within the installer
package.
1. Go through the GUI or CLI installer by configuring all the options according to your needs.
3. Find the generated install-silent.json file (containing the used configuration) within the installer
package.
● Password Encryption
To authenticate Scaler to ICM, the GUI installer only allows you to define an existing user with the Admin account
type.
3 Installation | 40
3.1 Single Node Installation
The silent installer provides you with additional options for defining the user you wish to use for the authentication:
User with Insufficient Permissions You can define a user with insufficient permissions and have the silent installer
promote that user to an Admin user.
Do that by inserting the following properties inside the icm object in the install-silent.json file:
● user / password – Define the credentials of an existing user you wish to use for the authentication.
● adminUser / adminPassword – Define the credentials of an Admin user. You can either use the default
Admin user or another user whose account is of the Admin type.
The silent installer will use the permissions of the defined Admin user to promote the permissions of the user
that you wish to use for the authentication.
New Admin User You can define a new user that the silent installer will create in ICM for you.
Do that by inserting the following properties inside the icm object in the install-silent.json file:
● user / password – Define the credentials of a user you wish to create in ICM.
● adminUser / adminPassword – Define the credentials of an Admin user. You can either use the default
Admin user or another user whose account is of the Admin type.
The silent installer will use the permissions of the defined Admin user to create the new user that you wish
to use for the authentication, and to promote their permissions.
Password Encryption
Scaler and Scenario Engine (SEN) maintain various passwords in their databases, configuration files, and in the
WFS (workflows) files stored in ICM. The default encryption of those passwords is different for each application:
● Scaler – Encrypts passwords using an AES 256 bit key with a random initialization vector.
● SEN – Encrypts passwords using a random hexadecimal key whose length is 32B.
3 Installation | 41
3.1 Single Node Installation
The value of the automatically used key is available after Scaler's installation in the sen/internals/de-
fault_key file.
You can configure both Scaler and SEN to use a custom encryption key to encrypt the passwords:
● customEncryptionKeyPath
● customEncryptionKeyId
EXAMPLE
"customEncryptionKeyPath": "/etc/pathToSecondKeyFile",
"customEncryptionKeyId": 2,
EXAMPLE
"scenarioEngine" : {
"configureScenarioEngine" : true,
"serverSettings" : {
"port" : 30900,
"authToken" : "6fde2ed3-c7b2-4f3c-863d-8c485b49342a",
"maximumParallelBatches" : 4,
"customEncryptionKeyId" : 2,
"customEncryptionKeyPath" : "/etc/pathToSecondKeyFile"
}
3. Study the Custom Password Encryption Key section of Inspire Scaler User Manual to learn about:
● Enabling and configuring the feature after installing Scaler via another installation type.
Scaler
The defined name must be unique and must comply with your operating system's policy.
● service.linuxUser – Defines the user that runs the system service (only applicable to Unix installations).
● environment – Adjusts the environment in which Scaler runs (e.g. license or JVM settings).
EXAMPLE
"service": {
"name": "InspireScaler30600",
"linuxUser": "scaler"
},
"environment": [
{
"name": "CX_LICENSE",
"value": "ls"
},
{
"name": "CX_LIC_SERVER",
"value": "lic_server_address"
}
],
Scenario Engine
● scenarioEngine.service.name – Defines the name of the Scenario Engine system service to be installed.
The defined name must be unique and must comply with your operating system's policy.
● scenarioEngine.service.linuxUser – Defines the user that runs the system service (only applicable
to Unix installations).
EXAMPLE
"scenarioEngine": {
"service": {
"name": "",
"linuxUser": ""
}
}
● custom_config.bat (Windows)
TIP See the System Memory Allocation section to learn about the Xmx parameter.
3 Installation | 44
3.2 Cluster Installation
Client 1 Client 2
Load Balancer
Inspire Inspire
Database Shared Storage
Content Manager License Manager
TIP Clusters and their benefits (Scaling and High Availability architectures) are described in detail in the
Solution Architecture section of the Inspire Scaler User Manual.
● Cluster Nodes
● Shared Storage
● Node High-Availability
3 Installation | 45
3.2 Cluster Installation
ICM Server Inspire Content Manager is installed on its own server machine. Each cluster node connects to the
ICM server.
Inspire
Content Manager
ICM Storage Database Inspire Content Manager is installed on each cluster node as a service and connected
to the same SQL database. The common ICM storage is based on the database.
SQL Database
for ICM Storage
TIP To learn how to install ICM as a service with a connection to an SQL database, see Inspire De-
signer Installation Guide .
First Node
1. Follow the instructions in the Single Node Installation and pay special attention to these steps:
3 Installation | 46
3.2 Cluster Installation
Database Connec- General database connection settings Define a database which will be shared
tion across all the cluster nodes.
Host Avoid using localhost as the host to ensure your cluster works properly.
Create database structure manually To learn about the usage of this check
box, study the Creating Scaler's Database Structure section.
If you decide to create the database structure manually for your cluster,
follow the instructions in the Manual Creation section. However, only do it
for the first node of your cluster.
Inspire Content The correct value you need to define for Host depends on the type of your ICM
Manager deployment:
ICM Server Use the host name or IP address of the ICM server that all the
cluster nodes connect to.
ICM Storage Database Use the localhost value so that the node uses its
own ICM.
All cluster nodes share the same ICM settings. If you used the host name
or IP address of this node, the other nodes would connect to the same ICM
service. If this node failed, you entire cluster would lose ICM connection.
Scenario Engine The same instructions described for configuring Scaler's database (on the
Database Connec- Database Connection step) apply for configuring SEN's database (on the
tion Scenario Engine Database Connection step)
2. Allow the currently installed node to communicate with the other cluster nodes that you will install:
b) Configure the rule to allow the IP addresses of the other cluster nodes to connect to the 5701-5705,
30600 (default installation ports) range of TCP ports.
WARNING Do not allow any other addresses to connect to those ports to prevent unauthorized
access to your nodes. The communication between cluster nodes is neither authenticated nor au-
thorized.
Also, do not allow any addresses to connect to the 30900 port (default SEN port) to prevent unau-
thorized access to Scenario Engine.
3. To ensure Inspire Scaler works correctly, on the given node machine, disable all the network interfaces
but the one Scaler uses for its connection to the network (public or private).
To learn why network interfaces are important, see the Node Communication section of Inspire Scaler
User Manual.
3 Installation | 47
3.2 Cluster Installation
WARNING Ensure that the TCP ports allowed in the inbound firewall rule are functional. Otherwise,
Scaler may not work correctly.
For more information see the Checking Production Readiness post-installation step.
Other Nodes
1. Follow the instructions in the Single Node Installation and pay special attention to these steps:
Database Connection Configure this step using the same values that you used when installing
the first node.
Deployment Type Check that the Deployment Type settings are automatically predefined
by the first installed node. They should be set to Cluster installation.
Inspire Scaler Server Check that the Shared storage setting is automatically predefined by
the first installed node.
Inspire Content Manager Check that the Inspire Content Manager settings are automatically
predefined by the first installed node.
Scenario Engine Use the same user in the Inspire Scaler Authentication settings as the
one you used for the first node.
Scenario Engine Database Use the same values that you used when installing the first node.
Connection
A shared database ensures that data is synchronized correctly between
individual SEN instances.
2. Allow the currently installed node to communicate with the other cluster nodes that you will install:
b) Configure the rule to allow the IP addresses of the other cluster nodes to connect to the 5701-5705,
30600 (default installation ports) range of TCP ports.
WARNING Do not allow any other addresses to connect to those ports to prevent unauthorized
access to your nodes. The communication between cluster nodes is neither authenticated nor au-
thorized.
Also, do not allow any addresses to connect to the 30900 port (default SEN port) to prevent unau-
thorized access to Scenario Engine.
3. To ensure Inspire Scaler works correctly, on the given node machine, disable all the network interfaces
but the one Scaler uses for its connection to the network (public or private).
3 Installation | 48
3.2 Cluster Installation
To learn why network interfaces are important, see the Node Communication section of Inspire Scaler
User Manual.
4. Repeat steps 2-4 until you have installed all of the desired nodes.
WARNING Ensure that the TCP ports allowed in the inbound firewall rule are functional. Otherwise,
Scaler may not work correctly.
For more information see the Checking Production Readiness post-installation step.
However, in a cluster where each node is installed on a different machine, consider using a network attached
folder as your shared storage.
NOTE When Scaler is installed as a Windows service, mapped network drives are not available. That
applies regardless of whether the user is running the same account as the user currently logged in because
a service only runs under the 'user credentials', but is not logged in.
To use a mapped network drive as a shared storage, you have these options:
TIP See the Shared Storage section of the Inspire Scaler User Manual for more information.
To implement the load balancing architecture into your solution, install a load balancer.
As an example installation, we use the Apache HTTP Server load balancer and for ease of explanation, it is divided
into these sections:
● HTTP Installation
● HTTPS Installation
● Forwarded Headers
● WebSockets
● AJP Configuration
HTTP Installation
1. Download Apache HTTP Server and unpack the downloaded file.
a) Configure the Listen property, which defines a free port on which the load balancer will listen.
b) Configure the ServerName property, which defines the URL address used to access the load balancer.
The port used within this address must correspond to the port you configured in the Listen property.
c) Activate/uncomment the following modules required for the load balancing to work:
d) Define the complexity of information logged by the load balancer. Select one of these values for the
LogLevel property:
● warn
● debug
Root To run Inspire Scaler without a custom proxy context on the root URL address of the load
balancer:
ProxySet lbmethod=byrequests
ProxySet stickysession=ROUTEID
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
ProxyPreserveHost On
ProxyRequests Off
RewriteEngine On
Custom proxy context To run Inspire Scaler with a custom proxy context (e.g. /cluster/ in the
configuration below):
ProxySet lbmethod=byrequests
ProxySet stickysession=ROUTEID
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
ProxyPreserveHost On
ProxyRequests Off
RewriteEngine On
NOTE If the first argument of ProxyPass or ProxyPassReverse ends with a trailing /, the
second argument should also end with a trailing /, and vice versa. Otherwise, the resulting
3 Installation | 52
3.2 Cluster Installation
requests to the back end may miss some needed slashes and do not deliver the expected
results.
When accessing Scaler via the load balancer, include the trailing / in the URL. For example:
https://localhost:10000/cluster/.
HTTPS Installation
1. Download Apache HTTP Server and unpack the downloaded file.
5. Activate/uncomment the following modules required for the load balancing to work:
● httpd-ssl.conf
● httpd-ahssl.conf
7. Adjust the content of the file by placing the following properties into the VirtualHost section:
Root To run Inspire Scaler without a custom proxy context on the root URL address of the load balancer:
ProxySet lbmethod=byrequests
ProxySet stickysession=ROUTEID
3 Installation | 53
3.2 Cluster Installation
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
ProxyPreserveHost On
ProxyRequests Off
SSLProxyEngine on
SSLProxyCheckPeerCN on
SSLProxyCheckPeerName on
SSLProxyCheckPeerExpire on
RewriteEngine On
Custom proxy context To run Inspire Scaler with a custom proxy context (e.g. /cluster/ in the configur-
ation below):
ProxySet lbmethod=byrequests
ProxySet stickysession=ROUTEID
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
3 Installation | 54
3.2 Cluster Installation
</Location>
ProxyPreserveHost On
ProxyRequests Off
SSLProxyEngine on
SSLProxyCheckPeerCN on
SSLProxyCheckPeerName on
SSLProxyCheckPeerExpire on
RewriteEngine On
NOTE
● For the load balancer to work correctly, Scaler's SSL certificate must be prepared correctly with
the right hostnames.
● If the first argument of ProxyPass or ProxyPassReverse ends with a trailing /, the second argument
should also end with a trailing /, and vice versa. Otherwise, the resulting requests to the back end
may miss some needed slashes and do not deliver the expected results.
Forwarded Headers
The instructions in this section only apply to load balancers that work within the application layer (the 7th layer)
of the Open Systems Interconnection (OSI) model .
3 Installation | 55
3.2 Cluster Installation
To suit your needs, you may need to configure the load balancer to include the following headers within the requests
sent to Scaler nodes. The headers are applicable when the server information of the load balancer differs from
the server information of your Scaler nodes:
● X-Forwarded-Proto – Specifies the used protocol (HTTP or HTTPS). For example, it is applicable when
using SSL offloading.
● X-Forwarded-Host – Specifies the host name of the server that runs the load balancer.
● X-Forwarded-Port – Specifies the port of the server that runs the load balancer.
● X-Forwarded-Prefix – Specifies the load balancer's custom context path (if one exists).
EXAMPLE
X-Forwarded-Proto: https
X-Forwarded-Host: vital.com
X-Forwarded-Port: 30601
X-Forwarded-Prefix: /scaler
WebSockets
Enable WebSockets on your load balancer.
Without this, the Job Monitoring , Inspire Production Server Monitoring , and Workflow Editor pages in
Scaler do not work.
a) In your web browser, use the URL address you defined in step 2b of the Installation section.
IMPORTANT If you configured a custom proxy context, you must include it in the URL address,
e.g. http://localhost:10000/cluster/.
The balancer manager should open. It enables dynamic update of balanced members. You can use
balancer manager to change the balance factor of a particular member, or put it in the offline mode.
3 Installation | 56
3.2 Cluster Installation
AJP Configuration
When balancing using the AJP protocol, you must make the following adjustments:
1. Use the following BalancerMember setting in step 2e of the load balancer installation:
2. Uncomment and configure the load balancing properties within the application.properties file.
3 Installation | 57
3.2 Cluster Installation
TIP Scaler indicates the currently configured number of data copies using the Backup count information
field at ADMINISTRATION | System Monitoring | System Status.
Depending on the size of your cluster, you should adjust the number of job data copies to be created for each
job:
1. Study the Recommended Backup Count section to learn about the recommended backup counts for dif-
ferent cluster sizes.
EXAMPLE
"clusterSettings": {
"selectedType": "CLUSTER",
"backupCount": 2
},
4. Install or upgrade Scaler using the silent installer to automatically adjust the backup count.
WARNING Insufficient backup count may cause you to lose job data.
The backup count also dictates how many cluster nodes can be safely restarted at once without breaking
backup count's data protection:
● When backup count is set to 1 (the default value), cluster nodes should only be restarted one by
one.
● When backup count is set to 2, only two cluster nodes should be restarted simultaneously.
● Etc.
3 nodes 1 2
5 nodes 2 3
7 nodes 3 4
NOTE Each added backup count increases the network traffic between Scaler nodes which may slow
down Scaler's processing performance.
EXAMPLE
Configuration
5 nodes 1 2
Outcomes
● One node fails – No job data is lost even if the node that failed is the one whose memory stores
one of the job data copies.
Other nodes continue processing jobs using the one data copy left stored in the memory.
● Two nodes fail – The outcome of this scenario depends on which two nodes fail:
Both failed nodes store job data copies The job data is lost. The affected jobs are not pro-
cessed, leaving no record about the jobs ever entering the system.
Only one of the two failed nodes stores a job data copy No job data is lost. Other nodes
continue processing jobs using the one data copy left stored in the memory. Scaler's internal
memory creates another job data copy and stores it in another cluster node, recovering
the configured backup count.
Cluster 1 Cluster 2
Client 1 Client 2 Client 1 Client 2
Common Database
TIP The characteristics of multi clusters are described in detail in the Solution Architecture section of
the Inspire Scaler User Manual.
Database Connection
1. Define a unique database for each cluster (and their nodes). This is how each cluster shares its re-
sources among all its nodes.
For example, if you install a multi cluster consisting of three clusters, you must install three clusters,
each of them on a unique database.
2. Study the Creating Scaler's Multi Cluster Database Structure section to learn about the usage of the
Create database structure manually check box.
Common Database Connection Define a database through which the clusters in your multi cluster can share
their health status with each other. This defined, common database must apply to every cluster and every
node you install.
Multi Cluster Settings Define the name of the cluster that is currently being installed.
In Inspire Scaler, the selected cluster names help you recognize the clusters and monitor their health in AD-
MINISTRATION | System Monitoring | System Status.
NOTE Once you define the name within the installation of the first cluster node, the defined name
applies to all subsequent nodes you install within the same cluster and cannot be changed later.
Inspire Scaler Server We recommend that you select Use SSL to set up a secure Inspire Scaler connection via
HTTPS.
Inspire Content Manager It is recommended that each cluster runs with its own Inspire Content Manager
storage.
If one Inspire Content Manager storage is used by the whole multi cluster, Inspire Scaler's behavior may be
unpredictable:
EXAMPLE
● A workflow created in one cluster is visible in the whole hybrid cluster but it must be deployed
in each cluster separately.
● If a workflow is deployed on each cluster and gets renamed, the workflow is redeployed correctly
in the cluster that renamed it but in the other clusters, it is undeployed.
Scenario Engine Database Connection Define a unique SEN database for each cluster in the multi cluster.
Your security policies may not allow third-party applications to run with a user that has elevated rights to your
database management system. As such, you may need the ability to create the database structures (necessary
for Scaler to operate) manually with a database user of your choice.
Scaler's installer lets you choose the method for creating the database structures:
● Automatic creation
● Manual creation
Automatic Creation
To let Scaler create the database structures automatically under the database user defined in the installer, leave
the Create database structure manually check box unchecked.
3 Installation | 61
3.4 Stateless Architecture Installation
Manual Creation
To create the database structures manually under a database user of your choice, you must complete the following
steps for the first node of every new cluster in your multi cluster:
5. Get the generated SQL scripts and execute them in the corresponding databases (Scaler DB and common
DB) that you defined while installing the first node of a cluster:
The database structures created manually for the first node of every new cluster are ready to be used by
the other nodes in your clusters.
7. Delete the SQL scripts after you have installed your solution to avoid damaging your database in the future
by accidentally using the scripts on different versions of Scaler.
NOTE The createMSSQL.sql and createCommonMSSQL.sql files contain GO statements. You must run the
file using an application that is able to process those statements.
● There is no limitation on how many nodes can be simultaneously connected into or disconnected from
the Stateless Architecture.
3 Installation | 62
3.4 Stateless Architecture Installation
To achieve such flexibility, as opposed to the regular Cluster, some Inspire Scaler features are either unavailable
or limited in the Stateless Architecture. You should read about them in Stateless Architecture section of Inspire
Scaler User Manual.
Client 2
Inspire
Inspire Scaler
Production Server
Inspire
Content Manager
Prerequisites
Inspire
Database
License Manager
● Metrics API
● Stateless Nodes
● Shared Storage
● Load Balancer
WARNING Installing Scenario Engine with the stateless architecture of Scaler is not supported.
SQL Database
for ICM Storage
TIP To learn how to install ICM as a service with a connection to an SQL database, see Inspire Designer
Installation Guide .
If you wish to disable it to prevent redundant CPU load, you must do it during the installation:
2. Insert the following object at the root level of the install-silent.json file:
"metricsAPI": {
"enabled": "false"
},
First Node
1. Ensure that you install only the first node. Do not install all the other nodes simultaneously.
The installation of the first node prepares the database schema for the rest of your stateless architecture
nodes.
2. Follow the instructions in the Single Node Installation and pay special attention to these steps:
3 Installation | 64
3.4 Stateless Architecture Installation
Database Connec- General database connection settings Define a database which will be shared
tion across all the stateless nodes.
Host Avoid using localhost as the host to ensure your solution works properly.
Create database structure manually To learn about the usage of this check
box, study the Creating Scaler's Database Structure section.
If you decide to create the database structure manually for your stateless
architecture, follow the instructions in the Manual Creation section. However,
only do it for the first node of your stateless architecture.
Once the database structure is manually created after the installation of the
first node, it will be prepared for all the other nodes.
Inspire Content The correct value you need to define for Host depends on the type of your ICM
Manager deployment:
ICM Server Use the host name or IP address of the ICM server that all the nodes
connect to.
ICM Storage Database Use the localhost value so that the node uses its own
ICM.
All nodes share the same ICM settings. If you used the host name or IP ad-
dress of this node, the other nodes would connect to the same ICM service.
If this node failed, you entire cluster would lose ICM connection.
3. To make the node accessible remotely, create an inbound rule in the firewall that allows the connection
to the server's TCP port (the default port is 30600).
4. To ensure Inspire Scaler works correctly, disable on the server all the network adapters but the one Scaler
uses for its connection to the network (public or private).
Other Nodes
1. Ensure that the first node has been installed.
The installation of the first node prepares the database schema for the rest of your stateless architecture
nodes.
2. Follow the instructions in the Single Node Installation and pay special attention to these steps:
Database Connection Configure this step using the same values that you used when installing
the first node.
Deployment Type Check that the Deployment Type settings are automatically predefined
by the first installed node. They should be set to Stateless architecture in-
stallation.
3 Installation | 65
3.4 Stateless Architecture Installation
Inspire Scaler Server Check that the Shared storage setting is automatically predefined by the
first installed node.
Inspire Content Manager Check that the Inspire Content Manager settings are automatically pre-
defined by the first installed node.
3. To make the node accessible remotely, create an inbound rule in the firewall that allows the connection
to the server's TCP port (the default port is 30600).
4. To ensure Inspire Scaler works correctly, disable on the server all the network adapters but the one Scaler
uses for its connection to the network (public or private).
5. Repeat steps 2-4 until you have installed all of the desired nodes.
In the Stateless Architecture, it is recommended to keep a local storage for each node because:
● With limitless scaling, many nodes accessing the same shared storage could bottleneck Inspire Scaler's
production speed.
● The Checkpoint and Interaction Point workflow modules are unavailable in the Stateless Architecture.
These modules use the shared storage for their node failure protection functionality.
Azure Kubernetes Service For more information, see the Deployment of Inspire Flex Using Azure Kubernetes
Service document.
Elastic Kubernetes Service For more information, see the Deployment of Inspire Flex Using Elastic Kubernetes
Service document.
OpenShift® For more information, see the Deployment of Inspire Flex Using OpenShift document.
Ansible® You can easily create custom scenarios that deploy, update, or uninstall solutions automatically.
For more information, see the Deployment of Inspire Flex Using Script document.
4 Post Installation Steps
● Manual Run
● Shutdown
TIP When running a single node installation, we strongly recommend that you use a secure connection
to Inspire Scaler.
Manual Run
You can start/stop the Scaler/SEN servers manually:
2. Run start.bat (Windows) / start.sh (Unix based OS) to start each server.
4. Run stop.bat (Windows) / stop.sh (Unix based OS) to stop each server.
NOTE If the components do not run, make sure that you have a valid license and check the components'
logs.
2. Define the name and the description of each service using the ServiceName and ServiceDisplayName
parameters in the ntservice.ini file.
4 Post Installation Steps | 69
4.1 Running Scaler and Scenario Engine
3. Optionally, you can open the custom_config.bat file and set environment variables for each component.
EXAMPLE
set CX_LICENSE=ls
5. Set a specific Windows user to run each service in the configuration of the related Windows services.
NOTE
● If the components do not run, make sure that you have a valid license and check the components'
logs.
● When Scaler is installed as a Windows service, mapped network drives are not available. That
applies regardless of whether the user is running the same account as the user currently logged
in because a service only runs under the 'user credentials', but is not logged in.
To access a mapped network drive (e.g. to use it as a shared storage), you have these options:
● scaler.service
● sen.service
3. Adjust the User parameter in each file within the [Service] segment to reference a UNIX system user.
4. Optionally, you can open the custom_config.sh file and set environment variables for each component.
4 Post Installation Steps | 70
4.2 Securing Scaler
EXAMPLE
export CX_LICENSE="ls"
NOTE If your Unix service fails to start, it automatically tries to start up again every 60 seconds.
TIP To adjust the behavior of each Unix service, you can use the scaler.service or sen.service file.
Shutdown
This section describes Scaler and SEN behave when they are being shut down:
Scaler
1. Scaler waits 30 seconds before shutting down to finish any unfinished jobs while no new jobs are accepted.
2. Depending on your Scaler environment, jobs that do not finish within the 30 second window may be affected
differently:
● If your environment is a cluster, your jobs fail after you restart the node.
● If your environment is not a cluster, you lose all information about any unfinished jobs.
SEN
Scenario Engine waits 30 seconds before shutting down after the system service is stopped. This gives SEN time
to wait for Scaler to finish any unfinished jobs belonging to delivery scenario jobs. Scaler jobs that do not finish
within the allocated time period fail. The given delivery scenario jobs remain in progress and the failed Scaler
jobs are reprocessed by another SEN and Scaler node.
● Encryption
● Database Security
● Workflow Modules
● Role Management
4 Post Installation Steps | 71
4.2 Securing Scaler
Encryption
ICM Communication Encryption By default, the communication between Scaler and ICM is encrypted using a
self-signed TLS certificate generated by ICM.
Consider using a custom certificate signed by a certification authority to encrypt the communication. For
more information, see the ICM Trusted Domain Settings section of Inspire Scaler User Manual.
Password Encryption Scaler maintains various passwords in its database, configuration files, and in the WFS
(workflows) files stored in ICM. By default, those passwords are encrypted using an AES 256 bit key with a
random initialization vector.
We recommend that you use a custom encryption key to encrypt the passwords. Learn how to do that in
the Custom Password Encryption Key section of Inspire Scaler User Manual.
According to the RFC 6265 standard , cookies do not provide isolation by port. If a cookie is readable by a
service running on one port, the cookie is also readable by a service running on another port of the same server.
If a cookie is writable by a service on one port, the cookie is also writable by a service running on another port of
the same server.
For this reason, the servers that run your Scaler nodes should not run other distrusting services on different ports
of the same host and use cookies to store security-sensitive information.
Database Security
Encrypted Communication Ensure that the communication between Inspire Scaler and its database is encrypted.
This is especially important when Inspire Scaler and the database communicate over the Internet. In other
words, when they communicate via an unsecured infrastructure. This prevents malicious third parties from
listening in on the communication.
By default, the communication between the database and Inspire Scaler is encrypted, trusting all certificates.
This behavior is handled by the database connection string maintained in the configuration.xml file.
Database Access Because all the settings configured in the Administration section are stored in Inspire
Scaler's database, it is important to define security rules for accessing the database to prevent unauthorized
users from attacking the system.
Consider configuring firewall rules (on the server that runs the database), only allowing access to specific
IP addresses.
4 Post Installation Steps | 72
4.2 Securing Scaler
Workflow Modules
ICM Importer / ICM Exporter ICM resources contained within an exported package always come with the related
ICM user groups. These user groups will overwrite the user groups of the target ICM.
If this is not the behavior you require, you can adjust it by disabling the overwrite features within the target
ICM:
Script / Groovy Script Both modules can manipulate and compromise local hard disks.
You can avoid this by running Inspire Scaler with a local user, whose system permissions are limited.
Command Line Executor Can be used to run potentially compromising system commands.
2. Insert the AllowDangerousModules element into the file and set its value to false.
Role Management
To avoid damaging manipulation with production workflows, disable the Workflows — Manage user role
rights:
1. Access the ICM Explorer of the ICM instance connected to your Scaler production environment.
3. As the Administrator, log into Inspire Scaler and go to ADMINISTRATION | Authentication | Role Man-
agement.
4. Create the desired user roles without assigning the Administration — Manage rights to them.
5. Assign the empty Inspire Content Manager Group, which you created in step 2, to the Administrator
user role.
4 Post Installation Steps | 73
4.3 Checking Production Readiness
● Inability to log into your production environment using the Administrator role. This means that the
WORKFLOWS / Manage rights associated with this user role are obsolete.
● Inability of the other user roles, whose users can log into your production environment, to manipulate with
the Role Management settings.
It is enabled by default because other parties that integrate with Inspire Scaler (e.g. Inspire Interactive) rely on
this setting.
Consider disabling it to prevent a potential attacker from verifying your system's status after an attack.
A heap dump may contain sensitive information (e.g. passwords and user data). We recommend that you set
up a process for securely handling heap dumps so that they are not distributed to unauthorized people.
○ The number of running nodes must correspond to your expected cluster size.
4 Post Installation Steps | 74
4.4 Configuring Program and JVM Arguments
See the Expected Number of Nodes setting in the Cluster Settings tab of Scaler's administration.
○ All running nodes must be visible in the cluster diagram available in the System Status tab of
Scaler's administration.
If you notice any cluster issues using the System Status tab, you must adjust your environment:
1. Ensure that you allowed your cluster nodes to communicate with each other:
b) Configure the rule to allow the IP addresses of the other cluster nodes to connect to the 5701-5705,
30600 (default installation ports) range of TCP ports.
c) Do not allow any other addresses to connect to those ports to prevent unauthorized access to your
nodes.
2. Ensure that the TCP ports allowed in the inbound firewall rule are functional. Otherwise, Scaler may not
work correctly.
1. Stop Scaler.
● custom_config.bat (Windows)
● custom_config.sh (Unix)
To learn about the available arguments, see the Argument Types section.
EXAMPLE
Windows
set CUSTOM_JVM_ARGS=-Xmx3072m
Unix
export CUSTOM_JVM_ARGS="-Xmx3072m"
4 Post Installation Steps | 75
4.4 Configuring Program and JVM Arguments
Argument Types
This section lists the types of arguments that you can use to configure the CUSTOM_JVM_ARGS property in the cus-
tom_config file:
JVM Arguments Are Java options that change the behaviour of the Java Virtual Machine (JVM) that runs Scaler.
● -Xmx – Adjusts Scaler's heap memory allocation. For more information, see the Allocating System
Memory section.
● -Dmail.smtp.ssl.protocols – Specifies the SSL protocols to be enabled for SSL connections between
Scaler and an SMTP server configured in the SMTP Server section on Scaler's Administration page.
This argument is part of the properties available in the following JavaMail API package:
com.sun.mail.smtp .
Program Arguments Are Scaler-specific values that the application code expects and processes.
Arguments Description
-Dhttp.proxyUser
-Dhttp.proxyPassword
-Dhttps.proxyUser
4 Post Installation Steps | 76
4.5 Allocating System Memory
Arguments Description
-Dhttps.proxyPassword
-Dhttp.nonProxyHosts
-Djdk.http.auth.tunneling.disabledSchemes=""
Heap Memory A runtime data area that is used to allocate memory for all Java class instances and Arrays. The
heap memory is created when Scaler starts up. It may increase or decrease in size while the application runs.
NOTE See the Adjusting Heap Memory Allocation section to learn more about heap memory.
Non-Heap Memory A data area created when Scaler starts. It stores information about loaded classes, is used
by Java threads, and JVM's garbage collector uses it as a data storage.
Other A data area that Scaler uses to store the JVM code itself, JVM internal structures, loaded profiler agent
code, data, etc.
CAUTION Avoid adjusting the non-heap and other memory parts to prevent your system from malfunc-
tioning.
Test your Inspire Scaler solution before going into production to ensure that it does not run out of memory under
the expected load.
The default memory size may not be sufficient enough if your solution produces simultaneously many jobs that
process large amounts of data.
● The amount of memory which may be consumed by the other JVM memory parts (non-heap and
other).
4 Post Installation Steps | 77
4.6 Configuring Single Sign-On
The non-heap memory can often consume more memory than the heap memory.
● The amount of memory consumed by the other processes running on your nodes.
2. When increasing the default size, do it incrementally to find a reasonable minimum size. Use your pre-
production environments to test each increment until you find the best value.
EXAMPLE
Windows
set CUSTOM_JVM_ARGS=-Xmx3072m
Unix
export CUSTOM_JVM_ARGS="-Xmx3072m"
To learn how to configure and enable single sign-on, see the Single Sign-On section of Inspire Scaler User
Manual.
○ activemq-client-<version>.jar
○ geronimo-j2ee-management_<version>_spec-<version>.jar
○ hawtbuf-<version>.jar
Learn about these settings in the Configuration Files chapter of the Inspire Scaler User Manual.
If your database runs out of space, the following issues may occur:
● The System Status diagram available on Scaler's Administration page may stop being accurate.
A lack of database space prevents the system status from being updated.
● Scaler's buffer memory threshold would eventually fill up, causing your workflows to stop producing
jobs.
To automatically manage the growth of your database, consider configuring the following types of data retention
periods:
● Job retention period – Regularly deletes records about finished jobs from the database and shared storage.
To learn how to configure it, see the Job Retention Period section of Inspire Scaler User Manual.
● Audit data retention period – Regularly deletes audit-related records from the database.
To learn how to configure it, see the Audit Data Retention Period section of Inspire Scaler User Manual.
● HTTPS Configuration
2. Adjust the configuration of one of the following files to suit your environment:
● generate_keystore.bat (Windows)
● generate_keystore.sh (Linux)
4 Post Installation Steps | 79
4.10 Configuring IPS Load Balancing
3. Run the file whose configuration you adjusted to generate the keystore.
HTTPS Configuration
To configure HTTPS for Inspire Scaler after the installation, or to change its previous configuration:
IPS load balancing can be enabled after installation. Learn about this feature in the Inspire Production Server
Load Balancing section of Inspire Scaler User Manual.
Install additional Inspire Production Servers and define the ports on which they run using the ProductionServ→
ers.ProductionServer.Port element in the <Inspire_Scaler_installation_directory>\config\configuration.xml
file:
EXAMPLE
<ProductionServers>
<ProductionServer>
<Port>30354</Port>
</ProductionServer>
<ProductionServer>
<Port>30355</Port>
</ProductionServer>
<ProductionServer>
<Port>30356</Port>
</ProductionServer>
</ProductionServers>
5 Upgrade
NOTE Currently supported upgrades are listed in the Upgrades from Previous Versions section of the
Release Notes for the corresponding version of the application. These are available online from the Docu-
mentation portal in the Quadient University .
Upgrading to any version type (GA, FMAP or Hotfix) should only be performed using the official installer:
1. Stop Inspire Scaler and Scenario Engine (if it is installed) on all nodes.
2. When upgrading from a version earlier than 14.0 to a version 14.0 or later:
a) You must switch to JAVA 11 as this version has become the only supported Java runtime environment
for Scaler.
b) Ensure that the JAVA_HOME environment variable of your operating system points to the correct JAVA
version. For example: C:\Program Files\Java\jdk11.0.4_10.
3. The upgrade will overwrite the logging configuration inside the logger_config_server.xml file.
If this file was customized, back it up before upgrading so that you can quickly readjust the logging con-
figuration after the upgrade.
Instead, use the custom_logger_config.xml file because it is not overwritten if Inspire Scaler is
upgraded and its configuration (if it exists) is functionally merged with the default configuration.
4. If your previous installation uses the MSSQL database with Windows authentication, copy the MSSQL
authentication library into the <InstallerPackage-InspireScaler>\lib-ext folder before you run the installer.
Do not place any other libraries in the <InstallerPackage-InspireScaler>\lib-ext folder while upgrading
Scaler to avoid breaking your solution. To learn how to upgrade external libraries, see Upgrading External
Libraries.
5. Consider adjusting the default connection socket timeout between Scaler and the database.
7. Study the Upgrading Database Structure section to learn about the usage of the Create database
structure manually check box.
8. Start Inspire Scaler and Scenario Engine (if it is installed) on all nodes.
5 Upgrade | 82
5.1 Upgrading from Previous Versions
TIP If Inspire Scaler fails to start, try the solution in the Troubleshooting section.
1. For emergency purposes, create a backup of your original installation directory, database, log files and
the logging configuration files.
b) Define the path to the directory of the previously installed Scaler instance.
3. If you are upgrading from a Scaler installation that does not include Scenario Engine, the upgrade installer
allows you to install Scenario Engine using these steps:
● Scenario Engine
The installation takes its configuration (license, database, ICM, IPS, etc.) from the previously installed in-
stance.
5 Upgrade | 83
5.2 Upgrading Database Structure
3. Modify the installation directory to correspond with the directory you wish to upgrade.
This upgrades Inspire Scaler and Scenario Engine (if it is running) and restarts their system services.
When upgrading Scaler, use the Upgrade database structure manually check box (available in the Database
Connection installer step) if you want to upgrade databases manually.
5 Upgrade | 84
5.2 Upgrading Database Structure
If Scenario Engine Is Already Installed If checked, you must manually upgrade the databases of both Scaler
and Scenario Engine.
If Scenario Engine Is Not Installed If checked, you must manually upgrade the databases of only the Scaler
databases.
● Automatic upgrade
● Manual upgrade
Automatic Upgrade
To let Scaler upgrade the database structures automatically under the database user defined in the installer,
leave the Create database structure manually check box unchecked.
Manual Upgrade
IMPORTANT When upgrading from a Scaler version earlier than 14.0 SP5, manual upgrade is only
supported partially. Scaler will perform some upgrade operations automatically, exporting the SQL scripts
for the rest. This means that the database user entered in Scaler's installer still requires the minimum
database user rights.
To upgrade the database structures manually under a database user of your choice:
Cluster You must complete the following steps only for the first node of your cluster:
● config/sql – Contains the SQL script for upgrading the Scaler database.
● sen/config/sql – Contains the SQL script for upgrading the Scenario Engine database.
5. Get the generated SQL scripts and execute them in the databases that you defined while installing
Scaler:
5 Upgrade | 85
5.2 Upgrading Database Structure
MSSQL upgradeMSSQL.sql
a
Oracle upgradeOracle.sql
PostgreSQL upgradePostgreSQL.sql
MySQL upgradeMySQL.sql
a
See the important note below the manual creation instructions.
8. Delete the SQL scripts after you have upgraded your solution to avoid damaging your database in
the future by accidentally using the scripts on different versions of Scaler and Scenario Engine.
IMPORTANT
● The upgradeMSSQL.sql file contains GO statements. You must run the file using an application
that is able to process those statements.
● When executing SQL scripts in Oracle databases, set the AutoCommit property of your database
session to false.
This ensures your are able to perform a rollback if an error occurs during the script execution.
Stateless Architecture To upgrade the structure of your stateless architecture database manually, follow the
cluster upgrade steps and complete them only for the first node of your stateless architecture.
NOTE Stateless architecture does not support Scenario Engine. Using the Create database structure
manually check box only applies to the Scaler database.
Multi Cluster You must complete the following steps only for the first node of every new cluster in your multi
cluster:
● config/sql – Contains the SQL script for upgrading the Scaler database.
● sen/config/sql – Contains the SQL script for upgrading the Scenario Engine database.
5. Get the generated SQL scripts and execute them in the corresponding databases that you defined
while installing the first node of a cluster:
5 Upgrade | 86
5.3 Adjusting Database Socket Timeout
a
Oracle upgradeOracle.sql upgradeCommonOracle.sql
a
See the important note below the manual creation instructions.
The database structures upgraded manually for the first node of every new cluster are ready to be
used by the other nodes in your clusters.
8. Delete the SQL scripts after you have upgraded your solution to avoid damaging your database in
the future by accidentally using the scripts on different versions of Scaler.
IMPORTANT
● The upgradeMSSQL.sql and upgradeCommonMSSQL.sql files contain GO statements. You must run
the file using an application that is able to process those statements.
● When executing SQL scripts in Oracle databases, set the AutoCommit property of your database
session to false.
This ensures your are able to perform a rollback if an error occurs during the script execution.
You can adjust the default database socket timeout to suit your needs:
1. Before starting the upgrade, depending on your upgrade method, open the corresponding installer file:
5 Upgrade | 87
5.3 Adjusting Database Socket Timeout
2. Insert the -Dscaler.db.upgrade.network.timeout parameter into the file and adjust its value (in milliseconds)
to suit your needs.
EXAMPLE
GUI Installer
Windows
start /b "" %_EXECJAVA% -Djava.library.path=lib-ext -Dscaler.db.upgrade.net→
work.timeout=18000000 -jar scaler-installer.jar -i gui
Unix
"$_EXECJAVA" "-Dscaler.db.upgrade.network.timeout=18000000" -jar scaler-installer.jar
-i gui 2> ./installer.err
CLI Installer
Windows
%_EXECJAVA% %SCALER_ADD_OPENS% -Djava.library.path=lib-ext -Dscaler.db.upgrade.net→
work.timeout=18000000 -jar scaler-installer.jar -i cli
Unix
"$_EXECJAVA" $SCALER_ADD_OPENS "-Dscaler.db.upgrade.network.timeout=18000000" -jar
scaler-installer.jar -i cli
Silent Installer
Windows
%_EXECJAVA% %SCALER_ADD_OPENS% -Djava.library.path=lib-ext -Dscaler.db.upgrade.net→
work.timeout=18000000 -jar scaler-installer.jar -i silent
Unix
"$_EXECJAVA" $SCALER_ADD_OPENS "-Dscaler.db.upgrade.network.timeout=18000000" -jar
scaler-installer.jar -i silent
NOTE
● To be able to set the right value, we recommend that you test your upgrade on a testing environment
containing a similar amount of data to your production environment.
5 Upgrade | 88
5.4 Upgrading External Libraries
2. Place the new library into the lib-ext folder in Scaler's installation directory.
3. Remove the old library from the lib-ext folder in Scaler's installation directory.
WARNING Do not try to upgrade external libraries using the lib-ext folder in Scaler's installer package
while upgrading Inspire Scaler to avoid breaking your solution.
The lib-ext folder in Scaler's installer package is only used for new installations (e.g. to provide the MySQL
driver for the first time).
If you used Java Security Manager before Scaler version 15.0, you must remove it when upgrading to version
15.0 or later:
2. Remove the following parameters from the custom_config.bat (Windows) or custom_config.sh (Unix) file:
-Djava.security.manager -Djava.security.policy=../config/scaler.policy
EXAMPLE
Change C:/Quadient/Inspire Scaler to C:/Quadient/InspireScaler.
2. See if there are any files with the same name as the first word in Scaler's installation directory name that
share the same path. Rename, move, or delete such files.
EXAMPLE
● C:/Program
● C:/Program Files/Common
● delete_icm_cache.bat (Windows)
● delete_icm_cache.sh (Linux)
6 Troubleshooting | 91
6.3 Login Issues Immediately After Installation
If the issue persists, an incorrectly initialized prerequisite may be the cause. Use the Health Check API to get
the status of all prerequisites and use the information you get to fix the issue.
● Job Monitoring
To fix the issue, ensure that WebSockets are enabled on your load balancer.
Windows
Unix
su
./LicenseRegistryInstaller-amd64
3. Immediately after step 2, run the following command to ensure that the previous command was successful:
echo $?
This returns the status of the last executed command. The expected return value is 0.
6 Troubleshooting | 92
6.6 Unexpected Login Prompt
If you are prompted to do so, consider this faulty behavior which you can work around:
To fix the error, you must increase the value of the max_allowed_packet setting of your database.
1. If you installed Inspire Scaler as a service, uninstall it by running one of these files:
Windows <Inspire_Scaler_installation_directory>\bin\uninstall_win_service.bat
Unix <Inspire_Scaler_installation_directory>\bin\uninstall_unix_service.sh
1. Sign in to the Inspire Scaler web application and decrease the Expected Number of Nodes accordingly
in the ADMINISTRATION |Cluster and Scaling | Cluster Settings section, i.e. enter the number of all the
nodes that will form the cluster.
2. Adjust the configuration of your HTTP load balancer to reflect the uninstallation of the node.
3. Access the machine of the node you wish to remove and stop the Inspire Scaler service.
Inspire Scaler waits 30 seconds before shutting down to finish any unfinished jobs while no new jobs are
accepted.
4. Go to the ADMINISTRATION |System Monitoring | System Status section and check that the installation
schema reflects the changes, i.e. displays all the currently running nodes.
WARNING Do not uninstall your ICM and database as these are shared across the whole cluster.
7 Uninstallation | 95
7.3 Uninstalling Clusters No Longer Required in Multi Cluster
1. Access the database dedicated to the cluster you are uninstalling and do the following:
a) Export the contents of the FINISHED_JOBS and JOBS_RETENTION tables and import them into the same
tables within the database dedicated to one of the remaining clusters.
This ensures the jobs finished by the cluster you are uninstalling remain traceable in Job Search and
that the job retention period is preserved.
b) Create a backup of the AUDIT_LOG table to preserve the information about the occurred system oper-
ations.
2. Export the contents of the shared storage dedicated to the cluster you are uninstalling and import them
into the shared storage dedicated to the same cluster, into which you imported the FINISHED_JOBS and
JOBS_RETENTION tables.
This preserves the ability to resubmit the jobs processed by the cluster you are uninstalling.
3. Access the common database shared across the multi cluster and delete the record about the cluster you
are uninstalling. To do this, use the following SQL statement:
NOTE Replace ClusterNumber3 for the actual name of the cluster you are uninstalling.
4. Uninstall all the Inspire Scaler nodes by following the instructions in the Uninstalling Inspire Scaler section.