Loftware Spectrum Installation and Configuration Guide
Loftware Spectrum Installation and Configuration Guide
Version 4.7.1
Loftware, Loftware Spectrum, LLM, Loftware Label Design, Loftware Print Server, LPS, Loftware
Connector, Global Marking Solutions, I-Push, and I-Pull are all registered trademarks of Loftware,
Inc. Loftware WebAccess, LWA, and Loftware Web Services are trademarks of Loftware, Inc. SAP is
a registered trademark of SAP AG in Germany and in several other countries. Oracle and Java are
registered trademarks of Oracle and/or its affiliates. All other marks are the property of their
respective owners. Loftware Spectrum contains barcode components licensed from
IDAutomation.com, Inc. These products may only be used as part of and in connection with Loftware
Spectrum.
This section describes how to prepare for and install Loftware Spectrum®. For
information on upgrading from an existing version of Spectrum, see Upgrading Loftware
Spectrum.
Note: The order of the tasks is important. The Spectrum database must be installed
before the Spectrum application.
l License Spectrum
l Sign in to Spectrum
l Installing for Distributed Services (if applicable)
l Installing a Multi-Site Deployment (if applicable)
l Installing Loftware DaVinci (if applicable)
l Configuring HTTPS
l Installing the Command Line Interpreter (CLI)
l Configuring Spectrum
Important: Be sure to review the Release Notes included in the release package for
additional information, such as known issues and workarounds related to installing,
upgrading, and using Spectrum.
Installation Checklist 12
This section helps you plan and prepare for the installation of Loftware Spectrum.
Loftware recommends that you fill out the following table to use as a guide during the
installation process.
What is the operating system of the computer you are using to Windows Server
install the Spectrum database? Linux
What is the operating system of the computer you are using to Windows Server
install the Spectrum application? Linux
If you are installing the Spectrum database in Oracle, gather the following information
before beginning the installation process. Loftware recommends that you fill out the
following table to use as a guide during the installation process. The Response column
contains examples in italics.
If you are installing the Spectrum database in PostgreSQL, gather the following
information before beginning the installation process. Loftware recommends that you fill
out the following table to use as a guide during the installation process. The Response
column contains examples in italics.
You can use Amazon Relational Database Service (Amazon RDS) for Oracle Database
or for PostgreSQL for your Spectrum database (LoftStore).
You can provide high availability and failover to your database by using Amazon's Multi-
AZ deployment. Multi-AZ Deployment can be selected when creating a database
instance or restoring a snapshot, or you can convert an existing database instance from
Amazon's console.
Note: When failing over to a different Availability Zone, there will be a 60 to 120 second
interval during which the Spectrum Application Server cannot connect to the database.
For more information about how Amazon RDS handles failover, see Amazon Relational
Database Service - High Availability (Multi-AZ).
The following ports need to be opened for UDP and TCP inbound and outbound.
Note: Although these are the default ports, your site may use different port assignments.
l 8080 l 61616
l 8443 l 16161
l 1521
When the main installation tasks on the server are complete, there are additional options
packaged in files that reside on the Spectrum Application Server in the following location:
<SPECTRUM_HOME>\product\webapps\downloads\
To download the packages from a remote client computer using a browser, use the
following address:
http://<SpectrumServer>:8080/downloads/
Note: Although 8080 is the default port assignment, your site may use a different port
assignment.
Loftware Spectrum uses a dedicated persistent data structure named LoftStore as the
Spectrum database. This can be installed into an existing Oracle database or
PostgreSQL database. Alternatively, you can use Amazon Relational Database Service
(Amazon RDS) for Oracle Database or for PostgreSQL.
This section describes how to install the Spectrum database, LoftStore. Before
performing the procedures in this section, be sure you have reviewed and completed the
questions in Preparing for Installation.
To install the Spectrum database, use the following procedure for your operating system
and database:
The Spectrum database is a dedicated persistent data repository called LoftStore that
can be installed in an existing Oracle database on Amazon RDS, a local server, or a
private cloud. This section describes how to install the Spectrum database in Oracle on a
server running a Windows Server operating system.
Installing the Spectrum database in Oracle on Windows Server involves the following
tasks:
A. Check Prerequisites
B. Create Installation Folders
C. Install the Spectrum Database (LoftStore)
A. Check Prerequisites
The prerequisites for the Spectrum Database Server include the following.
Perform the following steps on the client computer and the Spectrum Database Server.
Recommended Location
C:\Loftware\Spectrum\LoftStore
Example
4. On the Spectrum Database Server, identify or create a folder for the data load. This
can be a temporary folder.
5. From the \exports folder you extracted, copy LOFTSTORE.DMP to the data load
folder.
6. On the Spectrum Database Server, identify or create a folder for the Spectrum
archive data. This folder must be managed for long term archive data collection. For
more information, see Managing Offline Storage.
Example
C:\Loftware\Spectrum\LoftStore\exports\archive
7. On the Spectrum Database Server, identify or create a folder for the new Oracle
datafiles.
Important! Do not accept the default values, because they only offer a
limited local configuration. Loftware recommends specifying values for the
installation prompts that match your site's configuration.
ORACLE_HOME defines the full folder path of the Oracle components on the
client computer running the installation. The default value is imported from the
system variable of the same name. If you do not accept the default value, you
can set this location as a system variable for easier reference. Example:
C:\app\oracle\product\12.x.x\dbhome_1.
The Spectrum database name without domain distinguishes it from any other
databases on the server. Example: orcl or loftstore
Database domain identifies the network domain for this database. Example:
loftwareinc.com
The hostname of the Spectrum database identifies the server where the
database is installed. Example: DBServer or localhost
The port value on the database server for the Spectrum database, which
identifies the TCP/IP endpoint for a host connection. Example: 1521
The database connection type to use, which must be one of the following:
l The System Identifier (SID) identifies a specific instance of the database
on your server.
l The Service Name (SN) is a representative name for the database,
which is usually the Global database name, consisting of the database
and domain names. The SN needs to be the fully qualified service name
your site uses. Consult your database administrator for your site's fully
qualified naming convention.
The System Identifier (SID) or Service Name (SN) of the specific instance of
the Spectrum database on your server.
l Example for SID: loftstore or orcl
l Example for SN: orcl.loftwareinc.com
The database data file location contains the actual data for the Spectrum
database. This path must be available to the database server. Example:
C:\app\Administrator\oradata\orcl
Example
mycustomname_spectrum_main
mycustomname_spectrum_audit
mycustomname_spectrum_arch
mycustomname_spectrum_cust
mycustomname_spectrum_davinci
Job archive datafile location is where print jobs and all related messages are
stored after they go out of the database. This path must be available to the
database server. Example:
C:\Loftware\Spectrum\LoftStore\exports\archive
Job archive retention specifies the how many months you want to store the
archive data. The number of months does affect database size. Example: 12
Note: You may see error messages regarding dropping user and
tablespaces during ls_schemas processing, permission denied to set
parameter "loft_spec.user_id", tables declared WITH OIDS are not
supported, or cannot issue GRANT on the "pg_write_server_files" role.
These errors can be ignored at this time.
Next Step
You have completed installing the Spectrum database. Continue with Installing
the Spectrum Application.
The Spectrum database is a dedicated persistent data repository called LoftStore that
can be installed in an existing Oracle database on Amazon RDS, a local server, or a
private cloud. This section describes how to install the Spectrum database in Oracle on a
server running a Linux operating system.
Installing the Spectrum database in Oracle on Linux involves the following tasks:
A. Check Prerequisites
B. Create Installation Folders
C. Install the Spectrum Database (LoftStore)
A. Check Prerequisites
The prerequisites related to the Spectrum Database Server include the following.
Perform the following steps on the client computer and the Spectrum Database Server.
Recommended Location
/opt/loftware/spectrum/loftstore
Example
4. On the Spectrum Database Server, identify or create a folder for the data load. This
can be a temporary folder.
5. From the /exports folder you extracted, copy LOFTSTORE.DMP to the data load
folder.
6. On the Spectrum Database Server, identify or create a folder for the Spectrum
archive data. This folder must be managed for long term archive data collection. For
more information, see Managing Offline Storage.
7. On the Spectrum Database Server, identify or create a folder for the new Oracle
datafiles.
You must perform the Spectrum database installation as the Linux user that was created
during the installation of the Oracle Database software. This user is typically named
oracle and has the necessary privileges to run the Oracle administrative tools.
Important! Do not accept the default values, because they only offer a
limited local configuration. Loftware recommends specifying values for the
installation prompts that match your site's configuration.
ORACLE_HOME defines the full folder path of the Oracle components on the
client computer running the installation. The default value is imported from the
system variable of the same name. If you do not accept the default value, you
can set this location as a system variable for easier reference. Example:
/app/oracle/product/12.x.x/dbhome_1
Database domain identifies the network domain for this database. Example:
loftwareinc.com
The hostname of the database identifies the server where the Spectrum
database is installed. Example: DBServer or localhost
The port value on the database server for the Spectrum database, which
identifies the TCP/IP end point for a host connection. Example: 1521
The database connection type to use, which must be one of the following:
The database data file location contains the actual data for the Spectrum
database. This path must be available to the database server. Example:
/app/administrator/oradata/orcl
Job archive datafile location is where print jobs and all related messages are
stored after they go out of the database. This path must be available to the
database server. Example:
/opt/loftware/spectrum/loftstore/exports/archive
Job archive retention specifies the how many months you want to store the
archive data. The number of months does affect database size. Example: 12
Note: You may see error messages regarding dropping user and
tablespaces during ls_schemas processing, permission denied to set
parameter "loft_spec.user_id", tables declared WITH OIDS are not
supported, or cannot issue GRANT on the "pg_write_server_files" role.
These errors can be ignored at this time.
You have completed installing the Spectrum database. Continue with Installing
the Spectrum Application.
The Spectrum database is a dedicated persistent data repository called LoftStore that
can be installed in a PostgreSQL database. These instructions are for installing the
Spectrum database in PostgreSQL on a server running a Windows Server operating
system.
A. Check Prerequisites
B. Create Installation Folders
C. Install the Spectrum Database (LoftStore)
A. Check Prerequisites
The prerequisites for the Spectrum Database Server include the following.
l You have installed and are using a supported version of PostgreSQL for Spectrum
4.7.1. For the most recent list of supported PostgreSQL database versions, see
Requirements for Loftware Spectrum Database Server in the Spectrum User Guide
(Help).
To prepare for installation of the Spectrum database, perform the following steps on the
Spectrum Database Server.
2. Create a new folder for this installation package. This is referred to as your
<LOFTSTORE_HOME> folder.
Recommended Location
C:\Loftware\Spectrum\LoftStore
Example
4. For the Spectrum database tablespaces, decide which of the following you want to
use:
l Tablespaces created by the installer with default names (recommended).
l Tablespaces created by the installer with custom names.
l Tablespaces that already exist with custom names.
5. If you want to use tablespaces created by the installer with default names, skip this
step (recommended).
If you want to use tablespaces created by the installer with custom names or use
tablespaces that already exist with custom names, do the following.
a. Navigate to the setup folder you extracted, and then open the
loftstore.properties.tmpl file in a text editor.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces to be created by the installer or of the existing
tablespaces.
loftstore.tbsp.main=${cust_prefix}SPECTRUM_MAIN
loftstore.tbsp.audit=${cust_prefix}SPECTRUM_AUDIT
loftstore.tbsp.arch=${cust_prefix}SPECTRUM_ARCH
loftstore.tbsp.cust=${cust_prefix}SPECTRUM_CUST
loftstore.tbsp.davinci=${cust_prefix}SPECTRUM_DAVINCI
Example
6. Identify or create a folder to store the Spectrum archive data (the print job data and
related messages that are no longer in use). This folder must be managed for long-
term archive data collection. For more information, see Managing Offline Storage.
Example
C:\Loftware\Spectrum\LoftStore\exports\archive
7. The Spectrum archive data folder must be owned by the user who runs the
PostgreSQL service (the NETWORK SERVICE user). To grant the necessary
permissions to the archive data folder, do the following.
d. Click Add.
e. Under Enter the object names to select, type NETWORK SERVICE and
then click OK.
f. Under Permissions for NETWORK SERVICE, select all the check boxes
under Allow.
Important! Do not accept the default values, because they only offer a
limited local configuration. Loftware recommends specifying values for the
installation prompts that match your site's configuration.
The Spectrum database name without domain distinguishes it from any other
databases on the server. Example: Postgres11 or loftstore
The hostname of the Spectrum database identifies the server where the
database is installed. Example: DBServer or localhost
The port value on the database server for the Spectrum database, which
identifies the TCP/IP end point for a host connection. Example: 5432
Specify how many months you want to store the archive data. The number of
months affects database size. Example: 12
Enter the location of the PostgreSQL installation binary (bin) folder for
executable programs. Example: C:\Program
Files\PostgreSQL\11\bin
3. For the Spectrum database tablespaces, if you decided in an earlier step to use
existing tablespaces with custom names, skip this step.
If you decided to use tablespaces created by the installer with default names or
custom names, do the following to create the tablespaces.
Specify the folder where you want the tablespaces to be created. The folder
does not have to exist yet.
Example: C:\Loftware\LoftStore\data
Confirm the password for the Spectrum DaVinci database user (loftdvuser).
Note: You may see error messages regarding dropping user and
tablespaces during ls_schemas processing, permission denied to set
parameter "loft_spec.user_id", tables declared WITH OIDS are not
supported, or cannot issue GRANT on the "pg_write_server_files" role.
These errors can be ignored at this time.
5. On the Spectrum Database Server, do the following to set up archive jobs for
Spectrum.
Example
C:\Users\postgres\AppData\Roaming
Tip: To find the location of the AppData folder (also known as the
%APPDATA% system environment variable), open a Command Prompt
window and run the echo %APPDATA% command.
Example
C:\Users\postgres\AppData\Roaming\postgresql
d. Add the following text for the PostgreSQL administrator login role:
<hostname>:<port>:<database>:<username>:<password>
Example
localhost:5432:loftstore:postgres:mypassword
g. Run the following command to add the Spectrum Archive jobs to the Windows
Task Scheduler:
schedule_jobs
Tip: PostgreSQL remote connections are closed by default. To open access for remote
connection, edit the IPv4 local connections address in the ~/data/pg_hba.conf file
on the PostgreSQL server before installing the Spectrum application.
You have completed installing the Spectrum database. Continue with Installing
the Spectrum Application.
The Spectrum database is a dedicated persistent data repository called LoftStore that
can be installed in a PostgreSQL database. These instructions are for installing the
Spectrum database in PostgreSQL on a server running a Linux operating system.
Installing the Spectrum database in PostgreSQL on Linux involves the following tasks:
A. Check Prerequisites
B. Create Installation Folders
C. Install the Spectrum Database (LoftStore)
A. Check Prerequisites
The prerequisites for the Spectrum Database Server include the following.
l You have installed and are using a supported version of PostgreSQL for Spectrum
4.7.1. For the most recent list of supported PostgreSQL database versions, see
Requirements for Loftware Spectrum Database Server in the Spectrum User Guide
(Help).
Note: By default, the PostgreSQL system user does not have a password. If you
prefer not to give this user a password, you may run the installation scripts as a
sudo user from a login shell for the PostgreSQL system user (for example, sudo
su - postgres), however the sudo user cannot run the scripts directly.
l You have set the system environment variable PATH to reference the location of
the psql utility.
l For an existing database, you have considered any password expiration policies
that could impact the behavior of the Spectrum instance and have made allowances
as needed for the Spectrum database user (default is loftuser). For more
information, refer to PostgreSQL Database Roles.
To prepare for installation of the Spectrum database, perform the following steps on the
Spectrum Database Server.
2. Create a new folder for this installation package. This is referred to as your
<LOFTSTORE_HOME> folder.
Recommended Location
/opt/loftware/spectrum/loftstore mkdir -p
Example
4. Ensure that the loftstore folder, all subfolders, and all files are owned by and
accessible to the PostgreSQL system user or modify if necessary.
5. For the Spectrum database tablespaces, decide which of the following you want to
use:
l Tablespaces created by the installer with default names (recommended).
l Tablespaces created by the installer with custom names.
l Tablespaces that already exist with custom names.
6. If you want to use tablespaces created by the installer with default names, skip this
step (recommended).
If you want to use tablespaces created by the installer with custom names or use
tablespaces that already exist with custom names, do the following.
a. Navigate to the setup folder you extracted, and then open the
loftstore.properties.tmpl file in a text editor.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces to be created by the installer or of the existing
tablespaces.
loftstore.tbsp.main=${cust_prefix}SPECTRUM_MAIN
loftstore.tbsp.audit=${cust_prefix}SPECTRUM_AUDIT
loftstore.tbsp.arch=${cust_prefix}SPECTRUM_ARCH
loftstore.tbsp.cust=${cust_prefix}SPECTRUM_CUST
loftstore.tbsp.davinci=${cust_prefix}SPECTRUM_DAVINCI
loftstore.tbsp.main=mycustomname_spectrum_main
loftstore.tbsp.audit=mycustomname_spectrum_audit
loftstore.tbsp.arch=mycustomname_spectrum_arch
loftstore.tbsp.cust=mycustomname_spectrum_cust
loftstore.tbsp.davinci=mycustomname_spectrum_davinci
7. On the Spectrum Database Server, identify or create a folder to store the Spectrum
archive data (the print job data and related messages that are no longer in use).
This folder must be owned by the PostgreSQL system user and managed for long-
term archive data collection. For more information, see Managing Offline Storage.
Example
To install the Spectrum database, perform the following steps as the PostgreSQL system
user.
1. Open a terminal and navigate to the setup folder created when you extracted the
LoftstoreLoad-PSQL.zip file.
Important! Do not accept the default values, because they only offer a
limited local configuration. Loftware recommends specifying values for the
installation prompts that match your site's configuration.
The Spectrum database name without domain distinguishes it from any other
databases on the server. Example: postgres11 or loftstore
The hostname of the Spectrum database identifies the server where the
database is installed. Example: dbserver or localhost
The port value on the database server for the Spectrum database, which
identifies the TCP/IP end point for a host connection. Example: 5432
The location you identified or created in a previous step to store the Spectrum
archive data. This location must be available to the database server.
Example: /opt/loftware/spectrum/loftstore/exports/archive
Specify how many months you want to store the archive data. The number of
months affects database size. Example: 12
The location of the PostgreSQL installation binary (bin) folder for executable
programs. Example: /opt/postgreSQL/11/bin
Specify the folder where you want the tablespaces to be created. The folder
does not have to exist yet.
Example: /opt/loftstore/data
Confirm the password for the Spectrum DaVinci database user (loftdvuser).
5. On the Spectrum Database Server, do the following to set up archive jobs for
Spectrum.
a. Create a .pgpass password file owned by the PostgreSQL System User and
located in that user's home folder (/home/<username>). If the file is created in
any other directory, the directory must be accessible to the PostgreSQL
System User, and an environment variable named PGPASSFILE must be set
to specify the file. If the PGPASSFILE environment variable is needed, it
should be defined in /etc/environment. Otherwise this variable will not be
available to the crontab jobs created by schedule_jobs.sh.
b. Add the following to the .pgpass file for the PostgreSQL administrator login
role:
<hostname>:<port>:<database>:<username>:<password>
Example
localhost:5432:loftstore:postgres:mypassword
Example
Example
Tip: PostgreSQL remote connections are closed by default. To open access for remote
connection, edit the IPv4 local connections address in the ~/data/pg_hba.conf file
on the PostgreSQL server before installing the Spectrum application.
Next Step
You have completed installing the Spectrum database. Continue with Installing
the Spectrum Application.
This section describes how to install the Loftware Spectrum® application. Before
performing the procedures in this section, be sure you have completed Preparing for
Installation and Installing the Spectrum Database.
To install the Spectrum application, use the following procedure for your operating
system and database:
This section describes how to install the Loftware Spectrum application on a server
running the Windows Server operating system. Before performing the procedures in this
section, be sure you have completed Installing the Spectrum Database.
To install the Spectrum application, perform the following steps as a user with
administrator privileges.
1. Verify that resolutions for all hostnames are working, including your Spectrum
Application Server.
3. Navigate to the folder where you copied the SpectrumWeb file and double-click the
file. The progress of the installation file extraction is displayed. This may take
several minutes.
7. In the Installation Type dialog, select Initial and then click Next.
a. Under Spectrum database option, select whether you have installed the
LoftStore database into PostgreSQL or Oracle database.
b. Enter the JDBC connection string to database in the appropriate format for
your database type:
l PostgreSQL:
jdbc:postgresql://<Host_or_IPaddress>:<port>/<DatabaseName>
Example: jdbc:postgresql://MyHostName:5432/loftstore
Important! Do not use "localhost" in the string, as this may cause the
installation to fail in a later step. Instead, use the host name or IP address.
d. If you have unique names for the LoftStore schema, select the Use custom
database schema names check box. This is not recommended unless you
are installing Spectrum Cloud and need to match schema names with
headquarters.
Note: Click Help > About and then click Schema configuration to view the
schema names in an existing instance.
e. Click Next.
a. Under Credentials for Spectrum database user, enter the username (default
is loftuser) and password that you set for the Spectrum database user during
the Spectrum database installation.
b. Under Credentials for DaVinci database user, enter the username (default is
loftdvuser) and password that you set for the DaVinci database user during
the Spectrum database installation.
c. Click Next.
10. If you selected the Use custom database schema names check box in a previous
step, enter the names in the Schema Configuration dialog and then click Next. The
schema names should match those configured at headquarters.
Note: Click Help > About and then click Schema configuration to view the
schema names in an existing instance.
l Spectrum: example1_loftspec
l Audit: example1_loftaudit
l Archive: example1_loftarch
l Reports: example1_loftreports
l Admin: example1_loftadmin
l Cross Reference: example1_loftxref
l DaVinci: example1_loftdv
b. Under Secure Integration, select whether the JMS integrations are secure
(Yes) or not secure (No).
c. Click Next.
b. For Timeout, modify the number of minutes for a session timeout if desired.
l Security: A session that never times out can be accessed and used by
unintended users
l Efficiency: A session that never times out continues to use resources
until a sign out or Spectrum Application Server restart
c. For Memory, modify the Tomcat Java memory settings as needed for your
configuration of Spectrum. For additional information or assistance, contact
Loftware.
e. For Protocol, select whether you are going to use HTTP (not secure) or
configure HTTPS (secure) to connect to Spectrum.
g. Click Next.
13. Review the Pre-Installation Summary dialog. If correct, click Install to proceed with
the installation, otherwise click Previous to return to a previous step and change
settings as needed.
After clicking Install, the installation begins. This may take several minutes.
The Loftware Spectrum service is automatically started. You can verify that the Loftware
Spectrum service is running from the Services console in Windows Server.
Next Step
You have completed installing the Spectrum application. Continue with License
Spectrum.
This section describes how to install the Loftware Spectrum application on a Linux server.
Before performing the procedures in this section, be sure you have completed Installing
the Spectrum Database.
Important! If the new or existing user is not set up for "automatic" sudo, a
password prompt dialog box may display behind the installation window.
l Create the install location for the Spectrum application, which should be owned by a
member of group "loftware".
l Verify that resolutions for all hostnames are working, including your Spectrum
Application Server.
l The following instructions require a graphical user interface (GUI) based desktop
environment. To install the Spectrum application using command line, see Install
Spectrum Application on Linux using Command Line (AWS).
Note: The SpectrumWeb.bin file needs to be owned and run by the loftware user in
group "loftware".
3. From the terminal session, navigate to the folder where you copied the file.
4. Run the SpectrumWeb.bin file. The progress of the installation file extraction is
displayed. This may take several minutes.
Important! If the new or existing user is not set up for "automatic" sudo, a
password prompt dialog box may display behind the installation window. The GUI
desktop environment cannot continue processing until you enter the password.
8. In the Installation Type dialog, select Initial and then click Next.
a. Under Spectrum database option, select whether you have installed the
LoftStore database into PostgreSQL or Oracle database.
b. Enter the JDBC connection string to database in the appropriate format for
your database type:
l PostgreSQL:
jdbc:postgresql://<Host_or_IPaddress>:<port>/<DatabaseName>
Example: jdbc:postgresql://MyHostName:5432/loftstore
Important! Do not use "localhost" in the string, as this may cause the
installation to fail in a later step. Instead, use the host name or IP address.
d. If you have unique names for the LoftStore schema, select the Use custom
database schema names check box. This is not recommended unless you
are installing Spectrum Cloud and need to match schema names with
headquarters.
Note: Click Help > About and then click Schema configuration to view the
schema names in an existing instance.
e. Click Next.
a. Under Credentials for Spectrum database user, enter the username (default
is loftuser) and password that you set for the Spectrum database user during
the Spectrum database installation, and then confirm the password.
b. Under Credentials for DaVinci database user, enter the username (default is
loftdvuser) and password that you set for the DaVinci database user during
the Spectrum database installation, and then confirm the password.
c. Click Next.
Note: Click Help > About and then click Schema configuration to view the
schema names in an existing instance.
Example
l Spectrum: example1_loftspec
l Audit: example1_loftaudit
l Archive: example1_loftarch
l Reports: example1_loftreports
l Admin: example1_loftadmin
l Cross Reference: example1_loftxref
l DaVinci: example1_loftdv
b. Under Secure Integration, select whether the JMS integrations are secure
(Yes) or not secure (No).
c. Click Next.
b. For Timeout, modify the number of minutes for a session timeout if desired.
l Security: A session that never times out can be accessed and used by
unintended users
l Efficiency: A session that never times out continues to use resources
until a sign out or Spectrum Application Server restart
c. For Memory, modify the Tomcat Java memory settings as needed for your
configuration of Spectrum. For additional information or assistance, contact
Loftware.
e. For Protocol, select whether you are going to use HTTP (not secure) or
configure HTTPS (secure) to connect to Spectrum.
g. Click Next.
14. Review the Pre-Installation Summary dialog. If correct, click Install to proceed with
the installation, otherwise click Previous to return to a previous step and change
settings as needed.
After clicking Install, the installation begins. This may take several minutes.
The Loftware Spectrum service is automatically started. You can verify that the Loftware
Spectrum service is running with the command sudo service spectrum status. If
you need to start the Loftware Spectrum service manually, use the command sudo
service spectrum start.
Next Step
You have completed installing the Spectrum application. Continue with License
Spectrum.
This section describes how to install the Loftware Spectrum application on a Linux server.
This process can also be used to install the Loftware Spectrum application on a Linux
server in AWS. Before performing the procedures in this section, be sure you have
completed Installing the Spectrum Database.
Installing the Spectrum application on a Linux server using command line involves the
following tasks:
In this procedure you need to create a group and a user to install Spectrum. This user
must have sudo access.
1. Log in to the system as root, and then open a Terminal session. If you are using
AWS, connect to the EC2 instance running AWS Linux and elevate to "sudo"
privileges.
3. Create a loftware user, for example, "lwadmin", or you may already have an
established user you want to assign as a Loftware installer/administrator:
# useradd lwadmin
In this example the user is "lwadmin". Your site may use a different user.
3. Run the sudo whoami command to verify the user is acting as root.
$ sudo whoami
[sudo] password for lwadmin:
root
The Spectrum installation location must be created and writable by a member of group
"loftware".
3. Change the ownership of the folder to your designated Loftware user ("lwadmin" in
this example).
chown -R lwadmin:loftware /opt
Note: The SpectrumWeb.bin file needs to be owned and run by the loftware user
(usually lwadmin) in group "loftware".
1. Verify that resolutions for all hostnames are working, including your Spectrum
Application Server.
2. Copy the SpectrumWeb.bin file to the server on which you will install the Spectrum
Application Server and service. Log in to the server as the user you created and
open a Terminal session. If you are using AWS, connect to the EC2 instance
running AWS Linux as the user you created.
Note: The installer may take a few minutes to prepare the installation files.
6. Under Choose Locale, enter the number of the language the installer should
display.
Choose Locale...
----------------
1- Deutch
->2- English
3- Español
4- Français
5- Português (Brasil)
8. Specify the Spectrum installation folder location, and then press Enter.
Choose Install Folder
---------------------
Where would you like to install Spectrum?
9. For Installation Type, select 1 to indicate you are installing Spectrum for the first
time on an Initial Application Server, and then press Enter.
Installation Type
-----------------
Initial or Additional
->1 - Initial
2 - Additional
10. For Database Type, indicate whether you have installed the LoftStore database into
PostgreSQL or Oracle database.
Database Type
-------------
Database Type
->1 - PostgreSQL
2 - Oracle
l PostgreSQL:
jdbc:postgresql://<Host_or_IPaddress>:<port>/<DatabaseName>
Example: jdbc:postgresql://MyHostName:5432/loftstore
Important! Do not use "localhost" in the string, as this may cause the installation to
fail in a later step. Instead, use the host name or IP address.
->1- TRUE
2- FALSE
13. Indicate if you want to create unique names for the LoftStore schema. This is not
recommended unless you are installing Spectrum Cloud , and need to match
schema names with headquarters. .
Use custom database schema names
--------------------------------
Use custom database schema names
1- Yes
->2- No
14. Enter the username and password that you set for the Spectrum database user
during the Spectrum database installation, and then confirm the password.
Get UserID for Spectrum database user
-------------------------------------
Loftware User
======================================
Confirm Loftware User Password
------------------------------
Confirm:
======================================
Confirm Loftware User Password
------------------------------
Confirm:
Secure Integration
1- Yes
->2- No
19. Indicate whether you are going to configure HTTPS (secure) to connect to
Spectrum, or use HTTP (not secure) to connect to Spectrum.
HTTP or HTTPS
------------------
1- Yes
->2- No
Installation Complete
---------------------
Congratulations. Spectrum has been successfully installed to:
/opt/loftware/spectrum
Next Step
You have completed installing the Spectrum application. Continue with License
Spectrum.
The Loftware Licensing Server is a secure self-service website that allows you to access
and manage your Spectrum licenses as needed based on your contract entitlements.
You can license Spectrum only after you have installed the Spectrum Application Server.
For information on creating a high availability (HA) license, a disaster recovery (DR)
license, or a headquarters or facility license for a multi-site deployment of Spectrum, see
the Loftware Spectrum Licensing User Guide.
Note: After installing and starting Spectrum, the following error is written to the
spectrum.log file every 30 seconds until Spectrum is licensed:
No license found for type: PRODUCTION.
Note: For help with the Loftware Licensing Server or to have this process completed for
you, contact Loftware Customer Account Management.
Example
Enter the following in the address field of your browser, where spectrum-server is
the name of the server hosting Spectrum for your organization:
http://spectrum-server:8080/loftwarespectrum
4. Copy the Server ID number by selecting the text and then pressing Ctrl+C.
Note: If you need information to sign in, contact your company’s Loftware
administrator or click Register Your Company.
3. Click Login.
Note: If you see the Please Log in as Your Company page and need information
to sign in, contact Loftware Customer Account Management.
2. Select Create a New License and then click Next. The Create a License page
appears.
3. Select the installation location from the Select Location field, and then click Next.
Note: If your location is not available in the drop-down list, click Add a New
Location. If you need to discuss potential changes to your existing list of locations,
contact Loftware Customer Account Management.
a. Click the Add a new Location link from the Create a New License page. The
Add a Location page appears.
b. Enter the Location Name and the location details, and then click Save. The
Main Menu page appears.
d. Select your new installation location from the Select Location field, and then
click Next.
Note: Available servers are based on the type of licenses available per your
contract.
Note: This is for informational purposes only and does not impact the
licensing process.
c. In the Server ID field, press Ctrl+V to paste the server ID number copied from
Spectrum.
Note: This is for informational purposes only and does not impact the
licensing process.
Note: The creation of a new license can result in decreasing the available quantity
for future use.
7. Read the License Generation Information, and then click Generate to confirm you
want to generate a license. The details of the license display including the license
text.
Note: You can view these details later by selecting View an Existing License from
the Main Menu page.
8. Copy the text in the License Text field by clicking inside the box to select the text
and then pressing Ctrl+C.
1. In Spectrum, paste the license text copied from the Loftware Licensing Server into
the entry field.
Tip: If the Install license page is not displayed, click Help > Install license.
Note: Signing into Spectrum simultaneously as different users from the same
workstation is not supported.
Example
Enter the following in the address field of your browser, where spectrum-server is
the name of the server hosting Spectrum for your organization:
http://spectrum-server:8080/loftwarespectrum
2. Enter your user name in the Username field using the format username@domain.
4. Click Sign in. If you are signing in for the first time, you may be asked to change
your password.
Note: In a multi-site deployment, the name of the root folder must be the same at the
headquarters (HQ) and at each facility associated with that HQ.
Now that you have installed, licensed, and signed in to Spectrum, do one or more of the
following depending on your configuration of Spectrum:
l If you are installing Spectrum Enterprise for Medical Device, see Installing
Spectrum Enterprise for Medical Device.
l If you are configuring a distributed Spectrum environment, see Installing for
Distributed Services.
l If you are configuring a multi-site deployment of Spectrum, see Installing a Multi-
Site Deployment.
l If you want to use Loftware DaVinci to compare label templates in Label Design,
see Installing Loftware DaVinci.
l If you want to configure HTTPS for Spectrum, see Configuring HTTPS.
l If you intend to support SAP BC-XOM integrations, then you must install the
Loftware Spectrum Command Line Interpreter (CLI) on the SAP Application Server
to prepare for Loftware Spectrum® Integration for use with SAP® Applications. For
more information, see Installing the Command Line Interpreter (CLI).
l If your license includes Spectrum Business Intelligence (BI), see the
Loftware Spectrum Business Intelligence Installation Guide for information about
installing and accessing Spectrum BI.
If none of the above apply to your Spectrum configuration, or when you have completed
all applicable tasks, continue with Configuring Spectrum.
Spectrum Enterprise for Medical Device is a comprehensive product offering all the
features and benefits of Spectrum, plus medical industry-specific objects and capabilities
designed to accelerate the implementation of your Loftware labeling solution.
After you have installed Spectrum, use the following procedure to install Spectrum
Enterprise for Medical Device.
For information on implementing and customizing the Spectrum Enterprise for Medical
Device objects and applications, see the Spectrum Enterprise for Medical Device Guide.
l Be sure you have completed the Spectrum installation on your initial Spectrum
Application Server. For more information, see Installing Loftware Spectrum.
l If you intend to use an HTTPS connection for Spectrum, you must complete the
installation of Spectrum on the initial and all additional servers before configuring
HTTPS on any server.
Important! All Spectrum Application Servers in a distributed environment must use the
same operating system family and brand.
This section describes how to install the Loftware Spectrum application on an additional
server running the Windows Server operating system for use in a distributed services
environment. Before performing the procedures in this section, be sure you have
completed the Spectrum installation on your initial Spectrum Application Server. For
more information, see Install Spectrum Application on Windows Server.
2. Navigate to the folder where you copied the SpectrumWeb file and double-click the
file. The progress of the installation file extraction is displayed. This may take
several minutes.
6. In the Installation Type dialog, select Additional and then click Next.
a. For FQDN, enter the fully qualified domain name of the initial server.
Example
myserver.mycompany.com
b. For Port, enter the HTTP or HTTPS port number for the initial server.
c. Select whether the protocol of the initial server uses HTTP (not secure) or
HTTPS (secure) to connect to Spectrum.
e. Modify the JVM Server Name if desired. This will be the name of the JVM
Process in Spectrum.
f. Click Next.
b. Under Secure Integration, select whether the JMS integrations are secure
(Yes) or not secure (No).
c. Click Next.
l Security: A session that never times out can be accessed and used by
unintended users
l Efficiency: A session that never times out continues to use resources
until a sign out or Spectrum Application Server restart
d. For Protocol, select whether you are going to use HTTP (not secure) or
configure HTTPS (secure) to connect to Spectrum. If you are using HTTPS on
the initial Spectrum Application Server, you must also use HTTPS on all
additional servers.
f. Click Next.
10. Review the Pre-Installation Summary dialog. If correct, click Install to proceed with
the installation, otherwise click Previous to return to a previous step and change
settings as needed.
After clicking Install, the installation begins. This may take several minutes.
12. Verify that the Loftware Spectrum service was automatically started on the
additional server from the Services MMC console.
13. To test access to the additional Spectrum Application Server using HTTP, browse
to http://<AdditionalServer>:<port>/loftwarespectrum. If there is an issue, go over
each step again to ensure the installation was complete. If the problem still exists,
contact Loftware Technical Support for assistance.
Note: If you are using HTTPS, you must complete the installation of Spectrum on
the initial and all additional servers, then implement an SSL certificate configured
for your environment on all servers. For more information, see Next Steps.
14. Repeat all steps for each additional Spectrum Application Server.
This section describes how to install the Loftware Spectrum application on an additional
Linux server for use in a distributed services environment. Before performing the
procedures in this section, be sure you have completed the Spectrum installation on your
initial Spectrum Application Server. For more information, see Install Spectrum
Application on Linux.
l The Linux Standard Base (lsb) package is required to install the Spectrum
application on Linux. Use the lsb_release -a command to check for this package. If
the lsb_release command is not found, download the latest lsb package.
l Create a new group named "loftware", and optionally a new loftware user to install
the Spectrum application. The new or existing loftware user must have "sudo"
access privileges.
Important! If the new or existing user is not set up for "automatic" sudo, a
password prompt dialog box may display behind the installation window.
l Create the install location for the Spectrum application, which should be owned by a
member of group "loftware".
l The following instructions require a Graphical User Interface (GUI) based desktop
environment.
1. From the Loftware Spectrum installation package, copy the SpectrumWeb.bin file
to the server where you are installing the Spectrum application and service.
3. From the terminal session, navigate to the folder where you copied the file.
4. Run the SpectrumWeb.bin file. The progress of the installation file extraction is
displayed. This may take several minutes.
7. In the Choose Install Folder dialog, enter a location to install Spectrum or click
Choose to select or create a folder location, and then click Next.
a. For FQDN, enter the fully qualified domain name of the initial server.
Example
myserver.mycompany.com
b. For Port, enter the HTTP or HTTPS port number for the initial server.
c. Select whether the protocol of the initial server uses HTTP (not secure) or
HTTPS (secure) to connect to Spectrum.
e. Modify the JVM Server Name if desired. This will be the name of the JVM
Process in Spectrum.
f. Click Next.
b. Under Secure Integration, select whether the JMS integrations are secure
(Yes) or not secure (No).
c. Click Next.
l Security: A session that never times out can be accessed and used by
unintended users
l Efficiency: A session that never times out continues to use resources
until a sign out or Spectrum Application Server restart
d. For Protocol, select whether you are going to use HTTP (not secure) or
configure HTTPS (secure) to connect to Spectrum. If you are using HTTPS on
the initial Spectrum Application Server, you must also use HTTPS on all
additional servers.
f. Click Next.
12. Review the Pre-Installation Summary dialog. If correct, click Install to proceed with
the installation, otherwise click Previous to return to a previous step and change
settings as needed.
After clicking Install, the installation begins. This may take several minutes.
14. Verify that the Loftware Spectrum service was automatically started on the
additional server with the command sudo service spectrum status. If you
need to start the Loftware Spectrum service manually, use the command sudo
service spectrum start.
15. To test access to the additional Spectrum Application Server using HTTP, browse
to http://<AdditionalServer>:<port>/loftwarespectrum. If there is an issue, go over
each step again to ensure the installation was complete. If the problem still exists,
contact Loftware Technical Support for assistance.
Note: If you are using HTTPS , you must complete the installation of Spectrum on
the initial and all additional servers, then implement an SSL certificate configured
for your environment on all servers. For more information, see Next Steps.
16. Repeat all steps for each additional Spectrum Application Server.
l HTTPS: If you intend to use HTTPS for Spectrum, you must complete the
installation of Spectrum on the initial and all additional servers before configuring
HTTPS on any server. After installing Spectrum on all Spectrum Application
Servers in the distributed environment, you must implement an SSL certificate that
is configured for your environment. For more information, see Configuring HTTPS.
l LDAPS: If you intend to use LDAP over SSL (LDAPS), you must implement an SSL
certificate that is configured for your environment on all Spectrum Application
Servers in the distributed environment (LDAPS does not function with the Spectrum
self-signed certificate). For more information, see Set a Default LDAP Domain and
Add an LDAPS Certificate.
l Server names: Depending on how Spectrum is deployed on your network, you may
need to configure the IP Address, DNS Alias, or Public DNS Name of your
Spectrum servers in Access Control. For more information, see Set Server
Domain Names.
l Permissions: In Access Control, check and assign permissions to local users as
appropriate. For Spectrum in a distributed environment, local users must have read
and write permissions for that Spectrum Application Server.
When you have completed all applicable tasks, continue with Configuring Spectrum.
You can also manage the distributed environment in Spectrum from the Service
Management pane in System.
If you are making major changes to your environment or if a catastrophic problem occurs
to a Spectrum Application Server, it may become necessary to remove a server from your
Spectrum environment.
To remove a Spectrum Application Server other than the initial server from an
environment that includes multiple Spectrum Application Servers, use one of the
following procedures. If you need to remove the initial Spectrum Application Server,
contact Loftware for assistance.
1. On the Spectrum Application Server that you want to delete from the Spectrum
environment, view the following file:
<SPECTRUM_HOME>\product\conf\jdbc.properties
2. Scroll to the end of the file. In the Jvm Management Service Information section,
find the line that begins with jvm.management.process.id, and note the value
listed. The value is the Server ID for this Spectrum Application Server.
<SPECTRUM_HOME>\bin
5. Run the following command, substituting the IP address of the initial Spectrum
Application Server for <InitialServer>, the Server ID of the Spectrum
Application Server to be deleted (noted in a previous step) for <ServerID>, and the
password for the SuperAdmin user in Spectrum for <SuperAdminPassword>:
sputils remove-app-server <SuperAdminPassword>
http://<InitialServer>:8080 <ServerID>
6. If you are signed in to Spectrum from the initial Spectrum Application Server, sign
out and then sign back in to Spectrum. The Spectrum Application Server that you
specified has been removed from the Spectrum environment and is no longer
displayed in Access Control.
7. On the Spectrum Application Server that you removed from the Spectrum
environment, perform the following tasks to remove the Spectrum application from
the server.
a. From a command prompt, run the following command to delete the service:
sc delete LoftwareSpectrum
To remove a Spectrum Application Server running a Linux operating system from your
Spectrum environment, use the following procedure.
<SPECTRUM_HOME>/product/conf/jdbc.properties
2. Scroll to the end of the file. In the Jvm Management Service Information section,
find the line that begins with jvm.management.process.id, and note the value
listed. The value is the Server ID for this Spectrum Application Server.
4. On the initial Spectrum Application Server, open a Terminal and navigate to the
following folder:
<SPECTRUM_HOME>/bin
6. If you are signed in to Spectrum from the initial Spectrum Application Server, sign
out and then sign back in to Spectrum. The Spectrum Application Server that you
specified has been removed from the Spectrum environment and is no longer
displayed in Access Control.
7. On the Spectrum Application Server that you removed from the Spectrum
environment, perform the following tasks to remove the Spectrum application from
the server.
Note: Facilities and other functionality related to multi-site deployment are available only
if your Spectrum license has the Multi-Site property enabled. Some options are
displayed only if you are signed in to the headquarters site.
Note: If you have upgraded from a version prior to Spectrum 4.1, are using the Loftware-
supplied embedded database, and need to add more facility sites, contact Loftware
Technical Support for assistance.
1. Install the Spectrum database at the headquarters site. For more information, see
Installing the Spectrum Database.
2. Install the Spectrum application at the headquarters site. For more information, see
Installing the Spectrum Application.
3. Install the Spectrum database at each facility site. For more information, see Install
Spectrum Database at a Facility Site.
4. Install the Spectrum application at each facility site. For more information, see
Install Spectrum Application at a Facility Site.
5. License Spectrum at the headquarters site and at each facility site. For more
information, see License Spectrum and the Loftware Spectrum Licensing User
Guide.
7. Create the facility objects in Spectrum. For more information, see the
Spectrum User Guide (Help).
The Spectrum database is a dedicated persistent data repository named LoftStore that
can be installed as a database for a facility in a multi-site deployment of Loftware
Spectrum. For more information, see Requirements for Loftware Spectrum Facility
Database Server in a Multi-Site Deployment in the Spectrum User Guide (Help).
Important! Unless you have upgraded from a version prior to Spectrum 4.1, Spectrum
Business Intelligence is not supported at facility sites.
Note: If you have upgraded from a version prior to Spectrum 4.1, are using the Loftware-
supplied embedded database, and need to add more facility sites, contact Loftware
Technical Support for assistance.
To install the Spectrum database at a facility site, use one of the following procedures on
the server that you want to act as the facility's Spectrum Database Server.
Important: The database name (usually "loftstore") and schema names must be the
same at headquarters and at each facility.
To install the Spectrum application at a facility site, use one of the following procedures
for your operating system. Before performing the procedures in this section, be sure you
have completed Install Spectrum Database at a Facility Site.
Important: If you have configured your multi-site deployment of Spectrum for high
availability behind a load balancer and you are not using Amazon RDS, you must add
the following properties to the jdbc.properties file in <SPECTRUM_
HOME>/product/conf on the Spectrum Application Server at each facility site:
l security.amfsecure.protocol=any
l jdbc.pool.removeAbandoned=true
l jdbc.pool.removeAbandonedTimeout=60
l jdbc.driver.connectionProperties=oracle.jdbc.ReadTimeout=6000;
oracle.net.CONNECT_TIMEOUT=6000;loginTimeout=6000
Loftware DaVinci is a web application used to compare images. You can use DaVinci
within Label Design to compare PNG format images of label templates or different
versions of the same label template.
Spectrum is delivered with a DaVinci package that can be deployed on your web server
alongside Spectrum. Configuration is required, and you will have to restart the Loftware
Spectrum service after making changes to configuration files.
The installation package is available from the downloads folder of your Spectrum
Application Server at the following URL:
http://[hostname]:[port]/downloads/DaVinciPackage.zip
To use Loftware DaVinci within Label Design or in your own application, use this
procedure to install and configure the web application on the Spectrum application.
Example
<SPECTRUM_HOME>\DaVinci
Example
<SPECTRUM_HOME>\DaVinci\davinciConfig
Example
C:\DVStore
Example
C:\Loftware\Spectrum\Spectrum\product\webapps\ROOT\sliceStorage
Note: The slice storage location must be within Tomcat's ROOT folder.
10. Open the standalone.properties file in a text editor and modify the following
properties:
l isStandalone: Set to true
Example
l sliceProtocol: http
l slicePort: 8080 or the same as Tomcat
l sliceHost: The application server's IP address or hostname
12. Open the database.properties file in a text editor and uncomment either the Oracle
or PostgreSQL section, depending on where you installed LoftStore. Make sure all
properties in the other section are commented out.
l database.type: POSTGRES
l database.driverClassName: org.postgresql.Driver
l database.url: postgresql
l database.username: LOFTDVUSER
l database.password: Set during the LoftStore installation
l database.schema: LOFTDV
Note: Your database administrator can change the database password for
LOFTDVUSER if needed. After changing the password in the database, see
Managing the Loftware DaVinci Password for information on updating the
password on the Spectrum Application Server.
14. Comment out the lines in the section titled FOR MS SQL SERVER.
16. Open the configuration.xml file in the text editor, and change the “0.0.0.0” portion
of the URLs to the IP address or hostname of the DaVinci system in each location
within the file. Confirm the port matches the Tomcat port.
Important! Do not use localhost or 127.0.0.1 for this setting, even if using the local
server.
Next Step
After deploying the Loftware DaVinci web application, you'll need to Configure Loftware
DaVinci in Label Design or see the Spectrum User Guide (Help) for information on how
to create a label comparison application.
The Compare feature in Label Design uses the DaVinci web application to open
comparison images of your label templates. See Installing Loftware DaVinci in the
Loftware Spectrum Installation and Configuration Guide for more information. If you
already use DaVinci, you can point Spectrum at that instance of the web application
instead.
After installing the Loftware DaVinci web application, add the davinci.url system property.
To add a new system property value, use the following procedure.
Note: To perform this task, you must be signed in as the SuperAdmin user. For more
information, see the Spectrum User Guide (Help).
3. In the Add System Property dialog box, select systemManagement from the
Namespace drop-down list.
For Example
http://localhost:8080
6. Click Save.
To set up an HTTPS connection for Spectrum, use one of the following procedures:
To view certificate information in a keystore file, see Display the Contents of Keystore.
To configure HTTPS for Spectrum using your own certificate, do the following tasks:
l All system names in the keystore file should be the fully qualified domain name
(FQDN) to avoid security risks.
Note: This keystore is valid for this Spectrum instance only and cannot be copied
to any other Spectrum instance.
l The individual Intermediate and Root Certificates referenced in the certificate chain
must be added to the <SPECTRUM_HOME>/product/conf/cacerts trust store.
To implement an existing certificate in Spectrum, you can either import the certificates
into the existing Spectrum keystore, or you can replace the Spectrum keystore.
Note: This keystore is valid for this Spectrum instance only and cannot be
copied to any other Spectrum instance.
l Replace the default Spectrum keystore with a new keystore that contains only
the Host Certificate which includes the complete certificate chain of
Intermediate Certificates back to the Root CA.
Note: This keystore is valid for this Spectrum instance only and cannot be
copied to any other Spectrum instance.
3. Import each individual Intermediate Certificate and Root Certificate into the
<SPECTRUM_HOME>/product/conf/cacerts truststore. If the Intermediate
Certificates and Root Certificate are the same for all instances of Spectrum, an
updated version of the <SPECTRUM_HOME>/product/conf/cacerts truststore
can be copied and distributed to each Spectrum instance.
To configure SSL in Tomcat using your own certificate, perform the following steps:
a. Modify the keystoreFile value to reference the fully qualified keystore file for
your Spectrum site.
Example
keystoreFile="path/to/keystore_name"
Example
keystorePass="keystore_password"
Example
keyAlias="keystore_alias"
<!-- When using HTTPS, the web.xml needs the cookie-config in the session-config
setting uncommented to secure the cookie. -->
<Connector port="8443"
protocol="org.apache.coyote.http11.Http11Protocol"
SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="path/to/keystore_name"
keystorePass="keystore_password"
keyAlias="keystore_alias"
ciphers="SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA,
TLS_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA"/>
10. Open the web.xml file and remove the comment brackets (<!-- , -->) that
surround the Security Constraint element.
<security-constraint>
<web-resource-collection>
<web-resource-name>HTTPSOnly</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<session-config>
<session-timeout>${TC_SESSION_TO}</session-timeout>
<!-- Uncomment this section when using HTTPS -->
<<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
</session-config>
With the system names being the fully qualified domain name (FQDN) in the keystore,
the configuration of the server or servers in Spectrum must be modified to also include
the FQDN.
1. Sign in to Spectrum.
2. In Access Control, select your server in the Access Control Tree and click Edit.
3. For DNS Alias, add the FQDN for the server, and then click Save.
5. If you have a multi-site deployment of Spectrum, repeat the steps on the Spectrum
Application Server at each facility.
Spectrum can now be accessed at the following URL where host.domain is the FQDN of
the server hosting the Spectrum headquarters for your organization and port is the port
number specified in the server.xml file:
https://host.domain:port/loftwarespectrum
https://lam.example.com:8443/loftwarespectrum
To configure HTTPS for Spectrum testing environments using the included self-signed
certificate, do the following.
Note: Using a self-signed certificate in Microsoft Edge will result in an error and
Spectrum will not display. To avoid this issue, use a Certified Authority (CA) signed
certificate or use a different Spectrum-supported browser. For more information, see
Requirements for Spectrum Client Computers.
3. Open the web.xml file and remove the comment brackets (<!-- , -->) that
surround the Security Constraint element.
<security-constraint>
<web-resource-collection>
<web-resource-name>HTTPSOnly</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
Spectrum can now be accessed at the following URL where host is the name of the
server hosting Spectrum headquarters for your organization and port is the port number
specified in the server.xml file:
https://host:port/loftwarespectrum
https://example.com:8443/loftwarespectrum
If you need to see the contents of a keystore file, you can use the following command:
Example
The following command displays the contents of a file called
customKeystore.keystore in the <SPECTRUM_HOME>\product\conf folder:
%JAVA_HOME%\bin\keytool -list -v -alias myCustomAlias -keystore
C:\Loftware\Spectrum\Spectrum\product\conf\customKeystore.keystore
Enter keystore password: <keystore password> (e.g., loftware)
Alias name: myCustomAlias
Creation date: Aug 14, 2018
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=myAppServer, OU=loftware, O=loftware, L=portsmouth, ST=nh,
C=01
Issuer: CN=myAppServer, OU=loftware, O=loftware, L=portsmouth, ST=nh,
C=01
Serial number: 502a5b3a
Valid from: Tue Aug 14 10:05:46 EDT 2018 until: Mon Nov 12 09:05:46
EST 2018
Certificate fingerprints:
MD5: 42:47:51:C7:80:68:05:E9:7A:25:00:65:AB:27:3B:6C
SHA1: AE:5A:44:3A:FF:FC:6A:F8:F7:93:CF:43:0E:14:9D:B7:C8:5D:89:77
Signature algorithm name: SHA1withRSA
Version: 3
If you intend to support SAP BC-XOM integrations, then you must install the Loftware
Spectrum Command Line Interpreter (CLI) on the SAP Application Server to prepare for
Loftware Spectrum® Integration for use with SAP® Applications.
The CLI is a utility that is run by the SAP Spooler when a print job is submitted from SAP
ERP. The CLI passes the request to the Loftware Spectrum® Integration for use with
SAP® Applications. Spectrum applies the appropriate label template, sends the job to the
printer, and then sends the status back to the SAP Spooler.
Note: These steps are required only if you intend to support SAP BC-XOM integrations.
Note: It is strongly recommended that each SAP Application Server be configured with
its own CLI and a uniquely named CLI log file.
The following steps should be performed by a SAP Basis Administrator on the SAP
Application Server. The configuration for the Loftware Spectrum CLI requires moving files
into a folder that the SAP Logical Output Management System (LOMS) instance can
access.
To install the CLI on the SAP Application Server, perform the following steps.
1. Download the file from the Spectrum Application Server, where spectrum-server is
the name of the server hosting Spectrum for your organization:
http://<spectrum-server>:<port>/downloads/sapClient-package.zip
Note: The CLI can be in any location, as long as the Output Management System
(OMS) definition in SAP Spool Administration (SPAD) has the appropriate path in
the OMS Submit Command.
Note: The script output must be only the single output line generated by the sapcli
request. This format is dictated by SAP and additional lines are not allowed. The
following is an example.
2.00 4 1 test Print\ request\ accepted\ by\ Loftware\
Spectrum
Example
CTO=20000
Example
CTO=20000
d. Optional parameters: If you need to use a proxy server, add a space at the
end of the last line and then use the following options as needed.
PROXYHOST, PROXYPORT, PROXYUSER, PROXYPASSWORD
#!/bin/bash
# Change /opt/loftware to the fully-qualified path to the folder where the sapcli
tool is installed.
#
# To send secure requests to Spectrum:
# 1) Import the Spectrum certificate to the JRE keystore installed with this CLI
located at
# $JAVA_HOME/lib/security/cacerts
# 2) Add the following option to the last command line below, before -cp: -
Djavax.net.ssl.trustStorePassword=changeit
# Note: You may change the password to the keystore file.
#
# Optional Parameters:
#
# To add optional parameters, add a space at the end of the last line, then add
optional parameters as documented below.
# All optional parameters MUST be added to the END of the last line.
#
# CTO To change the request connection timeout setting, add CTO=<numeric value in
milliseconds>
# Example CTO=20000
# Proxy Settings
# If you need to use a proxy, use the following options as needed:
# PROXYHOST, PROXYPORT, PROXYUSER, PROXYPASSWORD
# Example: PROXYHOST=172.17.2.83 PROXYPORT=8080 PROXYUSER=myuser
PROXYPASSWORD=mypassword
#
export sapCli_home=/opt/loftware
export JAVA_HOME=${sapCli_home}/jre
$JAVA_HOME/bin/java -cp .:${sapCli_home}:${sapCli_home}/*
com.loftware.sapCliClient.SapCli SUBMIT $@
Example
CTO=20000
g. Change the JAVA_HOME value to the fully-qualified path to the folder where
the Java 1.8 JRE or JDK is installed.
Example
CTO=20000
d. Optional parameters: If you need to use a proxy server, add a space at the
end of the last line and then use the following options as needed.
PROXYHOST, PROXYPORT, PROXYUSER, PROXYPASSWORD
c. Replace the parameter -file with the case-sensitive name of the file for
which passwords need to be encrypted.
7. Open the log4j2.xml_EXAMPLE file in a text editor. Change the Property LOG_
DIR value C:/saptest to be the explicit directory where the sapcli tool is installed.
Save the file as log4j2.xml.
log4j2.xml_EXAMPLE File
<!--
Appenders
where log messages go to
-->
<Appenders>
<!--
Loggers
-->
<Loggers>
<Logger name="com.loftware.sapCliClient" level="INFO"/>
<Root level="ERROR">
<AppenderRef ref="FILE"/>
</Root>
</Loggers>
</Configuration>
8. The CLI can be in any location, as long as the Output Management System (OMS)
definition in SAP Spool Administration (SPAD) has the appropriate path in the OMS
Submit Command. OMS commands should include the required quotation marks,
as shown in the following example. For the last parameter, enter RDI, XSF, XML, or
XFP as appropriate. For more information, see Configure for BC-XOM
Communication in the Spectrum User Guide (Help).
Usage 162
By default, Loftware Spectrum users are not signed out due to inactivity. If you want users
to be automatically signed out after being inactive for a specified period of time, you can
specify the timeout setting by editing the <session-timeout> value in a configuration file
on the Spectrum Application Server.
Note: You can also specify the timeout setting in System using the Force Inactivity
Logout property. If both the <session-timeout> and Force Inactivity Logout values are
specified, the lower timeout value takes precedence.
To set the browser session timeout setting, perform the following steps:
web.xml
Important! For Spectrum in a distributed environment, you must set this value on each of
the Spectrum Application Servers. In a multi-site deployment of Spectrum, the <session-
timeout> value must be the same on each Spectrum Application Server.
To set the Tomcat Java memory pool parameters, use the following procedure for your
operating system. For help determining what these parameters should be, contact
Loftware.
<SPECTRUM_HOME>\product\bin
4. Under # Production Settings, locate the memory pool parameters, -Xms and
-Xmx.
# Production Settings
-Xms8192m
-Xmx8192m
5. Modify the memory pool parameters, -Xms8192m and -Xmx8192m, to the desired
values. The same value should be used for both settings.
Note: The same value should be used for both settings in order to force the JVM
into allocating from the operating system the maximum amount of memory needed
for the heap. With Xms (starting memory) not equal to Xmx (maximum memory),
the JVM must request memory blocks from the operating system as the memory
usage of the Spectrum Application Server increases over execution time resulting
in an inefficient use of resources.
4. Under # Production Settings, locate the memory pool parameters, -Xms and
-Xmx.
# Production Settings
-Xms8192m
-Xmx8192m
5. Modify the memory pool parameters, -Xms8192m and -Xmx8192m, to the desired
values. The same value should be used for both settings.
Note: The same value should be used for both settings in order to force the JVM
into allocating from the operating system the maximum amount of memory needed
for the heap. With Xms (starting memory) not equal to Xmx (maximum memory),
the JVM must request memory blocks from the operating system as the memory
usage of the Spectrum Application Server increases over execution time resulting
in an inefficient use of resources.
Java Management Extensions (JMX) enables you to monitor and manage your resources
remotely. By default, JMX is enabled in the Java options properties. It is recommended to
leave JMX enabled, however, job processing may be 1% to 2% faster when JMX is
disabled.
If you need to disable JMX, use the following procedure for your operating system.
# Start JMX configuration, Enable JMX by default, to Disable comment out the next 4
lines
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=3833
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
# End JMX configuration
4. To disable JMX, add # before each -Dcom line to comment out the line:
# Start JMX configuration, Enable JMX by default, to Disable comment out the next 4
lines
# -Dcom.sun.management.jmxremote
# -Dcom.sun.management.jmxremote.port=3833
# -Dcom.sun.management.jmxremote.authenticate=false
# -Dcom.sun.management.jmxremote.ssl=false
# End JMX configuration
8. Sign in to Spectrum.
# Start JMX configuration, Enable JMX by default, to Disable comment out the next 4
lines
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=3833
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
# End JMX configuration
4. To disable JMX, add # before each -Dcom line to comment out the line:
# Start JMX configuration, Enable JMX by default, to Disable comment out the next 4
lines
# -Dcom.sun.management.jmxremote
# -Dcom.sun.management.jmxremote.port=3833
# -Dcom.sun.management.jmxremote.authenticate=false
# -Dcom.sun.management.jmxremote.ssl=false
# End JMX configuration
Simple Network Management Protocol (SNMP) can be used to monitor the Spectrum
Application Server memory usage, garbage collection, runtime thread usage, and other
system-level concepts within Java. Leverage any SNMP-capable network management
application to communicate with the Spectrum Application Server. For more information
on the available objects and notifications, see the JVM-MANAGEMENT-MIB file in the
Spectrum downloads folder (http://<InitialServer>:8080/downloads).
Configuring Spectrum for SNMP support involves creating the SNMP Access Control List
(ACL) file, editing the file to set access control, and adding security to the file. To
configure Spectrum for SNMP support, perform the following steps on the Spectrum
Application Server:
2. Run the following command to copy the file snmp.acl.template to the file snmp.acl:
Example
The following is an example of an ACL group that allows for full access to
the SNMP server via two SNMP communities, public and private.
acl = {
{
communities = public, private
access = read-only
managers = 0.0.0.0/32
}
}
Example
The following is an example of two trap community definitions for multiple hosts:
trap = {
{
trap-community = public
hosts = hubble, snowbell
}
{
trap-community = private
hosts = telescope
}
7. From a command prompt or Terminal, run the following commands from the
<SPECTRUM_HOME>/jre/lib/management location to secure the ACL file:
Important! The snmp.acl file must be owned by the same user that is running
Spectrum, and the user running Spectrum can be the only user that has access to
the file. If you need to remove the security to make additional edits, see Remove
SNMP ACL File Security.
Windows:
Linux:
<SPECTRUM_HOME>/product/bin
Windows: javaoptsWin.properties
Linux: javaoptsLinux.properties
10. Add the following lines to the file. The first line specifies the port the system is
listening for SNMP requests on, and the second line allows the request to come
through any network card on the system.
Windows:
-Dcom.sun.management.snmp.port=161
-Dcom.sun.management.snmp.interface=0.0.0.0
Linux:
-Dcom.sun.management.snmp.port=1161
-Dcom.sun.management.snmp.interface=0.0.0.0
11. If you want to specify the remote port to which the server will send SNMP traps, add
the following line to the file.
Note: You may set the remote ports to any values, provided your SNMP client is
also aware of those port settings.
Windows: -Dcom.sun.management.snmp.trap=162
Linux: -Dcom.sun.management.snmp.trap=1162
13. If you have a Windows Spectrum Application Server, you must do the following to
reinstall the Spectrum service:
During the configuration for SNMP support, security was added to the snmp.acl file. If
you need to remove the security to make additional edits, perform the following steps.
During the initial Spectrum database installation, you were prompted to enter a job
archive datafile location and a job archive retention value. If you need to change the job
archive retention time, perform the following steps on the Spectrum Database Server:
2. Run the following command, where nn equals the number of months you want to
retain the archive data:
sputils set-value archive_retention_in_months nn jobService
Example
The folder for the job archive files was set during your installation. The default location is
<LOFTSTORE_HOME>\exports\archive.
Spectrum uses timestamps from both the Application and Database servers to record
events. To make sure that the performance reporting is accurate, you must synchronize
the Application and Database servers' clocks.
Note: Spectrum will add a log message to the Critical Event Log if the timing is off by
plus or minus 100 ms.
Since synchronization is a function of the operating platform, the links below provide the
information to synchronize your servers directly from the operating platform vendors:
https://technet.microsoft.com/en-us/library/cc773263(v=ws.10).aspx
http://www.brennan.id.au/09-Network_Time_Protocol.html
Users signing in to Spectrum should enter their user name using the format
username@domain. To allow users to sign in without entering a domain, administrators
can set a default domain using the following steps.
Note: If a user enters their user name using the format username@domain, the default
domain is disregarded. To sign in as a local user when a default domain is configured,
use the format username@none.
<SPECTRUM_HOME>\bin
Example
1. Obtain a copy of your SSL certificate from your LDAP server and save the
certificate to the local drive on the Spectrum Application Server as ldapcert.txt.
Example
cd C:\Loftware\Spectrum\Spectrum\jre\bin
Example
keytool -import -alias "openldap"
-file C:\ldapcert.txt
-keystore C:\Loftware\Spectrum\Spectrum\product\conf\keystore
You may need to configure the IP Address, DNS Alias, or Public DNS Name of your
Spectrum servers in Access Control, depending on how Spectrum is deployed on your
network.
If you enter a value in all fields, the Public DNS Name will be checked first, and the DNS
Alias value will be checked next. If neither the Public DNS Name nor the DNS Alias
match or no value was entered, then the IP Address value will be checked.
Service port numbers for the Spectrum Application Server are configured during the
installation of the Spectrum application. If you need to change port numbers after
installation (for example, for SSL configuration), you can modify them in the JVM process
in Spectrum, as well as in the server.xml and javaoptsWin.properties or
javaoptsLinux.properties files on the Spectrum Application Server.
2. In Access Control, select the JVM Process for the applicable server.
3. Click Edit and modify the following port numbers as needed for your environment.
l JVM Port
l Secure JVM Port
l JMS Port
l Integration Port
4. Click Save.
15. If you have a Windows Spectrum Application Server, run the following command in
the <SPECTRUM_HOME>\product\bin folder to apply the settings:
service.bat update
By default, users who click help links in Spectrum are directed to a dynamic version of the
Spectrum User Guide that is hosted on Loftware's website. This option is recommended
because it provides users with the most current documentation for Spectrum. The
dynamic web-based help may change frequently because it may be updated when issues
are discovered or resolved, as well as when new functionality is added to Spectrum.
Important! Configuring this option impacts all users of this Spectrum environment.
Note: To perform this task, you must be signed in as the SystemAdmin or SuperAdmin
user. For more information, see the Spectrum User Guide (Help).
To configure a Spectrum environment to provide users with static help for Spectrum, use
the following procedure.
Note: This option is not recommended unless lack of internet connectivity or other
issues make it impractical to use dynamic help in your environment.
1. Sign in to Spectrum.
To configure a Spectrum environment to provide users with dynamic help for Spectrum,
use the following procedure.
Note: Dynamic help is the default configuration. The following procedure is necessary
only if the source of Spectrum Help has been changed to static help.
1. Sign in to Spectrum.
There is a command line utility available for configuring and managing the Spectrum
database (LoftStore). You can use the Spectrum LoftStore Utility (ls_utils) in the
<LOFTSTORE_HOME>\bin folder to perform the actions described in the following
table.
Usage
ls_utils [cmd]
Example
C:\Loftware\Spectrum\LoftStore\bin>ls_utils -help
Command Description
Script templates may be provided and will follow the naming convention
POST%.sql.tmpl.
Use the following procedure to load the SQL script into the Spectrum database:
2. Open the configure.properties file in a text editor, and add the template name to
the file.
4. Run configure.
Using a browser, you can view the completed PDF print jobs by user outside of the
Spectrum application at the following address:
http://<spectrum-server>:8080/pdf
The default PDF location can be changed for privacy to prevent this observation, or it can
be turned off by editing the web.xml file.
2. Open the web.xml file and find the default servlet section:
To minimize disk space usage on your database servers, especially if your labels use a
large number of images, you can run a command to change a database setting that
allows Loftstore image and label data to be stored using Oracle CLOBs (Character Large
Objects). A CLOB is a specific Oracle LOB (Large Object) data type.
Using this setting allows a document to be saved multiple times without duplicating the
storage space. The data is compressed and "deduplicated". With deduplication, after the
initial data is stored, a second, third, or any future update employs a hash code that refers
to the original data instead of duplicating the data by using additional storage.
This setting may dramatically reduce storage size of images and templates when
compression and deduplication are enabled and the same label is printed repeatedly.
The setting affects tables that have not been compressed in the archive and are older
than one month.
Note: This setting only works for the Spectrum database installed in an Oracle database
and not the Loftware-supplied database.
l If your labels use a large number of images, you will get the most benefit from
database optimization, unless you have additional storage available.
l If your labels do not use a large number of images, the benefits to you are marginal.
l If your labels do not use images at all, this setting offers no benefit and is not
recommended.
The value of using the database optimization setting, along with related
database.settings, such as table.extent.size, is highly dependent on the customer's
implementation and printing plans. Database Compression negatively affects
performance, but positively affects disk space.
If you are using larger images on your labels and have larger numbers of images in your
print streams, you will require additional storage, whether you get that from saving space
using optimization or simply extending your storage capacity.
However, for high speed printing it may be preferable to use the additional storage space
and maintain maximum performance.
If you have a dedicated application server, the command should be run only by a
database administrator who is familiar with using Oracle LOBs to aide in storage
management.
Important! If you have an application server with an embedded database, you must
contact Loftware's Professional Services Group (PSG) for assistance. For an embedded
database, the command should only be run by Loftware personnel.
l You must have already successfully completed the configure or dbupgrade scripts
on the newly created tablespaces.
l SYSTEM or SYS permissions are required to run this command.
l Loftware strongly recommends running the command with the database offline.
This command adds a new entry into the LoftStore system properties table that allows the
data to be stored using Oracle CLOBs.
To remove this setting and turn off optimization, use the following command:
Updating the LOFTUSER password involves changing the password on the Spectrum
Database Server and then on Spectrum Application Server or Servers.
To change the LOFTUSER password in the Spectrum database (LOFTSTORE), run the
following SQL command:
If you are configuring a multi-site deployment, you must also update the following
password:
multisite.management.password=loftware
Windows:
set SPECTRUM_HOME="path_to_spectrum_home"
set JAVA_HOME=%SPECTRUM_HOME%\jre
Linux:
export SPECTRUM_HOME="path_to_spectrum_home"
export JAVA_HOME=${SPECTRUM_HOME}/jre
Windows:
%JAVA_HOME%\bin\java
-cp "%SPECTRUM_HOME%/lib/*;%SPECTRUM_HOME%/product/endorsed/*;"
com.loftware.schema.LoftwareConfigurationTool
-passwordManagement encrypt -action updateprops -dbfile
%SPECTRUM_HOME%\product\conf\jdbc.properties
Linux:
${JAVA_HOME}/bin/java
–cp "${SPECTRUM_HOME}/lib/*:${SPECTRUM_HOME}/product/endorsed/*:"
com.loftware.schema.LoftwareConfigurationTool
-passwordManagement encrypt -action updateprops –dbfile
"${SPECTRUM_HOME}/product/conf/jdbc.properties"
8. Restart the Loftware Spectrum service or daemon and then test the Spectrum
Application Server.
1. Copy the encrypted passwords from the initial Spectrum Application Server to the
additional Spectrum Application Servers.
If your Spectrum database is using Amazon RDS for PostgreSQL, the implementation for
archiving in AWS is done with a combination of a Lambda script and a Cloud Event cron
task. A new Lambda jar is included in the setup directory of LoftstoreLoad-PSQL.zip. In
addition, the setup directory also contains the rds_archive_jobs.json, rds_manage_
archive_tables.json, and rds_refresh_mv.json files referenced in the following
instructions. These files are updated or generated after the initial PostgreSQL
configuration steps.
After completing the following instructions, there will be three Lambda Functions and
three EventBridge rules in matching pairs; there will be a Lambda Function and
EventBridge rule for the Archive Job task, a Lambda Function and EventBridge rule for
the Manage Archive Table task, and a Lambda Function and EventBridge rule for the
RDS Refresh MV task.
Configuring Lambda function and EventBridge rules in AWS involves the following tasks:
The Manage Archive Tables Lambda Function will require an access key ID and a secret
access key. For more information, see the AWS Documentation, Managing access keys
for IAM users.
2. Confirm or update the URL string to reflect the correct database name, username,
and password in the connection string.
a. Locate the string FROM loftspec.job and update the table reference to
include the schema prefix.
C. Modifying rds_manage_archive_tables.json
2. Confirm or update the URL string to reflect the correct database name, username,
and password in the connection string.
5. Update the accessKey value with the appropriate access key value.
6. Update the secretKey value with the appropriate secret key value.
D. Modifying rds_refresh_mv.json
2. Confirm or update the URL string to reflect the correct database name, username,
and password in the connection string.
1. Log in to the AWS Management Console and go to the Lambda Service page.
4. In the Function Name field, enter a meaningful customer specific function name.
Example
SomeCustomer_SpectrumArchiveJobsLambda
c. Under Existing role, click View <rolename> role on the IAM console and
ensure the role has the AWSLambdaVPCAccessExecutionRole attached to
it. If not, click Attach polices, locate the policy, and add it.
d. Click Save.
a. In the menu options at the top of the Lambda Function view, click the Select a
test Event drop-down list and select Configure test event.
Example
ArchiveJobTest
d. In the data entry field below the event name field, copy the JSON script from
the updated rds_archive_jobs.json file in the setup directory.
e. Click Create.
b. Click TEST. This will execute the Lambda function on the target PostgreSQL
instance referenced in the JSON string associated with the selected test.
a. In the Publish new version dialog, enter a meaningful name for the version.
13. Do the following to set the concurrency parameter to 1 to prevent a negative impact
on the database in case of the Lambda Function failure:
a. On the Lambda Service page for the Function, click the Configuration tab.
c. Click Edit.
e. Click Save.
1. Log in to the AWS Management Console and go to the Lambda Service page.
4. In the Function Name field, enter a meaningful customer specific function name.
Example
SomeCustomer_SpectrumManageArchiveTablesLambda
a. Complete the VPC connection information as necessary. This will allow the
Security Groups to have access to the RDS instance via the VPC.
c. Under Existing role, click View <rolename> role on the IAM console and
ensure the role has the AWSLambdaVPCAccessExecutionRole attached to
it. If not, click Attach polices, locate the policy, and add it.
d. Click Save.
10. Do the following to create test events for Manage Archive Table:
a. In the menu options at the top of the Lambda Function view, click the Select a
test Event drop-down list and select Configure test event.
Example
ManageArchiveTableTest
d. In the data entry field below the event name field, copy the JSON script from
the updated rds_manage_archive_tables.json file in the setup directory.
e. Click Create.
b. Click TEST. This will execute the Lambda function on the target PostgreSQL
instance referenced in the JSON string associated with the selected test.
a. In the Publish new version dialog, enter a meaningful name for the version.
13. Do the following to set the concurrency parameter to 1 to prevent a negative impact
on the database in case of the Lambda Function failure:
a. On the Lambda Service page for the Function, click the Configuration tab.
c. Click Edit.
e. Click Save.
1. Log in to the AWS Management Console and go to the Lambda Service page.
4. In the Function Name field, enter a meaningful customer specific function name.
Example
SomeCustomer_RefreshMVLambda
c. Under Existing role, click View <rolename> role on the IAM console and
ensure the role has the AWSLambdaVPCAccessExecutionRole attached to
it. If not, click Attach polices, locate the policy, and add it.
d. Click Save.
a. In the menu options at the top of the Lambda Function view, click the Select a
test Event drop-down list and select Configure test event.
Example
RefreshJobTest
d. In the data entry field below the event name field, copy the JSON script from
the updated rds_refresh_mv.json file in the setup directory.
e. Click Create.
b. Click TEST. This will execute the Lambda function on the target PostgreSQL
instance referenced in the JSON string associated with the selected test.
a. In the Publish new version dialog, enter a meaningful name for the version.
13. Do the following to set the concurrency parameter to 1 to prevent a negative impact
on the database in case of the Lambda Function failure:
a. On the Lambda Service page for the Function, click the Configuration tab.
c. Click Edit.
e. Click Save.
d. Select Fixed rate of and enter a value of 1. Ensure the interval is set to
Minutes.
e. Click Add target and select the Customer Specific Archive Jobs Lambda
function you previously created.
f. Under Configure Input select Constant. Copy the JSON from the modified
rds_archive_jobs.json file in the setup directory that you previously updated.
Example
SomeCustomer_ArchiveJobs
e. Enter the Cron expression 0 0 * * ? * to run the job every day at midnight.
f. Click Add target and select the Customer Specific Manage Archive Tables
Lambda function you previously created.
g. Under Configure Input choose Constant. Copy the JSON from the modified
rds_manage_archive_tables.json file in the setup directory that you
previously updated.
Example
SomeCustomer_ManageArchiveTables
e. Enter the Cron expression 0 0 * * ? * to run the job every day at midnight.
f. Click Add target and select the Customer Specific Refresh MV Lambda
function you previously created.
Example
SomeCustomer_RefreshMV
l Preparing to Upgrade
l Upgrading the Spectrum Database
l Upgrading the Spectrum Application
2. Fix the issue if known, otherwise call Loftware Technical Support for help.
Before upgrading Spectrum, review and complete the tasks in this section.
Important: Be sure to review the Release Notes included in the release package for
additional information, such as known issues and workarounds related to installing,
upgrading, and using Spectrum.
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
1. Sign in to Spectrum.
4. If the system Value for isembedded is true, then you are using the Loftware-
supplied database. If the system Value is false, then you are using a Spectrum
database on an Oracle database or PostgreSQL server.
Check the latest Technical Requirements for Spectrum 4.7.1 to verify that your current
servers still meet or exceed the technical requirements for the new version of Spectrum.
You must verify that the server hardware, operating systems, third-party software, and
integrated software components are supported. For ALL Components listed in the
Technical Requirements, the Requirement listed alongside must be met or exceeded,
unless a specific version or value is indicated.
For customers with the Loftware-supplied database, review the Constraints section of the
Technical Requirements to verify that your use is within limits of the embedded solution.
l If you are using the Spectrum database in Oracle, your site's database
administrator should create a backup using your company's standards and tools.
For additional information on backup and recovery, see Maintaining and Protecting
Spectrum .
If you had previously added any third party JDBC drivers to your Spectrum system, copy
the drivers from <SPECTRUM_HOME>\product\lib to a temporary folder outside of the
Spectrum folder structure so that you can add them back after upgrading.
If you previously added the third party SAP Java Connector (SAP JCo) library to your
Spectrum instance for use with Integration for use with SAP® Applications, check which
version of SAP JCo is currently supported in Spectrum (see Requirements for
Integration for use with SAP® Applications). If your existing version is supported, copy
the SAP JCo jar file in <SPECTRUM_HOME>\product\endorsed to a temporary folder
outside of the Spectrum folder structure. If your existing version is not supported,
download the supported SAP JCo version from SAP Support Portal. You will add the SAP
JCo back to the folder after upgrading.
This section describes how to upgrade the Loftware Spectrum® database. Before
performing the procedures in this section, be sure you have completed the tasks in
Preparing to Upgrade.
To upgrade the Spectrum database, use the following procedure for your operating
system and database:
This section describes upgrading the Loftware Spectrum database in Oracle on a server
running a Windows Server operating system. These instructions apply when you are
using a non-embedded database and not the Loftware-supplied database.
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
Upgrading the Spectrum database in Oracle on Windows Server involves the following
tasks:
Before proceeding with the upgrade, you need to stop the currently running Loftware
Spectrum service running on the Spectrum Application Server.
If your license includes Spectrum Business Intelligence (BI), you must also stop the BI
services before upgrading. To stop the service, double-click the Stop JRS Service icon
on the desktop of the server where you installed Spectrum BI.
The upgrade can be run either directly from the database server or remotely from a client
computer. If running remotely from a client, the client computer should be run as an
Oracle user with privileges to run Oracle administrative tools on the client computer.
2. Create a new upgrade folder to contain the required upgrade folders and files.
Recommended Location
<LOFTSTORE_HOME>\upgrade
4. Navigate to the upgrade\datapump folder and locate the .dmp files in the folder.
5. Copy the .dmp files into your job archive datafile location on the Spectrum
Database Server.
Note: The job archive datafile location was set during the initial installation of the
Spectrum database. The default location is <LOFTSTORE_
HOME>\exports\archive. After upgrading, you may delete the .dmp files from this
location if desired.
6. If you are upgrading from Spectrum 4.5 or later to Spectrum 4.7.1 and you opted to
use the Loftware-supplied tablespaces with default names during installation, skip
this step.
If you opted to use the Loftware-supplied tablespaces with custom names or to use
existing tablespaces with custom names, you must perform the following steps to
modify the tablespace names.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces used during the Spectrum database installation.
Example
loftstore.tbsp.main=mycustomname_spectrum_main
loftstore.tbsp.audit=mycustomname_spectrum_audit
loftstore.tbsp.arch=mycustomname_spectrum_arch
loftstore.tbsp.cust=mycustomname_spectrum_cust
loftstore.tbsp.davinci=mycustomname_spectrum_davinci
This process describes upgrading the Spectrum database and should be run by an
Oracle user of the "oinstall" group (with administrative privileges) on the Client system.
1. Open a Command Prompt on the client computer and navigate to the upgrade
folder.
Note: Loftware recommends you enter specific values for the dbupgrade prompts
that match your site's configuration. The default values shown on the dbupgrade
prompts should only be considered examples.
Tip: If the message No database upgrade required is displayed, the version of the
database you are installing is the same as your current database; therefore, you do
not need to upgrade the Spectrum database. Continue with Upgrading
the Spectrum Application.
Accept the default value N (no) and continue to the next prompt.
ORACLE_HOME defines the full folder path of the Oracle components on the client
computer running the install. The default value is imported from the system variable
of the same name. For example: C:\app\oracle\product\12.x.x\dbhome_
1. If you do not accept the default value, you can set this location as a system
variable for easier reference.
l ORACLE_HOME/sqlplus.exe
l ORACLE_HOME/bin/sqlplus.exe
If either is missing, copy sqlplus.exe to the missing location(s) and run the
dbupgrade script again.
The LoftStore database name without domain uniquely identifies it from any other
databases.
The port value on the database server for the LoftStore database, which identifies
the TCP/IP end point for a host connection.
There are two connection types that you can use, but only one is required:
l The System Identifier (SID) identifies a specific instance of the database on
your server.
l The Service Name (SN) is a representative name for the database, which is
usually the Global database name, consisting of the database and domain
names.
Enter the SID or SN of your database. The SN needs to be the "fully qualified
service name" your site uses. For example: orcl.loftwareinc.com. Consult
your database administrator for your site's fully qualified naming convention.
Oracle Database collects and stores statistics about materialized view refresh
operations. If you are using Amazon RDS for Oracle Database, enter N (no).
Enter the name of the database user with permissions to install the Spectrum
database.
Enter the password of the database user with permissions to install the Spectrum
database.
Confirm password:
Indicate whether the database user is also the sysdba of the Spectrum database.
Are you accessing the LoftStore dump file from Loftware via Amazon
Web Services? (Y|N) [N]:
Note: A number of dependency errors, with ORA IDs associated with them, may appear
when the upgrade process starts. These are expected and do not indicate a problem
with the upgrade.
The upgrade log files are available in the default location <LOFTSTORE_
HOME>/upgrade/logs. For an explanation of any messages, errors, or warnings that are
recorded in a log file, contact Loftware Technical Support.
Next Step
This section describes upgrading the Loftware Spectrum database in Oracle on a server
running a Linux operating system. These instructions apply when you are using a non-
embedded database and not the Loftware-supplied database.
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
Upgrading the Spectrum database in Oracle on Linux involves the following tasks:
Before proceeding with the upgrade, you need to stop the currently running Spectrum
services, running in all environments on the Spectrum Application Server.
If your license includes Spectrum Business Intelligence (BI), you must also stop the BI
services before upgrading. To stop the service, run the following command from the
location you chose for the installation (default location is /opt/SpectrumBI):
./ctlscript.sh stop
The upgrade can be run either directly from the database server or remotely from a client
computer. If running remotely from a client computer, the client computer should be run
as an Oracle user with privileges to run Oracle administrative tools on the client
computer.
2. Create a new upgrade folder to contain the required upgrade folders and files.
Recommended Location
<LOFTSTORE_HOME>/upgrade
4. Navigate to the upgrade/datapump folder and locate the .dmp files in the folder.
5. Copy the .dmp files into your job archive datafile location on the Spectrum
Database Server.
Note: The job archive datafile location was set during the initial installation of the
Spectrum database. The default location is <LOFTSTORE_
HOME>/exports/archive. After upgrading, you may delete the .dmp files from this
location if desired.
6. If you are upgrading from Spectrum 4.5 or later to Spectrum4.7.1 and you opted to
use the Loftware-supplied tablespaces with default names during installation, skip
this step.
If you opted to use the Loftware-supplied tablespaces with custom names or to use
existing tablespaces with custom names, you must perform the following steps to
modify the tablespace names.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces used during the Spectrum database installation.
loftstore.tbsp.main=SPECTRUM_MAIN
loftstore.tbsp.audit=SPECTRUM_AUDIT
loftstore.tbsp.arch=SPECTRUM_ARCH
loftstore.tbsp.cust=SPECTRUM_CUST
loftstore.tbsp.davinci=SPECTRUM_DAVINCI
This process describes upgrading the Spectrum database and should be run as an
Oracle user with privileges to run the Oracle administrative tools.
1. Open a Terminal on the client computer and navigate to the upgrade folder.
Note: For most upgrades, we recommend you specify values for the configure
prompts that match your site's configuration and NOT accept the default values,
since they only offer a limited local configuration.
Tip: If the message No database upgrade required is displayed, the version of the
database you are installing is the same as your current database; therefore, you do
not need to upgrade the Spectrum database. Continue with Upgrading
the Spectrum Application.
Accept the default value N (no) and continue to the next prompt.
ORACLE_HOME defines the full path of the Oracle components on the client
machine running the install. The default value is imported from the system variable
of the same name. For example: /app/oracle/product/12.x.x/dbhome_1.
If you do not accept the default value, you can set this location as a system variable
for easier reference.
The LoftStore database name without domain uniquely identifies it from any other
databases.
The hostname of the database identifies the server where the LoftStore database is
installed.
The port value on the database server for the LoftStore database, which identifies
the TCP/IP end point for a host connection.
There are two database connection types that you can use, but only one is required:
Enter the SID or SN of your database. The SN needs to be the "fully qualified
service name" your site uses. For example: orcl.loftwareinc.com. Consult
your database administrator for your site's fully qualified naming convention.
Oracle Database collects and stores statistics about materialized view refresh
operations. If you are using Amazon RDS for Oracle Database, enter N (no).
Enter the name of the database user with permissions to install the Spectrum
database.
Enter the password of the database user with permissions to install the Spectrum
database.
Confirm password:
Clarify if the database user is also the sysdba of the Spectrum database.
Are you accessing the LoftStore dump file from Loftware via Amazon
Web Services? (Y|N) [N]:
The upgrade log files are available in the default location <LOFTSTORE_
HOME>/upgrade/logs. For an explanation of any messages, errors, or warnings that are
recorded in a log file, contact Loftware Technical Support.
Next Step
If your license includes Spectrum Business Intelligence (BI), you should restart the BI
services after upgrading. To start the service on a Windows Server operating system,
double-click the Start JRS Service icon on the desktop of the server where you installed
Spectrum BI. To start the service on a Linux operating system, run the
./ctlscript.sh start command from the location you chose for the installation
(default location is /opt/spectrumbi).
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
Before proceeding with the upgrade, you need to stop the currently running Loftware
Spectrum service running on the Spectrum Application Server.
If you are running a Distributed Service environment, the Loftware Spectrum service must
be stopped on all the Spectrum Application Servers.
Location
<LOFTSTORE_HOME>\upgrade
4. If you are upgrading from Spectrum 4.5 or later to Spectrum4.7.1 and you opted to
use the Loftware-supplied tablespaces with default names during installation, skip
this step.
If you opted to use the Loftware-supplied tablespaces with custom names or to use
existing tablespaces with custom names, you must perform the following steps to
modify the tablespace names.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces used during the Spectrum database installation.
loftstore.tbsp.main=SPECTRUM_MAIN
loftstore.tbsp.audit=SPECTRUM_AUDIT
loftstore.tbsp.arch=SPECTRUM_ARCH
loftstore.tbsp.cust=SPECTRUM_CUST
loftstore.tbsp.davinci=SPECTRUM_DAVINCI
Example
loftstore.tbsp.main=mycustomname_spectrum_main
loftstore.tbsp.audit=mycustomname_spectrum_audit
loftstore.tbsp.arch=mycustomname_spectrum_arch
loftstore.tbsp.cust=mycustomname_spectrum_cust
1. Open a Command Prompt on the client computer and navigate to the upgrade
folder.
Note: Loftware recommends you enter specific values for the dbupgrade prompts
that match your site's configuration. The default values shown on the dbupgrade
prompts should only be considered examples.
Tip: If the message No database upgrade required is displayed, the version of the
database you are installing is the same as your current database; therefore, you do
not need to upgrade the Spectrum database. Continue with Upgrading
the Spectrum Application.
The Spectrum database name without domain distinguishes it from any other
databases on the server. Example: Postgres11 or loftstore
The port value on the database server for the Spectrum database, which identifies
the TCP/IP end point for a host connection. Example: 5432
Enter the name of the database user with permissions to install the Spectrum
database.
Enter the password of the database user with permissions to install the Spectrum
database.
Confirm password:
3. Run the following command from the setup folder to start scheduled jobs:
schedule_jobs
The upgrade log files are available in the default location <LOFTSTORE_
HOME>/upgrade/logs. For an explanation of any messages, errors, or warnings that are
recorded in a log file, contact Loftware Technical Support.
Next Step
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
Upgrading the Spectrum database in PostgreSQL on Linux involves the following tasks:
Before proceeding with the upgrade, you need to stop the currently running Spectrum
services, running in all environments on the Spectrum Application Server.
Perform the following steps on the Spectrum Database Server as the Linux user that acts
as the PostgreSQL system user (the default system user is postgres).
Location
<LOFTSTORE_HOME>/upgrade
4. If you are upgrading from Spectrum 4.5 or later to Spectrum4.7.1 and you opted to
use the Loftware-supplied tablespaces with default names during installation, skip
this step.
If you opted to use the Loftware-supplied tablespaces with custom names or to use
existing tablespaces with custom names, you must perform the following steps to
modify the tablespace names.
b. Under the # Tablespace Names section, edit the following to be the custom
names of the tablespaces used during the Spectrum database installation.
loftstore.tbsp.main=SPECTRUM_MAIN
loftstore.tbsp.audit=SPECTRUM_AUDIT
loftstore.tbsp.arch=SPECTRUM_ARCH
loftstore.tbsp.cust=SPECTRUM_CUST
loftstore.tbsp.davinci=SPECTRUM_DAVINCI
Example
loftstore.tbsp.main=mycustomname_spectrum_main
loftstore.tbsp.audit=mycustomname_spectrum_audit
loftstore.tbsp.arch=mycustomname_spectrum_arch
loftstore.tbsp.cust=mycustomname_spectrum_cust
loftstore.tbsp.davinci=mycustomname_spectrum_davinci
Perform the following steps on the Spectrum Database Server as the Linux user that acts
as the PostgreSQL system user (default is postgres).
1. Open a Terminal on the client computer and navigate to the upgrade folder.
Note: For most upgrades, we recommend you specify values for the configure
prompts that match your site's configuration and NOT accept the default values,
since they only offer a limited local configuration.
Tip: If the message No database upgrade required is displayed, the version of the
database you are installing is the same as your current database; therefore, you do
not need to upgrade the Spectrum database. Continue with Upgrading
the Spectrum Application.
The Spectrum database name without domain distinguishes it from any other
databases on the server. Example: postgres11 or loftstore
The hostname of the Spectrum database identifies the server where the database
is installed. Example: dbserver or localhost
Enter the name of the database user with permissions to install the Spectrum
database.
Enter the password of the database user with permissions to install the Spectrum
database.
Confirm password:
3. Run the following command from the setup folder to start scheduled jobs:
./schedule_jobs.sh postgres
The upgrade log files are available in the default location <LOFTSTORE_
HOME>/upgrade/logs. For an explanation of any messages, errors, or warnings that are
recorded in a log file, contact Loftware Technical Support.
Next Step
If your license includes Spectrum Business Intelligence (BI), you should restart the BI
services after upgrading. To start the service on a Windows Server operating system,
double-click the Start JRS Service icon on the desktop of the server where you installed
Spectrum BI. To start the service on a Linux operating system, run the
./ctlscript.sh start command from the location you chose for the installation
(default location is /opt/spectrumbi).
This section describes upgrading the Loftware Spectrum database. These instructions
apply if you are using the Loftware-supplied embedded database (LoftStore). The
embedded database connection is encrypted.
Important: Loftware Spectrum 4.0 must be installed before upgrading to Spectrum 4.7.1.
If you are on a version prior to Loftware Spectrum 4.0, then you cannot upgrade to
Spectrum 4.7.1 directly — you must first upgrade to Spectrum 4.0. If you are upgrading
from a version prior to Spectrum 4.0, do the following:
Note: The Loftware-supplied embedded database is supported only for customers who
have upgraded from a version prior to Loftware Spectrum 4.1.
Upgrading the embedded database on a server running the Windows Server operating
system involves the following tasks.
Before proceeding with the upgrade, stop the Loftware Spectrum service currently
running on the Spectrum Application Server.
If your license includes Spectrum Business Intelligence (BI), you must also stop the BI
services before upgrading. To stop the service, double-click the Stop JRS Service icon
on the desktop of the server where you installed Spectrum BI.
This backup is intended for use if there is an installation failure that requires you to revert
to your previous version of Loftware Spectrum. Both the Spectrum application and the
Spectrum database should be backed up.
Note: Include any folders or files you have added to the Spectrum folder structure that
will need to be copied back into the new Spectrum version, such as printed PDF labels.
2. Create an upgrade folder to contain the required upgrade folders and files.
Recommended Location
<LOFTSTORE_HOME>\upgrade
4. Navigate to the upgrade\datapump folder and copy the .dmp files in the folder.
5. Paste the .dmp files into your job archive datafile location on the Spectrum
Database Server.
Note: The job archive datafile location was set during the initial installation of the
Spectrum database. The default location is <LOFTSTORE_
HOME>\exports\archive. After upgrading, you may delete the .dmp files from this
location if desired.
This process describes upgrading the Loftware-supplied database and should be run by
a user with Administrative privileges.
1. Open a Command Prompt window on the client computer and navigate to the
upgrade folder.
Important! For most upgrades, Loftware recommends you enter specific values for
the dbupgrade prompts that match your site's configuration. The default values
shown on the dbupgrade prompts should only be considered examples.
Tip: If the message No database upgrade required is displayed, the version of the
database you are installing is the same as your current database; therefore, you do
not need to upgrade the Spectrum database. Continue with Upgrading
the Spectrum Application.
Enter Y (yes).
Note: A number of dependency errors, with ORA IDs associated with them, may
appear when the upgrade process starts. These are expected and do not indicate
a problem with the upgrade.
The upgrade log files are available in the default location <LOFTSTORE_
HOME>/upgrade/logs. For an explanation of any messages, errors, or warnings that are
recorded in a log file, contact Loftware Technical Support.
If your license includes Spectrum Business Intelligence (BI), you should restart the BI
services after upgrading. To start the service on a Windows Server operating system,
double-click the Start JRS Service icon on the desktop of the server where you installed
Spectrum BI. To start the service on a Linux operating system, run the
./ctlscript.sh start command from the location you chose for the installation
(default location is /opt/SpectrumBI).
This section describes how to upgrade the Loftware Spectrum® application. Before
performing the procedures in this section, be sure you have completed Preparing
to Upgrade and Upgrading the Spectrum Database, and be sure to have the following
files from your previous installation available:
To upgrade the Spectrum application, use the following procedure for your operating
system:
This section describes how to upgrade the Loftware Spectrum application on a server
running the Windows Server operating system. Before performing the procedures in this
section, be sure you have completed Upgrading the Spectrum Database and Preparing
to Upgrade.
To upgrade the Spectrum application, perform the following steps as a user with
administrator privileges.
Example
<SPECTRUM_HOME>\spectrum-upgrade\upgrade
upgrade
6. If you unzipped the upgrade file to a location other than the recommended location,
respond to the prompt for the location of Spectrum on your Spectrum
Example
C:\Loftware\Spectrum\Spectrum
Example
loftwarespectrum
9. Look at the console output to see if another message is displayed about settings in
javaoptsWin.properties differing from the original settings. If the
javaoptsWin.properties message is displayed, perform the following steps. If the
javaoptsWin.properties message is not displayed, skip this step and proceed to the
next step.
b. Use the file path provided in the message to navigate to and open the
diffWinJavaOpts.log file, and then compare the javaoptsWin.properties
settings in your original Spectrum application to those in the upgraded
Spectrum application.
c. Evaluate and determine if your Tomcat Java memory settings are appropriate
for your Spectrum configuration. For additional information or assistance,
contact Loftware. If needed, note the recommended values provided by
Loftware.
g. If you made changes to the settings in the steps above, run the following
command in the <SPECTRUM_HOME>\product\bin folder to apply the
settings:
service.bat update
11. To ensure that you retain any custom configurations in your environment, navigate
to the new <SPECTRUM_HOME>\product\conf folder and do the following:
b. Verify that your new jdbc.properties file contains any changes made in your
backup jdbc.properties file. Take special note of the external.jdbc.drivers
property.
d. Move any other custom files, such as keystore files, back to the
<SPECTRUM_HOME>\product folder.
12. If you use any third party JDBC drivers, use the copies you made before upgrading
to add the drivers back to the <SPECTRUM_HOME>\product\lib folder. For more
information, see "Add a JDBC Driver to Spectrum" in the Loftware Spectrum
User Guide (Help).
13. If you previously added the third party SAP JCo library to the Spectrum instance for
use with Integration for use with SAP® Applications, copy the supported SAP JCo
library back to the <SPECTRUM_HOME>\product\endorsed folder.
Note: If you are upgrading in a distributed services environment, do not restart the
Loftware Spectrum service until you have upgraded all additional Spectrum
Application Servers.
This section describes how to upgrade the Loftware Spectrum® application on a Linux
server. Before performing the procedures in this section, be sure you have completed
Upgrading the Spectrum Database and Preparing to Upgrade.
Note: The upgrade.sh file needs to be owned and run by the loftware user in group
loftware.
Example
<SPECTRUM_HOME>/spectrum-upgrade/upgrade
./upgrade.sh
6. If you unzipped the upgrade file to a location other than the recommended location,
respond to the prompt for the location of Spectrum on your Spectrum Application
Server.
Example
/opt/loftware/spectrum/Spectrum
Example
spectrum
9. Look at the Terminal output to see if another message is displayed about settings in
javaoptsLinux.properties differing from the original settings. If the
javaoptsLinux.properties message is displayed, perform the following steps. If the
javaoptsLinux.properties message is not displayed, skip this step and proceed to
the next step.
b. Use the file path provided in the message to navigate to and open the
diffLinuxJavaOpts.log file, and then compare the javaoptsLinux.properties
settings in your original Spectrum application to those in the upgraded
Spectrum application.
c. Evaluate and determine if your Tomcat Java memory settings are appropriate
for your Spectrum configuration. For additional information or assistance,
contact Loftware. If needed, note the recommended values provided by
Loftware.
d. Once you have determined the appropriate settings, open a terminal window
as a user in the loftware group and navigate to the <SPECTRUM_
HOME>/product/bin folder.
11. To ensure that you retain any custom configurations in your environment, navigate
to the new <SPECTRUM_HOME>/product/conf folder and do the following:
b. Verify that your new jdbc.properties file contains any changes made in your
backup jdbc.properties file. Take special note of the external.jdbc.drivers
property.
d. Move any other custom files, such as keystore files, back to the
<SPECTRUM_HOME>/product folder.
12. If you use any third party JDBC drivers, use the copies you made before upgrading
to add the drivers back to the <SPECTRUM_HOME>/product/lib folder. For more
information, see "Add a JDBC Driver to Spectrum" in the Loftware Spectrum
User Guide (Help).
13. If you previously added the third party SAP JCo library to the Spectrum instance for
use with Integration for use with SAP® Applications, copy the supported SAP JCo
library back to the <SPECTRUM_HOME>/product/endorsed folder.
Note: If you are upgrading in a distributed services environment, do not restart the
Loftware Spectrum service until you have upgraded all additional Spectrum
Application Servers.
The following table provides Oracle's descriptions for the Java options in the
javaoptsWin.properties and javaoptsLinux.properties files and the Loftware-
recommended settings for these options for Spectrum.
-XX:NumberOfGCLogFiles=<NUM_OF_ 4
FILES>
l If you are using Oracle integrations, you must also update these integrations. For
more information, see Oracle Integrations.
l If you are using an SAP BC-XOM integration, you must install the updated Loftware
Spectrum Command Line Interpreter (CLI) on the SAP Application Server, as a new
CLI is packaged with every new version of Spectrum. For more information, see
Upgrading the Command Line Interpreter (CLI).
l If you use Spectrum Remote Print, see Upgrading Spectrum Remote Print.
l If you have a distributed Spectrum environment, see Upgrading Spectrum for
Distributed Services.
l If you have a multi-site deployment of Spectrum, see Starting Services for Multi-
Site Deployment.
l If you are using Loftware DaVinci, see Managing the Loftware DaVinci Password.
l If your license includes Spectrum Business Intelligence (BI), see the
Loftware Spectrum Business Intelligence Installation Guide for information about
installing and accessing Spectrum BI.
l If you use SSO with Spectrum, see Upgrading Spectrum with SSO.
l If you use HTTPS for Spectrum, see Configuring HTTPS.
After you have successfully upgraded Spectrum, if your Spectrum environment contains
Oracle integrations then you must update them also.
1. Sign in to Spectrum.
For more information about Oracle integrations, see the Spectrum User Guide (online
Help).
If you are using SAP BC-XOM integrations, then you must upgrade the Loftware
Spectrum Command Line Interpreter (CLI) on the SAP Application Server, as a new CLI
is packaged with every new version of Spectrum.
Important: Spectrum 4.7 uses a new communication method from the CLI to Spectrum
and a new URL in the SAP Logical Output Management System (LOMS) command. If
you are upgrading from Spectrum 4.6 or earlier versions, you must follow the steps to
upgrade the CLI and then change the SAP LOMS command configuration to use the
new URL.
The following steps should be performed by a SAP Basis Administrator on the SAP
Application Server. The configuration for the Loftware Spectrum CLI requires moving files
into a folder that the SAP Logical Output Management System (LOMS) instance can
access.
Tip: It is strongly recommended that each SAP Application Server be configured with its
own CLI and a uniquely named CLI log file.
To upgrade the CLI on the SAP Application Server, perform the following steps.
1. Navigate to your existing CLI directory and copy the contents to another directory to
create a backup of the contents.
2. After creating the backup, delete the contents of the existing CLI directory.
3. Perform the steps included in Installing the Command Line Interpreter (CLI).
4. If you are upgrading from Spectrum 4.6 or earlier versions, you must do the
following in SAP Spool Administration (SPAD) to update the SAP LOMS command
configuration to use the new URL.
Note: This procedure should be performed within the SAP Application Server by a
system administrator. You must use an SAP user account with administrative
access to SPAD and related transactions.
a. From the main SPAD page, click the Output management systems tab, and
then next to LOMS click Display. The list of LOMS is displayed.
b. From the LOMS display page, click the cascading paper icon to enter the
Commands page.
Tip:
The new URL for Spectrum 4.7.1 is:
http(s)://<SpectrumServerIPAddress>:<port>/spectrum-server/int/sbpj
The URL for Spectrum 4.6 and earlier versions was:
http(s)://<SpectrumServerIPAddress>:<port>/spectrum-server/blazeDS/amf
runcli.cmd http
(s)://<SpectrumServerIPAddress>:<port>/spectrum-
server/int/sbpj "n=<IntegrationName>" "&EI" "&EG" "&P" "&F"
"&ES" <FileType>
Example
runcli.cmd http(s)://localhost:8080/spectrum-server/int/sbpj
"n=bcxom1" SapTest CIDSDEVLK "PDFDev1" ZZMEDRUCK.rdi
DEVPORTSAP01_IDS_03 RDI
Spectrum Remote Print deploys the Loftware Print Agent on a remote computer existing
outside of your LAN/WAN. When installed, the Loftware Print Agent allows the remote
computer to communicate directly with the Spectrum Application Server. On the
Spectrum Application Server, a Spectrum object called a Remote Site represents a
location where a Loftware Print Agent is installed and manages the configuration of the
Loftware Print Agent and associated devices.
In Spectrum 4.6, Loftware introduced a new method for installing, configuring, and using
remote printing capabilities, the Loftware Print Agent (LPA). The Loftware Print Agent
replaces the Remote Print Agent and offers simpler configuration and upgrading, as well
as improved monitoring and troubleshooting capabilities and general usability.
If you previously configured Spectrum Remote Print with the Loftware Print Agent in
Spectrum 4.6 or later versions, you should check the Release Notes for your new version
of Spectrum to see if you need to upgrade Spectrum Remote Print. If an upgrade is
required, perform the following steps after upgrading the Spectrum Application Server.
2. Click Upgrade. When the process is complete, the installer automatically closes.
3. Confirm that the updated Remote Site is connected by clicking the Loftware
If you previously configured Spectrum Remote Print with the Remote Print Agent in
Spectrum 4.5.x, you do not need to upgrade Spectrum Remote Print at this time.
However, upgrading the Remote Print Agent to the Loftware Print Agent is recommended
as it offers a redesigned remote print solution that includes performance improvements
with increased printer speeds, backwards compatibility, auto-upgrade capabilities for
future upgrades, and a secure LPA installer. To upgrade, perform the steps in Upgrade
the Remote Print Agent to the Loftware Print Agent.
If you previously configured Spectrum Remote Print with the Remote Print Agent in
Spectrum 4.2.x or earlier versions, you must upgrade to the Loftware Print Agent for your
new version of Spectrum. To upgrade, perform the steps in Upgrade the Remote Print
Agent to the Loftware Print Agent.
To upgrade to the Loftware Print Agent, an administrator of the remote computer should
use this procedure.
3. Transfer the Loftware Print Agent Installer to the Remote Site computer.
4. On the Remote Site computer, double-click the installer file and respond to the
following prompts.
a. Read the End User License Agreement, and then click Accept.
b. Wait while the Remote Print Agent is uninstalled and the Loftware Print Agent
is installed. When the process is complete, the installer automatically closes.
5. Confirm that the updated Remote Site is connected by clicking the Loftware
1. Stop the Loftware Spectrum service on the initial Spectrum Application Server and
on each additional Spectrum Application Server.
2. On each additional Spectrum Application Server, use the following procedure for
your operating system:
Note: If you completed this step during a previous Spectrum upgrade, you can skip
this step.
a. In Access Control, in the Access Control Tree, click the arrow next to the
Spectrum Application Server to display the JVM Process.
b. Select the JVM Process in the Access Control Tree, and then click Edit in the
ribbon.
c. In the Edit JVM Process dialog box, delete the port number in the Secure
JVM Port field and leave the field blank.
d. Click Save.
If you have configured a multi-site deployment of Loftware Spectrum, use the following
procedure to upgrade Spectrum.
1. Stop the Loftware Spectrum service at the headquarters and facility sites.
2. Upgrade the Spectrum database at the headquarters site. For more information,
see Upgrading the Spectrum Database.
3. Upgrade the Spectrum database at each facility site. If you are upgrading from a
version prior to Spectrum 4.1, see Upgrade Spectrum Embedded Database on
Windows Server. If you are upgrading from Spectrum 4.1 or later, see Upgrade
Spectrum Database in PostgreSQL on Windows Server.
4. Upgrade the Spectrum application at the headquarters site, but do not start the
Loftware Spectrum service. For more information, see Upgrading the Spectrum
Application.
5. Upgrade the Spectrum application at each facility site. For more information, see
Upgrading the Spectrum Application.
8. Start the services required to support multi-site deployment. For more information,
see Starting Services for Multi-Site Deployment.
Note: To perform this task, you must be signed in as the SystemAdmin or SuperAdmin
user. For more information, see the Spectrum User Guide (Help).
1. Sign in to Spectrum.
Tip: For more information about configuring services for multi-site deployment, see the
Spectrum User Guide.
You must perform the steps in this section to update the password of the DaVinci
database user on the Spectrum Application Server if all of the following applies:
If you are not upgrading Spectrum, you can also use the following steps to update the
password on the Spectrum Application Server if you changed the Loftware DaVinci
database user password in the database after DaVinci was installed.
4. Comment out the encrypted password for the DaVinci user, and then save and
close the file.
Example
6. Add the unencrypted DaVinci user password, and then save and close the file.
Note: When an unencrypted password is used, you may see the following
message in the spectrum.log file. This message can be ignored and will not affect
your Spectrum environment.
get error:
javax.crypto.BadPaddingException: Given final block not
properly padded.
Example
jdbc.url=
com.loftware.schema.davinci.user=
com.loftware.schema.davinci.user.password=MyPassword
Spectrum 4.7.1 includes an updated keystore file. If all of the following conditions apply to
your environment, you must perform the steps in this section to ensure users can
continue to sign in to Spectrum 4.7.1:
Note: If you are using your own keystore file, you do not need to perform these steps.
For more information, see Configuring HTTPS.
5. Go to your Identity provider (IdP) and upload the new local_sp_metadata.xml file.
6. Download the SAML metadata file from your IdP and save that file to
<SPECTRUM_HOME>\product\conf as saml2-metadata-idp.xml.
The Driver Installer is a utility that allows you to use a supplied distribution package to
add new device drivers to a Spectrum Application Server or update existing drivers on a
Spectrum Application Server.
l The Driver Installer can only be used by an account with administrative privileges.
l Parameters specified on the command line override parameter values specified in
the DriverInstaller.properties file.
l Default URL and path locations are specified in the DriverInstaller.properties file.
Logging Features
l There are client and server logging components.
l The default log file location is <SPECTRUM_HOME>\utilities\driverInstaller.
l Client logging is recorded to the console and to a log file.
l Logging to the console defaults to the INFO level and contains basic
information.
l Logging to the log file defaults to the DEBUG level.
l Client logging is configured in the log4j2.xml file.
l Server logging is recorded to a log file.
l Server logging defaults to the INFO level.
l Server-side log is recorded in the spectrum-drv-install-svc.log file.
For information about the command syntax, refer to Driver Installer Syntax.
The DriverInstaller.properties file contains parameter values that provide the default
values for the Driver Installer utility. This file can be edited at any time.
l User account
l Encrypted password
l Location and name of the driver package file
l Default timeout for loading a driver (240000 milliseconds)
Use the following syntax when adding or updating device drivers into Spectrum. The
DriverInstaller.properties file contains many of the command line parameter default
values, but those values can be overridden on the command line. If a parameter value is
not specified on the command line, the default value in the properties file is assumed.
Where:
-action {create|update}
[-path {fully qualified path|relative path to the folder containing the distribution file}]
This is an optional parameter that specifies the path to the folder containing the driver
package file. The path can be fully qualified or relative. If not specified, the value in the
properties file is used.
This is an optional parameter that specifies the name of the driver package file. If not
specified, the value in the properties file is used.
This is an optional parameter that specifies either the hostname or IP address of the
Spectrum Application Server. If not specified, the value in the properties file is used.
This is an optional parameter that specifies the port number to use when connecting to
the Spectrum Application Server. If not specified, the value in the properties file is used.
This is an optional parameter that provides a user account with administrative privileges
to use when installing the driver. This should be SuperAdmin. If not specified, the value
in the properties file is used.
This is an optional parameter that specifies the unencrypted password for the username.
If not specified, the value in the properties file is used.
[-encryptpassword]
This optional parameter allows you to encrypt the default password entered in the
DriverInstaller.properties file. The encrypted value overwrites the clear text value in the
properties file.
Note: This argument should not be used if the password is already encrypted.
Note: When used, this parameter can be the only parameter specified on the command
line.
This optional parameter allows you to change the existing value for the default password
in the DriverInstaller.properties file. There will be a prompt to enter and then verify the
new password, which is then encrypted and becomes the current password value in the
properties file.
Note: When used, this parameter can be the only parameter specified on the command
line.
[-timeout]
This optional parameter sets a timeout value for establishing and maintaining a
connection to the Spectrum server. The default value is 240000 milliseconds.
[-force]
This optional parameter allows you to reinstall the same version or an older version of a
driver by bypassing the version check that would otherwise prevent installation.
Uninstalling Loftware Spectrum means removing the Spectrum application and the
Spectrum database (LoftStore), as well as the Remote Print Agent if applicable. The
procedure should be done in the following order:
Loftware recommends the following procedure to uninstall the Spectrum application and
Loftware Spectrum service.
Warning: Uninstalling Spectrum deletes all of the log files in the <SPECTRUM_
HOME>/product/logs folder. If you want to retain these logs, copy this folder to another
location before uninstalling Spectrum.
Important! For Linux, the following steps must be performed by the same user who
installed Spectrum.
Example
3. In the Maintenance Mode dialog, select Uninstall Product, and then click Next.
4. In the Uninstall Spectrum dialog, click Uninstall to confirm that you want to
continue this process.
This section describes how to uninstall the Loftware Spectrum embedded database,
LoftStore. Before performing the procedures in this section, be sure you have completed
Uninstall the Spectrum Application and Service.
Important! LoftStore contains all the data used by Spectrum, and uninstalling LoftStore
deletes your Spectrum data.
Example
C:\Loftware\Spectrum\_Loftstore_installation
5. In the Maintenance Mode dialog, select Uninstall Product, and then click Next.
6. In the Uninstall Loftstore dialog, click Next to confirm that you want to continue this
process.
Note: If you had upgraded Spectrum from a version prior to Loftware Spectrum 4.1,
some LoftStore files may still remain on your system and can be deleted.
If a computer on which the Remote Print Agent has been installed is no longer be used as
a remote computer for Spectrum Remote Print, you should uninstall the Remote Print
Agent from the computer.
2. Navigate to the directory where the Loftware Remote Print Agent is installed.
Example
cd C:\Loftware\RemotePrint\
Example
cd remotePrintAgent
The Remote Print Agent, including the Loftware Spectrum Remote Print service, is
uninstalled from the remote computer.
Tip: If you plan to continue using Spectrum Remote Print capabilities by using another
computer, you must install the Remote Print Agent on that computer. You can associate
the existing Remote Site in Spectrum with the new computer, allowing devices already
configured to use that Remote Site to function with the new computer. For more
information, see "Remote Printing with Spectrum Remote Print" in the
Spectrum User Guide.
If a computer on which the Loftware Print Agent has been installed is no longer be used
as a remote computer for Spectrum Remote Print, you should uninstall the Loftware Print
Agent from the computer.
3. Right-click the Loftware Print Agent, and then click Uninstall. The Loftware Print
Agent, including the Loftware Spectrum Remote Print service, is uninstalled from
the remote computer.
Tip: If you plan to continue using Spectrum Remote Print capabilities by using another
computer, you must install the Loftware Print Agent on that computer. You can associate
the existing Remote Site in Spectrum with the new computer, allowing devices already
configured to use that Remote Site to function with the new computer. For more
information, see "Remote Printing with Spectrum Remote Print" in the
Spectrum User Guide.
You must understand the following concepts related to securing the data in your
Spectrum instance.
The Spectrum database is a dedicated persistent data repository called LoftStore that
you may have installed as an internal embedded database for a facility in a multi-site
deployment of Loftware Spectrum 4.0 or earlier versions, or installed as an internal
embedded database for Loftware Spectrum 3.6 or earlier versions.
The following backup settings are configured as part of the installation process:
l Location: This is the folder on your server that serves at the recovery storage area.
l Frequency: You can configure how frequently backups occur in days.
You create a full backup of the Spectrum database as part of the installation process.
1. In Windows Server, open the Service Manager console and verify that the Loftware
Spectrum service is not running.
To change the location of the database recovery area after Spectrum has been installed,
use the following procedure. This area should be configured when Spectrum is initially
installed through a setting in loftstore.properties.
Example
100G
5. At the backup folder location prompt, enter the fully-qualified path for the new
location.
Example
D:\BACKUP
Use the following procedures to change the backup settings of the Loftware-supplied
embedded database.
This topic covers how to back up the full Spectrum instance (the Spectrum application
and the Spectrum database). Loftware recommends that you back up the entire
Spectrum folder structure on a regular basis using whatever backup tools you normally
use for server backup.
On the Spectrum Application Server, copy the full folder hierarchy of <SPECTRUM_
HOME> to another location.
To back up the Spectrum database, use the following steps for the appropriate server
configuration.
To back up the Spectrum database in PostgreSQL, refer to the backup and restore
documentation on the PostgreSQL website (https://www.postgresql.org).
If you are using the Spectrum database in Oracle or the Loftware-supplied embedded
database, there are folders that may need to be excluded from backups. Oracle requires
uninhibited access to all of its files on a near-constant basis. Backup tools typically lock
files while those files are being copied. If Oracle database files are locked while active,
there is a chance that Oracle will detect an error and shut down.
To work around the file-locking issue, the active Oracle database files must be omitted
from the backup. Because Spectrum automatically backs up these up to the recovery
folder, it is not necessary to back them up from the "live" data folders.
The following data folders described in the loftstore.properties file should be excluded
from your backup process, as well as any folders you added to this set.
Example
C:\Loftware\Spectrum\Loftstore\data\LOFTSTORE
Important! This command does not completely start the database, but it does put
LoftStore into a mode that is necessary for the restoration process to work.
a. If you are using the Spectrum database in Oracle, confirm that the following
services are running.
l OracleOraHome1TNSListener
l OracleServiceLOFTSTORE
6. In Windows Server, open Service Manager and start the Loftware Spectrum
service.
Example
http://spectrum-server:8080/loftwarespectrum
Note: If you are using the Spectrum database in Oracle, these steps must be performed
by a user assigned to the ora_dba user group.
a. If you are using the Spectrum database in Oracle, confirm that the following
services are running.
l OracleOraHome1TNSListener
l OracleServiceLOFTSTORE
Use the following procedure to import an instance snapshot that you previously exported.
Note: If you are using the Spectrum database in Oracle, these steps must be performed
by a user assigned to the ora_dba user group.
1. Move the DMP file to the target server and place it in the <LOFTSTORE_
HOME>\exports\ folder.
2. Verify that the Spectrum instance you are importing to has been upgraded to the
same version.
3. Verify that the database instance, listener service, and database service are
running.
a. If you are using the Spectrum database in Oracle, confirm the following
services are running.
l OracleOraHome1TNSListener
l OracleServiceLOFTSTORE
10. Run ls_utils rename to change the server name on the new instance.
ls_utils rename
11. When prompted for the name of the old server, enter the old server name (for non-
distributed server environments, this field can be left blank).
12. When prompted for the name of the new server, enter the new server name.
15. Obtain a new Spectrum license for this instance. For more information, see License
Spectrum.
Logging
Note: The following entries are normal and not an indication that the import was not
successful.
It is recommended that you create a plan and procedure for managing the offline storage
based on your business needs. When Spectrum is installed, the user is prompted to enter
a job archive datafile location and a job archive retention value. Spectrum creates a dump
file in the specified location every month once the retention time has been reached;
however Spectrum does not perform any management of the file after it is created. If the
archive files continue to accumulate without a management plan in place, they could fill
the drive and potentially cause adverse effects. These effects could be significant if the
archive files are stored on the database server, which is the location set by default during
installation (<LOFTSTORE_HOME>\exports\archive).
To avoid issues resulting from insufficient space, perform the following tasks:
To view your current archive file location, use the following steps for the appropriate
server configuration.
4. From a command prompt with administrator privileges, navigate to the folder where
you extracted the contents of the file to.
An Oracle user with privileges to run the Oracle administrative tools is required for this
process. From a command prompt with administrator privileges, run the following
command:
select system_value
from loftspec.system_properties
where system_key ='archive_retention_in_months'
and system_namespace='jobService';
To view your current archive retention value, use the following steps for the appropriate
server configuration.
4. From a command prompt with administrator privileges, navigate to the folder where
you extracted the contents of the file to.
6. At the prompt, enter the following to retrieve the current value from the database:
archive_retention_in_months
An Oracle user with privileges to run the Oracle administrative tools is required for this
process.
1. From a command prompt with administrator privileges, run the following command:
select directory_path
from dba_directories
where directory_name = 'LOFTARCH_EXPORT_DIR';
Your offline storage management plan depends on your business needs, but you can
begin to create a plan with the following questions:
l How far back in time do you need to keep printing history records? Note that each
file represents one month.
l Does that need exceed the archive retention time set on the Spectrum
Application Server?
Once you have determined your plan, it is recommended that you create an automatic
process of copying the archive files off the database server. Based on your archive rules,
the files might be moved to long-term storage, copied to an archive service, written to
offline media (tape), or simply deleted.
By default, Spectrum creates archive database dump files in the location you specified
during the database installation. If you do not want or need these dump files, you can
prevent the files from being automatically created to save space on your database server
by performing the following steps.
5. Click Save.
The following log files are created when you install the Spectrum database (LoftStore).
These files are in the <LOFTSTORE_HOME>\setup\logs folder.
Examples
Linux – /opt/loftware/spectrum/loftstore/setup/logs
l loftstore.log – Contains the output (standard and error) from the installation of the
Spectrum database instance within the Oracle database.
l loftstore2.log – Lists the actions performed when configuring the Spectrum
database.
Other places to look for information about the installation and configuration of the
Spectrum database include using the Server Manager Event display.
Open the Server Manager and navigate to Local Server, then Events.
The following log files are created and used only when you install the Loftware-supplied
embedded database.
Note: The Loftware-supplied embedded database is supported only for customers who
have upgraded from a version prior to Loftware Spectrum 4.1.
l createDB.log – Contains the output (standard and error) from the installation of the
Spectrum database (LoftStore).
l postDBCreation.log – Lists the actions performed when configuring the Spectrum
database.
Additional Logs
As part of the Loftware-supplied database installation, trace and database logs are also
produced in the following folders:
l <LOFTSTORE_HOME>\cfgtoollogs\netca\
l <LOFTSTORE_HOME>\cfgtoollogs\dbca\
l <LOFTSTORE_HOME>\cfgtoollogs\catbundle\
The following log files are created by the various backup and recovery processes. These
files are in the <LOFTSTORE_HOME>\setup\logs folder.
Linux: /opt/loftware/spectrum/loftstore/setup/logs
There are two log folder locations for the Spectrum Application Server. One folder for
Spectrum application activity and one for the Spectrum Application Server.
l spectrum.log
l spectrum-critical.log
l spectrum-data.log
l spectrum-drv-install-svc.log
l spectrum-integration.log
l spectrum-soap.log
l spectrum-security.log
l catalina.[yyyy-MM-dd].log
l commons-daemon.[yyyy-MM-dd].log
l host-manager.[yyyy-MM-dd].log
l localhost.[yyyy-MM-dd].log
l loftwarespectrum-stderr.[yyyy-MM-dd].log
l loftwarespectrum-stdout.[yyyy-MM-dd].log
l manager.[yyy-MM-dd].log
Note: For Linux users, the folder and files within <SPECTRUM_HOME>/product/logs
are owned by the Spectrum user that installed Spectrum.
Event logging is the recording of the actions performed by the Spectrum Application, at a
high level, in a set of text files. Event logs can be used by administrators and technical
support engineers to monitor system performance and diagnose potential problems.
Event logs also maintain a record of system activity for future reference.
Loftware Spectrum uses Apache log4j 2™ Logging Services for log message handling.
See Welcome to Log4j 2 (http://logging.apache.org/log4j/2.x/manual/index.html) on the
Apache Logging Services website for detailed information. This topic describes how the
Spectrum-specific event logging is configured, and where it can be customized.
Apache log4j 2 is configured with an XML file. The default log4j2.xml file can be found in
<SPECTRUM_HOME>\product\conf after Spectrum is installed.
Logging Levels
The following are the different types of messages that may be included in a log for
Loftware Spectrum:
l Fatal error messages: These messages indicate situations in which the application
must shut down or is unusable.
l Error messages: These messages indicate that the application is in an unexpected
and possibly compromised state. A user may have performed an action that
compromised the application.
l Warning messages: These messages indicate that something unintended and
notable occurred in the application, or may indicate an important application state
change. The application may have acted in a way that is a cause for concern, but
has not impacted the stability of the application. A user may have made a mistake,
but has not compromised the application.
The following logging levels can be set in log4j2.xml. The logging level is set
independently for each log.
Level Description
ERROR Only fatal error messages and error messages are included in the
log.
WARN Only fatal error, error, and warning messages are included in the log.
INFO Fatal error, error, warning, and informational messages are included
in the log. For some environments, this level may be more verbose
than is desirable except when troubleshooting a problem.
You can adjust the information logged from Spectrum by editing the custom_log4j2.xml
file. To configure logging levels, begin by navigating to the custom_log4j2.xml file in the
following location after Spectrum is installed:
<SPECTRUM_HOME>\product\conf
Rollover triggers are configured within the <RollingFile> element by setting the
<Policies> element. A rollover trigger can be size-based and time-based.
The following example defines two rollover triggers: when the log file size reaches 200
MB and when the current date no longer matches the log’s start date.
The default appender is configured within the <Root> element by using the
<AppenderRef> element.
<Root level="warn">
<AppenderRef ref="DAILY_ROLL" />
</Root>
Package-Level Loggers
Package-level loggers, which are commented out by default, can be customized for
troubleshooting purposes. You can enable and configure logging for packages by
uncommenting the corresponding node and adjusting the level.
The following example in the <LOGGER Groupings> section defines the logging
configuration of the com.loftware.model.StartupInitializer package:
<!--
<Logger name="com.loftware.model.StartupInitializer"
level="DEBUG" />
-->
Loftware Spectrum logs information, error, and warning messages to a set of log files.
The log files that are created can be found in the Spectrum logs folder. Log files "roll over"
at the interval configured in the log4j2.xml file. The previous file is compressed and
renamed with a timestamp.
The System Log is the default log for Spectrum. It provides a full, lifetime view of the
application. All messages are captured in this log, so the other logs can be reconciled
against this one to provide additional context if needed. The default logging level for this
log is WARN.
Default log file object level request/response details pertaining to the messages sent
between the Spectrum UI and application server.
The Critical Event Log includes messages about issues that are critical to the functioning
of Spectrum. The default logging level for this log is INFO. Depending on the logging level
configured, information such as the following may be included.
l Startup and shutdown information (if the logging level is INFO level or better).
l Licensing changes (if the logging level is INFO level or better).
l Fatal error messages (if the logging level is FATAL or better).
l Any appropriate error messages (if the logging level is ERROR or better).
The Driver Install Log captures information about device driver service. The default
logging level is DEBUG.
The Integration Event Log captures information for Java Message Service (JMS)
integrations. Spectrum supports the Event JMS Consumer and the Event JMS Producer
integrations.
The default logging level for this log is INFO. Depending on the logging level configured,
information such as the following may be included.
The Printing Event Log captures every meaningful state transition in the lifetime of a job
and a print job detail as they progress through Spectrum, as well as any issues that
occur. Device connection information is included.
The default logging level for this log is INFO. Depending on the logging level configured,
information such as the following may be included.
The Security Event Log includes messages about actions–positive and negative–related
to security. The default logging level for this log is INFO. Depending on the logging level
configured, information such as the following may be included.
The SOAP Web Service log captures information about SOAP Web Service Data Service
requests. The default logging level is WARN.
The Entity Sync Log includes information about objects replicated from headquarters to
facilities during synchronization in a multi-site deployment. The default logging level is
DEBUG.
The Transaction Sync Log includes information about transactional data replicated from
facilities to headquarters during synchronization in a multi-site deployment. The default
logging level is DEBUG.
The User Event Log can be turned on to show user-defined log messages from business
rules. The default logging level for this log is INFO.
The following are the hardware and software requirements for Loftware Spectrum® 4.7.1.
This includes the requirements for the Spectrum Application Server and the Spectrum
Database Server, as well as for client computers and mobile devices that connect to
Spectrum. Also, the requirements for devices that receive output from Spectrum, and
requirements for integrating with other applications.
Server Requirements
All enterprise environments are unique. The server requirements necessary to fulfill your
organization's needs can be affected by the number of unique labels to be printed, the
number of devices to which labels will be printed, the relationship between the number of
labels and the number of devices, the complexity of your label templates, and other
factors. Depending on your organization's needs, you may be able to use these
recommendations as base guidelines. Loftware's Professional Services Group can help
you determine the server requirements necessary to meet your exact business needs.
Device Model dialog box. For supported printer families, select Family Driver as the
Family, and then click Model to view the list of supported printer families and languages.
For supported models, select a Family, and then click Model to view the list of supported
models. The printer models supported may vary with the version of Spectrum.
If neither the family nor the model for your printer is listed, you can explore whether a
Driver Extension Framework solution exists that would enable your printer to work with
Spectrum. For more information, see Deploying a Driver Extension Framework Solution
in the Loftware Spectrum User Guide (Help).
Note: Loftware Spectrum® encodes print data using UTF-8. Ensure that your device
firmware supports UTF-8. Older devices may not support this encoding.
You can integrate Spectrum with Oracle, SAP ERP, or other applications, including
applications on a cloud services platform. By doing so, you can route print requests
initiated by users in other applications so that they are processed and printed using
Spectrum. In many cases, Spectrum can report the status back to the originating
application. You can configure as many integrations as your Spectrum license allows.
The following are the hardware and software requirements for servers for Loftware
Spectrum 4.7.1.
Loftware Spectrum uses a dedicated persistent data structure named LoftStore as the
Spectrum database. This can be installed into an existing Oracle database or
PostgreSQL database. Alternatively, you can use Amazon Relational Database Service
(Amazon RDS) for Oracle Database or for PostgreSQL.
Note: For information about the database server for a facility site in a multi-site
deployment of Spectrum, see Requirements for Multi-Site Deployment.
These are the database server requirements for Loftware Spectrum 4.7.1 when it is used
with a new or existing Oracle or PostgreSQL database server.
Important! The storage for the tablespace data must be on a fault-tolerant system, such
as SAN or NAS. The same is recommended for all drives that hold the Spectrum
applications and data.
Component Requirement
Available disk space 2TB or more. Multiple factors can affect the amount of space
for database required. Contact Loftware's Professional Services Group
(PSG) for assistance.
A server that will act as a dedicated Spectrum Application Server has the following
requirements.
Important! If you are installing Spectrum into a network running as a Windows domain,
install the Spectrum application on a domain-member server. Production Spectrum
Application Servers running in a Windows domain are not supported unless they are part
of the domain.
Component Requirement
The following ports need to be opened for UDP and TCP inbound and outbound.
Note: Although these are the default ports, your site may use different port assignments.
l 8080 l 61616
l 8443 l 16161
l 1521
If you are configuring a multi-site deployment, the following are requirements for facility
sites.
l A Spectrum Database Server at a facility site has the usual requirements for a
Spectrum Database Server. For more information, see Requirements for Loftware
Spectrum Facility Database Server in a Multi-Site Deployment.
l A Spectrum Application Server at a facility site has the usual requirements for a
Spectrum Application Server. For more information, see Requirements for
Loftware Spectrum Application Server.
l The name of the root folder in Spectrum must be the same at the headquarters site
and at each facility site associated with that headquarters.
l The database name (usually "loftstore") and schema names must be the same at
headquarters and at each facility.
l The headquarters and facility sites must be able to communicate, but facilities are
not required to be able to communicate with each other.
These are the server requirements for Loftware Spectrum® 4.7.1 facility sites in a multi-
site deployment.
Important! Unless you have upgraded from a version prior to Spectrum 4.1, Spectrum
Business Intelligence is not supported at facility sites.
Important! The storage for the tablespace data must be on a fault-tolerant system, such
as SAN or NAS. The same is recommended for all drives that hold the Spectrum
application and data.
Available disk 2TB or more. Multiple factors can affect the amount of space
space for required. Contact Loftware's Professional Services Group (PSG)
database for assistance.
If you have upgraded from a version prior to Spectrum 4.1 and are therefore using the
Loftware-supplied embedded database, additional constraints apply to facility database
servers and facility databases. For details, contact Loftware's Professional Services
Group (PSG).
Note: The Loftware-supplied embedded database is supported only for customers who
have upgraded from a version prior to Loftware Spectrum 4.1.
If your license includes Spectrum Business Intelligence (BI), the following are the
requirements for the Spectrum Business Intelligence Server. This server must be
separate from the Spectrum Database Server and from the Spectrum Application Server.
Important: The Spectrum BI package included with Spectrum 4.7.1 is not compatible
with the Spectrum database in PostgreSQL 14 or later. If you have installed
the Spectrum database in PostgreSQL 14 or later and are using Spectrum BI, contact
Loftware Technical Support for more information.
Available disk space 10GB 40GB. Multiple factors can affect the amount of
space required. Contact Loftware's Professional
Services Group (PSG) for assistance.
Component Requirement
The following information may help you configure your Spectrum environment and your
servers to optimize their performance.
If you are planning a Spectrum environment that will include more than one Spectrum
Application Server, it is recommended that you configure your environment to support
distributed services. In a Spectrum environment with distributed services, all Spectrum
Application Servers are configured to interact as peers within the Spectrum environment,
all accessing the same Spectrum database.
In such an environment, you use distributed services to manage which server or servers
are providing Spectrum functionality at any time. In Spectrum, you can configure
distributed services for high availability or for failover only. It is recommended that you
configure for high availability of distributed services in Spectrum. This approach involves
configuring Spectrum to load balance those services that support load balancing so that
they are run concurrently on multiple Spectrum Application Servers. Services that do not
support load balancing should be configured to fail over among Spectrum
Application Servers so that if one or more servers go offline, a standby server or servers
begin running the associated services to minimize any interruption for users.
For information about how to install Spectrum to support distributed services, see
Installing for Distributed Services. For information about configuring distributed
services, see the Loftware Spectrum User Guide.
The following tips may help you to optimize the performance of your Spectrum
configuration.
Client computers connect to the Spectrum Application Server and have the following
hardware and software requirements.
Each computer on which the Loftware Spectrum 4.7.1 client software will be run must be
able to connect to the Spectrum Application Server and has the following requirements.
Component Requirement
Support for Optional. You can configure the client computer to allow
remote spooler Spectrum to print via remote spooler (LPR) connection (that
(LPR) connections is, to spool to a device queue that is directly connected to it by
a wired or wireless connection). If you plan to do so, you must
configure the computer as follows:
Loftware Spectrum 4.7.1 supports using the Applications page from a mobile device with
the following requirements.
Component Requirement
Loftware Spectrum® 4.7.1 supports remote printing, the act of printing a label to a device
that would not normally be accessible to Spectrum by using your LAN or by using a direct
connection to Spectrum. For example, printing using a device that is physically
connected to a computer outside of your WAN. The Spectrum Remote Print solution
includes a Loftware Print Agent that is installed on a remote computer. Each Remote Site
computer on which Spectrum Remote Print will be run has the following requirements.
Component Requirement
You can integrate Spectrum with Oracle, SAP ERP, or other applications, including
applications on a cloud services platform. By doing so, you can route print requests
initiated by users in other applications so that they are processed and printed using
Spectrum. In many cases, Spectrum can report the status back to the originating
application. You can configure as many integrations as your Spectrum license allows.
Cloud integration enables you to integrate Spectrum with Oracle Cloud applications so
that users can drive label printing from Oracle Cloud applications, such as the Oracle
Cloud Supply Chain Management (SCM) application. You can configure as many Cloud
integrations as your Spectrum license allows, and you must have a separate subscription
through Oracle Cloud with an Oracle Integration Cloud (OIC) instance to use the
Spectrum Cloud integration feature.
If you are integrating Spectrum 4.7.1 with Oracle Cloud applications, you must meet the
following requirements.
Component Requirement
Business events Identify which business events from SCM will drive label
printing.
Review data available with selected business events to
determine what data comes from SCM and what data must be
gathered from other sources for a complete label. The
Spectrum Cloud integration may be supplemented with
additional data sources configured in Spectrum, external to
the Oracle Cloud, for a complete label data set.
Component Requirement
Cloud services Any cloud services platform, such as the following, to which
platform you can deploy a supported system image:
System image to be The following must be installed on the server used to create
deployed to cloud the system image.
services platform
l Apache Tomcat 8.5 (separate from the Spectrum
Tomcat instance)
l Java 1.8
l Spectrum Cloud Integration Agent
For more information about Cloud applications integration, see the Spectrum User Guide
(Help).
Component Requirement
For more information about Oracle applications integration, see the Spectrum User Guide
(Help).
Component Requirement
Loftware Spectrum license that includes Integration for use with SAP®
license Applications
SAP JCo SAP JCo (sapjco3.jar) 3.1.7 or later, 64-bit version, must be deployed
to the Spectrum Application Server. SAP JCo can be obtained from
SAP Support Portal. If your Spectrum Application Server is running
Windows Server, JCo 3.1 requires the Visual Studio 2013 C/C++
runtime libraries to be installed on the system. The "Visual C++ 2013
Redistributable Package" can be downloaded from
https://support.microsoft.com/en-us/help/4032938.
Loftware To support SAP BC-XOM integrations, you must install the Loftware
Spectrum Spectrum Command Line Interpreter (CLI) on the SAP Application
CLI Server on one of the following operating systems:
l Windows Server
l Linux
l IBM AIX
l SUSE
This section provides information about the Spectrum database users and privileges
created during the Spectrum database installation. Your database administrator should
review this information so users and permissions are correctly recognized and added to
their standard role administration.
Note: If you are using Loftware Spectrum Cloud, Loftware Cloud Operations may assign
unique names for the Spectrum schemas and associated user names for each Spectrum
instance. Contact Loftware Cloud Operations for details.
Note: If you have upgraded from a version prior to Spectrum 4.1 and are using the
Loftware-supplied embedded database, then this section is not applicable.
This section lists the Spectrum database users, along with their roles and privileges,
created during the Spectrum database installation in an Oracle Database.
LOFTADMIN
The LOFTADMIN user allows the installer or implementation team to address database
issues involving schemas, updated storage procedures, or other database-related issues
that may come up during the Spectrum database (LoftStore) installation and
configuration. This user is not required for Spectrum to function.
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
l CREATE JOB
l CREATE MATERIALIZED VIEW
l CREATE PROCEDURE
l CREATE SEQUENCE
l CREATE SESSION
Object Privileges
LOFTARCH
The default tablespace for this user is SPECTRUM_ARCH, which contains all the
archived Spectrum transactional data.
Granted Roles
l JAVAUSERPRIV
l RESOURCE
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
l CREATE JOB
Object Privileges
LOFTAUDIT
The default tablespace for this user is SPECTRUM_AUDIT, which contains all Spectrum
audit data. Any change made to the LOFTSPEC schema is logged to the LOFTAUDIT
schema.
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
LOFTDV
The default tablespace for this user is SPECTRUM_DAVINCI, which contains all
Spectrum Loftware DaVinci data.
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
l CREATE JOB
l CREATE MATERIALIZED VIEW
l CREATE PROCEDURE
l CREATE SEQUENCE
LOFTDVUSER
The default tablespace for this user is SPECTRUM_DAVINCI, which contains all
Spectrum Loftware DaVinci data.
Granted Roles
l CONNECT
System Privileges
l CREATE SESSION
LOFTREPORTS
This user owns a set of Views under the LOFTREPORTS schema that allow customer
reports to be generated. This is the recommended, and supported, interface for creating
reports on the LOFTSPEC and LOFTARCH schemas.
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
LOFTSPEC
The default tablespace for this user is SPECTRUM_MAIN, which contains all Spectrum
data.
Note: Writing queries against or directly altering this schema is not recommended. This
user should not be granted SESSION.
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
l CREATE JOB
l CREATE MATERIALIZED VIEW
l CREATE PROCEDURE
l CREATE SEQUENCE
Object Privileges
l SELECT on DBA_TABLES
l EXECUTE on DBMS_CRYPTO
l EXECUTE on DBMS_SESSION
l EXECUTE on DBMS_LOCK
l EXECUTE on DBMS_AQ
l EXECUTE on DBMS_AQ_BQVIEW
l SELECT ON V_$PARAMETER
LOFTUSER
This is the connection user for the Loftware Spectrum service. No Spectrum data is
stored in this schema.
Granted Roles
l CONNECT
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
Object Privileges
l SELECT on V_$DATABASE
l EXECUTE on DBMS_SYSTEM
l EXECUTE on DBMS_OUTPUT
l EXECUTE on DBMS_AQ
l EXECUTE on DBMS_AQJMS
l EXECUTE on DBMS_SESSION
l EXECUTE on DBMS_AQIN
LOFTXREF
The default tablespace for this user is SPECTRUM_CUST, which contains all Cross
Reference Table data and audit data.
l CONNECT
System Privileges
l ALTER SESSION
l CREATE CLUSTER
l CREATE CUBE
l CREATE CUBE BUILD PROCESS
l CREATE CUBE DIMENSION
l CREATE JOB
l CREATE MATERIALIZED VIEW
l CREATE PROCEDURE
l CREATE SEQUENCE
l CREATE SYNONYM
l CREATE TABLE
l CREATE TRIGGER
l CREATE TYPE
l CREATE VIEW
l RESUMABLE
This section lists the Spectrum database roles, along with their privileges, created during
the Spectrum database installation in a PostgreSQL database.
postgres
The PostgreSQL administrator login role (named postgres by default) allows the installer
or implementation team to address database issues involving schemas, updated storage
procedures, or other database-related issues that may come up during the Spectrum
database (LoftStore) installation and configuration. This user is not required for Spectrum
to function.
System Privileges
l Can login
l Superuser
l Create roles
l Create databases
l Update catalog
l Inherit rights from parent roles
l Can initiate streaming replication and backups
loftarch
The default tablespace for this role is spectrum_arch, which contains all the archived
Spectrum transactional data.
loftaudit
The default tablespace for this role is spectrum_audit, which contains all Spectrum audit
data. Any change made to the loftspec schema is logged to the loftaudit schema.
The default tablespace for this user is spectrum_davinci, which contains all
Spectrum Loftware DaVinci data.
loftdvuser
The default tablespace for this user is spectrum_davinci, which contains all
Spectrum Loftware DaVinci data.
System Privileges
l Can login
loftreports
This role owns a set of views under the loftreports schema that allow customer reports to
be generated. This is the recommended and supported interface for creating reports on
the loftspec and loftarch schemas.
loftspec
The default tablespace for this user is spectrum_main, which contains all Spectrum data.
Note: Writing queries against or directly altering this schema is not recommended.
loftuser
This is the connection user for the Loftware Spectrum service. No Spectrum data is
stored in this schema.
System Privileges
l Can login
The default tablespace for this role is spectrum_cust, which contains all Cross Reference
Table data and audit data.
The General Data Privacy Regulation (GDPR) is a data protection and privacy regulation
set in EU law. The GDPR is intended to unify regulations across the European Union.
The regulations define a set of rights for individuals and responsibilities for the controllers
and processors of personal information. These rights and responsibilities broadly include
the following:
l Right of Access
l Right of Erasure
l Data Portability
l Data Protection by Design and Default
l Records of Processing Activities
An important part for global companies is that GDPR extends the scope of the regulation
to foreign companies that control or process the data of EU residents. In the context of
GDPR, Loftware Spectrum (Loftware) is the data processor. You, as the Spectrum
customer, are the data controller. The personal data that may be stored in Spectrum
include names and email addresses.
Spectrum gives you the tools to help you comply with GDPR. When you enable GDPR
compliance, you can encrypt the database connections and personal data of users and
redact the information of deleted users.
Important! Enabling Spectrum's GDPR features is just a part of complying with these
regulations. It is your responsibility to research your company's responsibilities when it
comes to controlling personal data and complying with GDPR. Loftware cannot
guarantee you will be in complete compliance after enabling the GDPR features in
Spectrum.
Many global businesses must comply with regulations other than GDPR regarding
electronic data. Businesses that produce food or medicine likely need to comply with the
United States' CFR 21 Part 11 rules. These rules may dictate how long you must hold
onto information, including eSignature. When you are configuring Spectrum for GDPR
compliance, you must understand all your business' responsibilities when it comes to
electronic data handling. Spectrum is flexible in that it allows you to set where to have the
personal information of deleted users redacted.
Even if you are not required to comply with GDPR or CFR 21 Part 11, there are some
common sense steps you can take to protect the data you store in Spectrum including the
personal data of your users.
l Change the default password of your SuperAdmin or ClientAdmin user. For more
information, see "Change a User's Password" in the Spectrum User Guide (Help).
l Back up your data at regular intervals.
l If you provide a default password to users, make sure they change the password
the first time they sign in.
l When configuring email devices, do not use personal email addresses. Configure
generic addresses that do not contain personal information as the From and To
addresses.
l When configuring integrations, do not use personal email addresses as Run As
users.
l When configuring Event Email Producers and Event Email Consumers, do not use
personal email addresses.
This section describes how to configure Spectrum for GDPR compliance. See About
General Data Privacy Regulation (GDPR) for more information on GDPR and its
potential impact on your business.
If you are configuring GDPR on an existing system, back up your Spectrum instance. See
Backing Up the Full Spectrum Instance for more information about backing up a
Spectrum instance.
This backup is intended for use if there is an failure during GDPR configuration that
requires you to revert to your previous version of Loftware Spectrum. Both the Spectrum
application and the Spectrum database should be backed up.
Note: Include any folders or files you have added to the Spectrum folder structure that
will need to be copied back into the new Spectrum version, such as printed PDF labels.
To back up your instance of the Spectrum application, perform the following steps.
Unless you are using a Loftware-supplied database, your site's database administrator
should create the backup of your Spectrum database using your company's standards
and tools.
If you are using a Loftware-supplied database (LoftStore), perform the following steps to
back up your database.
Downloading Personal Information provides instructions for how users download their
personal information. These instructions are also available in the Spectrum User Guide
(Help) for your users to access.
If you are using an Oracle database, your DBA can configure your database to use
encrypted connections. If you are using a PostgreSQL database, refer to the SSL
documentation on the PostgreSQL website (https://www.postgresql.org). If you are using
the Loftware-supplied database, the database connection is encrypted by default.
Important! Once the GDPR property is set to true, GDPR mode cannot be turned off.
Even if the property is set to false or removed from the System Properties table, your
Spectrum environment will continue to run in GDPR mode. Turning off the GDPR mode
system property only hides the related UI objects, including the GDPR pane in System
and the Download User Data option on the User Info tab.
3. Double-click the Value cell for the gdpr.mode key to edit the value, type true, and
press Enter.
4. Sign out of Spectrum, and then sign back in as an administrator. A GDPR tile now
appears in System.
Use this procedure to configure Spectrum to be compliant with certain aspects of the
EU's GDPR regulations.
Important! Enabling Spectrum's GDPR features is just a part of complying with these
regulations. It is your responsibility to research your company's responsibilities when it
comes to controlling personal data and complying with GDPR. Loftware cannot
guarantee you will be in complete compliance after enabling the GDPR features in
Spectrum.
4. If you want usernames redacted from your database after a user is deleted, select
Redact Username on Deletion.
5. If you want the e-signature table redacted after a user is deleted, select Redact
eSignature on Deletion.
6. If you want workflows redacted after a user is deleted, select Redact Workflow.
Important: Once GDPR compliance is turned on, it cannot be turned off. Review
this entire guide and your company's rules and guidance around personal
information privacy and security before making any choices. Even if the GDPR
Compliance option is cleared or the gdpr.mode system property is set to false, the
system will continue to respect the options originally applied and confirmed on the
GDPR Global Settings page.
8. Click Yes to confirm. You will be asked to confirm that you want to enable GDPR
compliance again.
If you use the cross reference table feature of Spectrum you may want to encrypt
personal data stored in the table. You may need to do this if you are required to comply
with GDPR. If GDPR mode is enabled in Spectrum, you can encrypt columns of data as
you are creating the table or after the fact.
Follow this procedure to encrypt the data in existing cross reference table columns.
2. Go to the Edit Columns page and select a table from the drop-down list. The
columns in the table are displayed.
These procedures remove all the data from archive and audit tables (LOFTARCH and
LOFTAUDIT). This step may be necessary when you are configuring Spectrum for GDPR
compliance. These tables may contain personal information that must be removed.
Note: If you are using Loftware Spectrum Cloud, Loftware Cloud Operations may assign
unique names for the Spectrum schemas and associated user names for each Spectrum
instance. Contact Loftware Cloud Operations for details.
2. To clear the archive tables, click Clear Archive in the Database Actions panel.
3. To clear the audit tables, click Clear Audit in the Database Actions panel.
If you use Loftware Spectrum® Business Intelligence (BI), you will need to configure it to
work with Spectrum after enabling GDPR.
4. In Spectrum BI, edit the LoftwareDefaultDataSource to append the URL field with
the following:
;{attribute('encrypted','Server')}
Example
URL (required):
;SID={attribute('defaultdbSID','Server')}
;{attribute('encrypted','Server')}
5. In Spectrum BI, select Manage, Server Settings, and select Server Attributes and
add a new attribute named "encrypted" with the following value:
EncryptionLevel=required;EncryptionTypes=AES256
This topic describes the parts of Loftware Spectrum that provide encryption to protect
personal information.
Database Encryption
When you enable GDPR compliance, you are presented with the option of redacting user
information from the different locations it is stored within Spectrum. When you choose to
redact personal information, the data is completely removed where it can be. Where a
record cannot be completely removed, the username is converted to a redacted name (a
string that does not contain personal information), and it is encrypted.
!!DELETED-10000000-!!
Username
When Redact Username on Deletion is selected, user information is removed from the
database. The username is changed to the redacted name, and the value is encrypted.
eSignature
Workflow
When Redact Workflow is selected, the username is changed to the redacted name
wherever it appears in workflow assignment records, and the value is encrypted.
Use this procedure to redact personal information from the Spectrum database.
2. Select Redact Username on Deletion to change the username and encrypt the
value.
3. Select Redact eSignature on Deletion to change the eSignature and encrypt the
value.
Loftware Spectrum allows you to configure password rules such as length, contents, and
number of entry attempts.
An administrator can create password rules to enhance security in Spectrum. You can
enter a regular expression to define the pattern and contents rules for passwords.
Important! Patterns for password patterns and contents are governed by the Java
syntax for regular expressions.
Escape sequences are required for the following characters. Precede the character with
a backslash.
<>()[]{}|^-=+*$!?.\
For more information about Java syntax for regular expressions, see "Scripting, Java,
and XML" in "External Links" in the Spectrum User Guide (Help).
Note: To perform this task, you must be signed in as the ClientAdmin, SystemAdmin, or
SuperAdmin user. For more information, see in the Spectrum User Guide (Help).
1. Sign in to Spectrum.
3. In the Authentication Rules panel, to define the minimum and maximum number of
characters allowed in a password, enter a regular expression for Password
Pattern. For more information, see Password Pattern Examples. A four character
minimum is used by default if you leave this field blank.
Example
Example
The following requires passwords to contain at least one uppercase character and
at least one numeric character:
(?=.*[A-Z])(?=.*[0-9])
Example
6. For Maximum Login Attempts, enter the number of times a user is allowed to enter
an incorrect password before being locked out of Spectrum.
Tip: If a user exceeds the number of sign in attempts, that user is locked out. To
reactivate a user's access, select the user in Access Control, click Edit, select the
Active check box, and then click Save. The SuperAdmin user is locked out after
three failed sign in attempts. To reactivate SuperAdmin access, restart the
Spectrum Application Server.
7. Click Save.
Example Definition
.{8,50} 8 character minimum and a 50 character maximum.
.{8,} 8 or more characters.
.{8} Exactly 8 characters.
You can use several strings in combination to create a stronger password requirement.
Example Definition
(?=.{8,50}) 8 character minimum and a 50
character maximum.
(?=.*[a-z]) At least one lowercase character.
(?=.*[A-Z]) At least one uppercase character.
To comply with GDPR, users must be able to export the personal information being
controlled to a machine readable format. Spectrum provides two locations where
personal data can be downloaded — from User > Download User Data or from Access
Control if permissions allow.
If you have enabled GDPR compliance, you can download the information stored in
Spectrum for a specific user to a CSV file using this procedure. For more information, see
About General Data Privacy Regulation (GDPR).
Note: If you do not have access to Access Control, you can download your personal
information from User > Download User Data. For more information, see Download
Your Personal Data.
You can download the personal information that is stored in Loftware Spectrum.