---
title: "DataSync Agent Requirements"
canonical: "https://docs.perspectium.com/space/Lithium/2326989/DataSync+Agent+Requirements"
format: markdown
---
<span style="color: #000000">The </span>**Perspectium DataSync Agent **<span style="color: #000000">requires that you have the following user permission, system, network, and Java version specifications shown below.</span>

> ℹ️ The Agent will not start if the system does not meet the [System](#systemrequirementsds) requirements. If you are directed to this page from the Agent, please review that your system has these specifications at a minimum. 
> ℹ️ 
> ℹ️ You can also use the [Validate Configuration tool](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2327014) to verify if your system’s specs meet the requirements.

> Macro (anchor)



> ℹ️ **What's on this page?**
> ℹ️ 
> ℹ️ > Macro (toc)

  


## <span style="color: #000000">**System**</span>

> Macro (anchor)



| <span style="color: #000000">System Requirements</span> |
| --- |
| <span style="color: #000000">Memory</span> | <span style="color: #000000">8GB minimum</span> |
| <span style="color: #000000">Processor Cores</span> | <span style="color: #000000">4 minimum</span> |
| <span style="color: #000000">Hard Disk Space</span> | <span style="color: #000000">100GB minimum</span><br>:info: <u><span style="color: #000000">**NOTE**</span></u><span style="color: #000000">**:**</span><span style="color: #000000"> The DataSync Agent will only run if 100GB of space is available on the partition that the Agent is installed on</span> |
| <span style="color: #000000">Network Interface</span> | <span style="color: #000000">GigE</span> |


<span style="color: #000000">If deploying in an AWS environment, we recommend using a m5 (or newer) xlarge </span><span style="color: #000000">[EC2 general purpose instance](https://aws.amazon.com/ec2/instance-types/)</span><span style="color: #000000"> with </span><span style="color: #000000">[general purpose SSD (gp2)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html)</span><span style="color: #000000"> EBS volume type. Perspectium has tested using the m5.xlarge instance type and any system meeting the system requirements should be able to run the application.</span>

<span style="color: #000000">For other cloud platforms, it is recommended to use the equivalent services to the aforementioned AWS services:</span>

|  | <span style="color: #000000">AWS</span> | <span style="color: #000000">Microsoft Azure</span> |
| --- | --- | --- |
| <span style="color: #000000">Virtual Machine</span> | <span style="color: #000000">m5 (or newer) xlarge</span><br><span style="color: #000000">[EC2 general purpose instance ](https://aws.amazon.com/ec2/instance-types/)</span> | <span style="color: #000000">Standard_D4_v3 (Dv3 and Dsv3-series), Standard_D4_v4 (Dv4 and Dsv4-series)</span><br>or newer<br><span style="color: #000000">[general purpose VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-general)</span> |
| <span style="color: #000000">Storage</span> | <span style="color: #000000">[general purpose SSD (gp2)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html)</span> | <span style="color: #000000">[Standard SSD Managed Disks](https://azure.microsoft.com/en-us/pricing/details/managed-disks/)</span> |


[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)

---

  


## <span style="color: #000000">**Supported Operating Systems**</span>

<span style="color: #000000">The following operating systems are supported by the Agent:</span>

| <span style="color: #000000">OS</span> | <span style="color: #000000">Version</span> |
| --- | --- |
| <span style="color: #000000">Windows </span> | <span style="color: #000000">Professional/Home 7+</span> |
|  | <span style="color: #000000">Server 2012+</span> |
| <span style="color: #000000">Linux*</span> | <span style="color: #000000">Red Hat 6+</span> |
|  | <span style="color: #000000">Ubuntu 14.04+</span> |
|  | <span style="color: #000000">CentOS 6+</span> |

<span style="color: #000000">*Linux requires superuser access (</span><span style="color: #000000">[sudo](https://en.wikipedia.org/wiki/Sudo)</span><span style="color: #000000">) to install the Agent and run it as a service. </span>

<span style="color: #000000">The versions of Linux specified above have been tested to work with the Agent.  Other versions with equivalent Linux kernel and meeting the other requirements above (System, Java, etc.) may also be able to run the Agent. Please contact </span><span style="color: #000000">[Perspectium Suppport](mailto:support@perspectium.com)</span><span style="color: #000000"> for more information.</span>

[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)

  


---

  


## <span style="color: #000000">**Network**</span>

<span style="color: #000000">The DataSync Agent requires outbound access to the Perspectium Integration Mesh and its MBS cloud service as well as your ServiceNow instance. Your firewall settings will need to allow this outbound traffic in order for the Agent to connect to our MBS cloud service and your ServiceNow instance to properly read data.</span>

<span style="color: #000000">MBS supports the AMQP, AMQPS, or HTTPS protocols while ServiceNow is only through HTTPS. For MBS, you will specify which protocol you will be using through the URL of the <message_connection>.</span>

HTTPS is the recommended protocol since it works with both MBS and ServiceNow.

| <span style="color: #000000">Network Requirements</span> |
| --- |
| <span style="color: #000000">AMQPS Outbound Port</span> | <span style="color: #000000">TCP/5671 outbound to your Perspectium MBS (</span><span style="color: #000000">[amqps://example.perspectium.net](#)</span><span style="color: #000000">)</span> |
| <span style="color: #000000">AMQP Outbound Port</span> | <span style="color: #000000">TCP/5672 outbound to your Perspectium MBS (</span><span style="color: #000000">[amqp://example.perspectium.net](#)</span><span style="color: #000000">)</span> |
| <span style="color: #000000">HTTPS Outbound Port</span> | <span style="color: #000000">TCP/443 outbound to your Perspectium MBS (</span><span style="color: #000000">[https://example.perspectium.net](https://example.perspectium.net)</span><span style="color: #000000">)</span> |
| <span style="color: #000000">HTTPS Outbound Port</span> | <span style="color: #000000">TCP/443 outbound to your ServiceNow instance</span> |


> Macro (show-if)
> 
> In Lithium 9.4.0, support is added to send the **psp_version** and **psp_application** request headers when sending heartbeats into MBS. psp_version will hold the version number such as **Lithium_9.4.0** and psp_application will hold the name of the application such as **datasync_agent.** Since this configuration is based on request headers, this only works with **HTTPS** and when sending heartbeats. If the Agent has the **<skip_heartbeat/>** configuration, then these headers will not be sent.


[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)

---

  


## <span style="color: #000000">**Java**</span>

> ⚠️ <span style="color: #000000">If Java is not installed on your system, the Agent will not start. Click </span>[here](https://www.baeldung.com/java-check-is-installed) for how to verify if Java is installed.

<span style="color: #000000">Java is required to be </span><span style="color: #000000">[installed](https://www.baeldung.com/java-check-is-installed)</span><span style="color: #000000"> to run the DataSync Agent. Both 32 and 64 bit versions of Java are supported. The Java version must be Java 17 or higher as of </span><span style="color: #000000">**Lithium 9.1.0. **</span><span style="color: #000000">It's strongly recommended that you use a server type JVM instead of a client or desktop version. Both </span><span style="color: #000000">[Java](https://www.oracle.com/java/)</span><span style="color: #000000"> and </span><span style="color: #000000">[OpenJDK](https://openjdk.java.net/)</span><span style="color: #000000"> are supported including distributions with OpenJDK and those that are certified compatible to the Java standard such as </span><span style="color: #000000">[Amazon Corretto](https://aws.amazon.com/corretto)</span><span style="color: #000000">. </span>


> ❌ <span style="color: #000000">For </span><span style="color: #000000">**Lithium 9.1.0 release and newer, **</span><span style="color: #000000">the DataSync Agent requires </span><span style="color: #000000">**Java 17**</span><span style="color: #000000"> at a minimum. For versions prior to </span><span style="color: #000000">**Lithium 9.1.0**</span><span style="color: #000000">, </span><span style="color: #000000">**Java 11**</span><span style="color: #000000"> is the minimum requirement. </span><span style="color: #000000">**The Agent currently only supports running in the background for Java versions up to Java 26.**</span>

| <span style="color: #000000">**DataSync Agent version**</span> | <span style="color: #000000">**Java 7 & earlier**</span> | <span style="color: #000000">**Java 8-16**</span> | Java 17 | Java 18 | Java 19 | Java 20 | Java 21 | Java 22 | Java 23 | Java 24 | Java 25 | Java 26 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| <span style="color: #000000">Lithium 9.1.0 and newer</span><br>^Background support as of Lithium 9.2.0 | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark:^ | :check_mark:^ | :check_mark:^ | :check_mark:^ | :check_mark:^ |

| <span style="color: #000000">**DataSync Agent version**</span> | <span style="color: #000000">**Java 7 & earlier**</span> | <span style="color: #000000">**Java 8-11**</span> | <span style="color: #000000">**Java 11**</span> | Java 12 | Java 13 | Java 14 | Java 15 | Java 16 | Java 17 | Java 18 | Java 19 | Java 20 | Java 21 | Java 22 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| <span style="color: #000000">Versions prior to Lithium 9.1.0</span> | :cross_mark: | :cross_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark: | :check_mark:^ |

:info:<span style="color: #000000"> </span><u>**NOTE**</u>**: **<span style="color: #000000">These versions of Java have been tested to work with the DataSync Agent. Newer versions may also be able to run the Agent but have not been tested or verified. We typically provide support for the latest version of Java with a major release after the Java version's general release date and when we have completed testing to ensure compatibility.</span>

[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)

  


  


---

## **ServiceNow**

<span style="color: #000000">The DataSync Agent requires a ServiceNow user in order to access the ServiceNow table schemas you share.  This user you specify must be a local user in the ServiceNow instance (i.e. it cannot be a SSO user) that is given at minimum the </span><span style="color: #000000">**perspectium**</span><span style="color: #000000"> role and has permissions to invoke a </span><span style="color: #000000">[processor](https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/script/processors/concept/c_Processors.html)</span><span style="color: #000000">. </span>

:info:<span style="color: #000000"> </span><u><span style="color: #000000">**NOTE**</span></u><span style="color: #000000">**: **</span><span style="color: #000000">In version </span><span style="color: #000000">**Lithium 9.2.0 **</span><span style="color: #000000">of the </span><span style="color: #000000">**Perspectium Core ServiceNow**</span><span style="color: #000000"> application, the PSPSchemaProcessor processor has been removed due to processors being </span><span style="color: #000000">[deprecated](https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/script/processors/concept/c_Processors.html)</span><span style="color: #000000">. The DataSync Agent will make a call to the PSPSchema </span><span style="color: #000000">[Scripted REST API](https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/integrate/custom-web-services/concept/c_CustomWebServices.html)</span><span style="color: #000000"> to get the ServiceNow table schema instead (which the Agent supports as of its version </span><span style="color: #000000">**Lithium 9.1.0**</span><span style="color: #000000">). The ServiceNow user you specified should have permission to make this REST API call. If you prefer to use the processor approach instead, contact </span><span style="color: #000000">[Perspectium Support](mailto:support@perspectium.com)</span><span style="color: #000000"> to request the </span><span style="color: #000000">**Perspectium PSPSchemaProcessor Addon**</span><span style="color: #000000"> update set.</span>

<span style="color: #000000">You can use ServiceNow's OAuth implementation. See </span>[here](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2327964)<span style="color: #000000"> for further information.</span>

<span style="color: #000000">You do not need to upgrade the Agent at the same time as you upgrade the ServiceNow application as the core functionality of syncing data will work. New features however may require both to be upgraded to function properly. Perspectium tests </span><span style="color: #000000">**n-2**</span><span style="color: #000000"> compatibility with each release e.g. the previous two major releases of the Agent prior to this release has been tested with the latest version of the ServiceNow application. </span>

<span style="color: #000000">[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)</span>

  


---

## <span style="color: #000000">**Supported Databases **</span>

<span style="color: #000000">**(Lithium 9.1.0 and newer)**</span>

| <span style="color: #000000">Database</span> | <span style="color: #000000">Version</span> |
| --- | --- |
| <span style="color: #000000">Oracle</span> | <span style="color: #000000">12.c, 18c, 19c and 21c</span> |
| <span style="color: #000000">SQL Server (MSSQL) / Microsoft Azure SQL</span> | <span style="color: #000000">2010 - 2022</span> |
| <span style="color: #000000">MySQL</span> | 8.0 - 9.3.0  
(as of Lithium 9.2.0) |
| <span style="color: #000000">SAP Hana</span> | <span style="color: #000000">SPS 12</span> |
| <span style="color: #000000">Amazon Redshift</span> | <span style="color: #000000">N/A</span> |
| <span style="color: #000000">Amazon Aurora (MySQL and PostgreSQL compatible)</span> | <span style="color: #000000">N/A</span> |
| <span style="color: #000000">IBM DB2</span> | <span style="color: #000000">11</span> |
| <span style="color: #000000">HP Vertica</span> | <span style="color: #000000">8.0 - 9.21</span> |
| <span style="color: #000000">PostgreSQL</span> | up to 17.5<br>(as of Lithium 9.2.0) |
| <span style="color: #000000">Snowflake</span> | <span style="color: #000000">3.22.0 (JDBC driver version)</span> |

<span style="color: #000000">^For Oracle, the Agent requires six </span><span style="color: #000000">[open cursors](https://docs.oracle.com/en/database/oracle/oracle-database/18/refrn/OPEN_CURSORS.html#GUID-FAFD1247-06E5-4E64-917F-AEBD4703CF40)</span><span style="color: #000000"> per ServiceNow table to be replicated as it uses prepared statements to ensure the most efficient processing possible. For each operation per table (insert, update, delete, query metadata) we use a prepared statement which is reused whenever the next similar operation needs to be executed against the same table. Each of these prepared statements uses a </span><span style="color: #000000">[cursor](https://blogs.oracle.com/oraclemagazine/working-with-cursors)</span><span style="color: #000000">.  If we didn't use an open cursor, every transaction would be very inefficient because the Agent would need to re-establish the client/server connection and query the structure each time. </span>

<span style="color: #000000">If deploying an AWS RDS instsnce, we recommend using the </span><span style="color: #000000">[m5.xlarge](https://aws.amazon.com/rds/instance-types/)</span><span style="color: #000000"> general purpose instance with a bandwidth of 4000 IOPS and 500GB of storage space. To really measure your bandwidth requirements, contact </span><span style="color: #000000">[support@perspectium.com](mailto:support@perspectium.com)</span><span style="color: #000000"> as we will work with you to understand how many records you plan to share a day during the initial seeding phase and the daily volume expected after the initial seeding to really know what the bandwidth needed is.</span>

<span style="color: #000000">[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)</span>

  


---

### **Database User Permissions**

<span style="color: #000000">For integrating with a database, the following are the required permissions the DataSync Agent must have.</span>

:info:<span style="color: #000000"> </span><u><span style="color: #000000">**NOTE**</span></u><span style="color: #000000">: It is recommended that the Agent be the only one writing data to this database to avoid conflicts with the Agent accessing tables it did not create and/or do not match the schema definitions as the source (such as ServiceNow).</span>

| <span style="color: #000000">Permission</span> | <span style="color: #000000">Description</span> |
| --- | --- |
| <span style="color: #000000">Create a new database </span> | <span style="color: #000000">After installation has been performed and the DataSync Agent is started, the Agent establishes a connection to the database server using the credentials configured. </span><br><span style="color: #000000">This task must be completed successfully before the Agent will proceed with subsequent processing. Once the connection has been established, the Agent will attempt to create the configured database. </span><br><span style="color: #000000">This step requires that the configured user has the proper permissions to create a new database. If this is not the case then an error will occur. As an alternative, the required database can be created by something or someone other than the Agent. When this approach is taken you add the configuration directive </span><span style="color: #000000">**<skip_database_creation/>**</span><span style="color: #000000"> to the configuration and the Agent will not attempt to create the database since this tell the Agent that the database already exists.</span> |
| <span style="color: #000000">Create tables within defined databases</span> | <span style="color: #000000">Once replicated data is available, the Agent will determine if the table associated with the replicated data exists, and if not, the Agent will create it. This means that the configured user must have the permissions required to create tables within the defined database.</span> |
| <span style="color: #000000">Query database and associated tables and update data in existing tables</span> | <span style="color: #000000">When you share out data to be consumed by the DataSync Agent, you'll typically specify whether the data is being shared in bulk or dynamically. When the data is shared in bulk and based on how the Agent has been configured, it will typically perform a query in order to determine if the row already exists in the database. The Agent must therefore have permission to query the database and the associated tables. If the Agent determines that the row already exist then it performs an update, otherwise it will insert the row. The Agent must have permission to perform both these actions.</span> |
| <span style="color: #000000">Insert data into tables</span> | <span style="color: #000000">Once the required table has been created the Agent will perform an insert in order to populate the table with the replicated row. This means that the Agent must have the permissions to perform an insert into the table.</span> |
| <span style="color: #000000">Alter table</span> | <span style="color: #000000">The Agent wants to ensure that all data is replicated. It's possible that the structure of the source table has changed.</span><br><span style="color: #000000">For example, an additional column has been added to the table or the size of a column has been increased. The Agent performs the analysis required to make this determination and by default will alter the table in order to align it with the source table. Currently, Perspectium supports adding a column and increasing the size of a text or character type column to the </span><span style="color: #000000">[maximum](https://docs-perspectium.atlassian.net/wiki/spaces/gold/pages/1287160)</span><span style="color: #000000">. Additionally, if the database supports it, a text or character type column can be modified to a larger type of text or character column. </span><br>:info:<span style="color: #000000"> </span><u><span style="color: #000000">**NOTE**</span></u><span style="color: #000000">: Perspectium does not support altering from one type to another such as a text or character type being modified to an integer or an integer to a float. </span><br><span style="color: #000000">The Agent also </span><span style="color: #000000">**will not delete**</span><span style="color: #000000"> a column in a database table if the column is deleted in ServiceNow.</span><br><span style="color: #000000">It is possible to constrain the Agent from altering tables by including the </span><span style="color: #000000">**<skip_alter/>**</span><span style="color: #000000"> directive within the SQL Subscribers <task> definition.</span> |
| <span style="color: #000000">Delete table row</span> | <span style="color: #000000">In order to support the deletion of rows from a table, the database user must also have permission to delete a table row</span> |

[↑ Go to top of page](https://docs-perspectium.atlassian.net/wiki/spaces/Lithium/pages/2326989/DataSync+Agent+Requirements#TOP)