User Tools

Site Tools


Agent Installation on Windows Systems


First off, you should have received a download such as the following (per your version):


Contact if you have not received this file.

This is the file we will use to run the agent installer.

Agent Requirements

These are the requirements needed to ensure that your agent can be executed properly and has the ability to be upgraded in the future.


System Requirements
Memory 8GB minimum
Processor Cores 4 minimum
Hard Disk Space 100GB minimum
Network Interface GigE

Network Access

The Replicator agent requires only outbound access to the Perspectium cloud and the ServiceNow instance.

Perspectium products require that your firewall settings allow traffic to and from your Perspectium MBS. This can be through any one of the following three ports: AMQP, AMQPS, or HTTPS. You will specify which protocol you will be using through the URL of the <message_connection>.

The Agent also requires that your firewall settings allow traffic to and from your ServiceNow instance. To test this access you can consult this page.

Network Requirements
AMQPS Outbound Port TCP/5671 outbound to your Perspectium MBS (amqps://
AMQP Outbound Port TCP/5672 outbound to your Perspectium MBS (amqp://
HTTPS Outbound Port TCP/443 outbound to your Perspectium MBS (
HTTPS Outbound Port TCP/443 outbound to your ServiceNow instance


Both 32 and 64 bit versions of Java are supported. The Java version must be Java 8 or higher. It's strongly recommended that you use a server type JVM instead of a client or desktop version.

A 32 bit version of Java is required if you're running the agent on a Windows server for Agent versions under 3.24.0.

You can determine that Java is in your current path and the version by issuing the following command from the command prompt:

java -version

If you don't see something like the following then please contact your system administrator for help.

java version "1.8.0_181"

Make note of the path to Java. One way to determine the path to Java on most linux distros is to issue the following command:

which java

On Windows this is typically located in “C:\Program Files \Java\…”

On either windows/linux the installer will generally find the path to the java installation and auto-fill this for you.

Verify that Java is in your PATH system (environment) variable as some installations of Java may not add it properly. If it is not there, add the path of the JRE's bin direct as indicated here.

Supported Databases

Database Version
Oracle 12c Release 1:
SQL Server (MSSQL) 2012+, 2016 recommended
MySQL 5.7.22+ supported in Europium
SAP Hana SPS 12+
Amazon Redshift 4.0-4.1
Amazon Aurora (MySQL compatible) N/A
IBM DB2 11+
HP Vertica 8.0+
PostgreSQL 42.1.4
__**Note: Perspectium uses the newest version of each of the associated JDBC drivers, which are included 
      with the install.
__**Note**__: Perspectium strongly recommends placing the Agent on the same local area network as the database server.

Supported Operating Systems

The following OS versions are supported by the Replicator Agent:

OS Version
Windows Professional & Home 7+
Windows Server 12+
Linux Redhat/AIX All


You should make note of the following settings before starting the installation. The installer will prompt you for them:

General Installer Settings
Installation Path The directory you wish to install to
Java Path java -version
Perspectium Cloud Server, User, and Password Credentials for your agent to access our cloud server

Contact if you did not receive these
Agent Name A name for your agent as provided by Perspectium or as desired
Carbon Queue Name A specified queue for your agent to subscribe to as provided by Perspectium or as desired
Decryption Key This should match the Encryption Key you specified in the Properties page of the Perspectium ServiceNow Application
SQL Replicator Settings
ServiceNow Instance, User and Password ex:
Database Server, Port, User, Password, Database Name Settings to connect to you database
File Replicator Settings
FileName The file you wish to replicate
Directory Replicator Settings
Directory The directory you wish to share from

The instance user name/ID cannot be an SSO user, it must be a local user that is given the 'perspectium' role and can invoke a processor.

Running The Installer

If you are running the installer to upgrade your Agent and previously installed the Agent to run as a Windows service, please stop the service before running the installer. The Windows service will have the same name as your agent's name.


To run the Agent installer on Windows, double-click the perspectium-replicator-installer.jar file and follow the prompts, adding your server name and credentials where required. To quickly install the Agent with default settings, select Manual Configuration (advanced) from the dropdown on Step 5. To save your installation settings in order to install the Agent on another device, click Generate an automatic installation script on Step 15.

If double-clicking the installation jar doesn't work to launch the installer, open a command line window and type in the following command:
java -jar perspectium-replicator-installer.jar

Generating an automatic installation script

After successful installation of the agent, the user is given an option to generate an automatic install script on the last panel of the agent installer. This is useful to install an agent on another machine using the same settings.

Executing the auto-install

You can execute the auto-install.xml by running the following command:

java -jar perspectium-replicator-installer-version.jar auto-install.xml

This will use the credentials and directory locations you used in the initial install. If you would like to change the directory where the Agent will be installed you can modify the auto-install.xml file.

Validating Your Configuration

After the initial set up, you can look at your configuration within the agent.xml file of the conf directory. Here you will see a generic task set up with the credentials you have just input. You can either run it now, however, it is recommended to run our tool to test and validate your current connections. It will run through your Message Bus Connections, Database Connections, and Instance Connections (to ServiceNow or elsewhere) as you have prescribed.

Following these connections it will notify you which pieces failed as well as other diagnostic information about your current configuration. To see how to run this test see here.

Installation as a Service

Since we want the Replicator agent to run all the time we'll want to do a few simple tasks to ensure that it will be automatically started when the computer is started. You should also validate that the Agent is working fully before installing it as a service.


First, let's ensure that the replicator agent will run after we've made the necessary configuration changes. You can do this first by running the ValidateConfiguration tool mentioned above.

These bat files may need to be run by someone with administrator privileges and you will be prompted to verify that the command should be run as administrator.

You may want to test run the Agent by executing the agent.bat file. This will run the Agent within a command window. Once you close the window the Agent will stop.


Right click on the file installService.bat and select “Run as Administrator” to install the agent as a service. It will not function properly if you do not “Run as Administrator”.

That's it for the installation. You can then use the startService.bat or stopService.bat to stop and start the service. You could also use the Windows Services tool. This service will be given the service name specified in the installer and the display name “Perspectium Replicator Agent”. You do not need administrator privileges to Start / Stop the Agent service once it is installed.

Please refer to the Replication Agent configuration documentation to further leverage the Perspectium Replicator Agent.

Installing Multiple Agents

During the installation process you are prompted for the Agent's name, when installing the Agent as a service it will utilize this name. This name can also be found and edited within the wrapper.conf.

If you want to install multiple agents as services on the same machine, you will need make sure that each Agent has a unique as the Service Name.

For more details see here

Upgrading the Agent

Argon or newer versions

Note: The user must copy and paste the created auto-install.xml along with the perspectium-replicator-installer.jar in the same folder or directory and issue the command stated above. The command can be issued in the command prompt of the system.

If you are upgrading a previously installed agent to a newer release, you will need to stop the currently running agent. Once the agent is stopped, you may proceed to run the install procedure described above. Note that if you generated an automatic installation script with your previous installation, you can run the installer from the command line and pass the automatic installation file as a parameter. Doing so will cause the installer to run and use all the settings you specified in the previous installation. You will not be prompted for this information.

To run the installer with an auto installation script, open a command window and change to the directory where the new installer jar file resides. Next you should locate the auto installation script from your previous install. It is usually in the top directory of the agent installation and if you accepted the default name will be called “auto-install.xml”.

Once you know the location, copy and paste the auto-intall.xml into the same folder or directory as the perspectium-replicator-installer.jar. Now you can run the following command making sure to use the correct name of the installer jar file:

java -jar perspectium-replicator-installer.jar auto-install.xml
replicator_agent_installation_win.txt · Last modified: 2018/08/28 10:51 by timothy.pike