Skip to end of metadata
Go to start of metadata

Overview

This page covers system requirements and instructions on downloading, installing, configuring, restarting, upgrading, rolling back, and uninstalling the Harmony Private Agent on a Windows system. Prior to installation, we recommend reviewing Agent Groups High Availability and Load Balancing and Private Agents Best Practices Tech Talk.

System Requirements

Best Practices

  • Supported systems: Install the Private Agent on a tested and supported system as listed on this page. For optimal results, we recommend you follow these prerequisites and requirements for the operating system, PostgreSQL database, and hardware.
  • High availability and load balancing: Prior to installation, review the recommendations for high availability (active/active) and load balancing as described in Agent Groups High Availability and Load Balancing.
  • Server installation: For production environments, we recommend installing the Private Agent on a server. Agent installation on a desktop machine is recommended only for development, quality control, or testing environments.
  • Clean installation: Do not install the Private Agent on a server that is already running another database. The agent installs and runs its own PostgreSQL database. Running the agent on a server that is already running an Oracle or SQL Server database may cause performance issues.
  • Same timezone: We recommend that all agents in a Private Agent Group have the same timezone. Because the timezone of configured schedules is dependent upon the Private Agent timezone, schedule runs may be unpredictable if the timezones are different.
  • Uninstalling: Before uninstalling, we recommend you copy the config files and security certificates of your current installation in the event you want to reinstall with the same configuration at a later time.

Operating System Requirements

The Windows version of the Jitterbit Harmony Private Agent requires a 64-bit OS and is supported for these versions:

  • Windows 7 SP1 (64-bit)

  • Windows 8 and 8.1

  • Windows 10

  • Windows Server 2008 R2 SP1

  • Windows Server 2012 and 2012 R2

  • Windows Server 2016

WARNING: Based on testing, Windows XP and Windows Server 2008 prior to R2 are not supported.

Prerequisite Software Requirements

The Windows version of the Jitterbit Harmony Private Agent requires:

  • Windows updates: Install all Windows security and "critical" updates prior to installing or upgrading Jitterbit Harmony Private Agents. There are known Microsoft issues when installing on systems that don’t have the latest updates (such as KB2966870 and KB3140245).

  • .NET: Microsoft .NET Framework 4.5 or above may be required.

  • NTFS: The install partition must be NTFS-formatted.

  • Compression: Do not use Windows compression on the Jitterbit folder, PostgreSQL folder, or temp folder on the machine where the Jitterbit Private Agent is installed and running. Using Windows compression will drastically slow down processing of Jitterbit operations and transformations.

WARNING: The Private Agent requires and installs Visual C++ Redistributable for Visual Studio 2015. If installing an agent that is prior to version 10.3 and a higher version (such as Visual C++ Redistributable for Visual Studio 2017) is already installed, the installation will fail. A workaround is to first remove the higher version, install the Private Agent, and then reinstall the higher version. As of Jitterbit Harmony version 10.3, this has been fixed, and installation on a machine that already has a version of Visual C++ Redistributable for Visual Studio higher than 2015 is now successful.

Java Runtime Environment

The Jitterbit Harmony Agent package is bundled with a 64-bit version of the Java 8 Runtime Environment (JRE) and does not require a separate Java runtime. Jitterbit automatically installs the required Java Runtime Environment 8.x specifically for Jitterbit to use so that it does not conflict with other Java installations that may already be installed.

Unlimited Strength Java Cryptography Extension Requirement

For the agent to securely communicate with resources such as servers, the Java Runtime Environment used by the agent should be using the Java Cryptography Extension (JCE) with Unlimited Strength Jurisdiction Policy Files. If you are using the JRE that is shipped with the agent, it is using JCE with Unlimited Strength Jurisdiction Policy Files.

If you substitute a different JRE for the one shipped with the agent, you will need to replace the policy files included with the JRE with Unlimited Strength Jurisdiction Policy Files, if it is not already using them. To install the Java Cryptography Extension Unlimited Strength Jurisdiction Policy Files:

  1. Go to the Oracle website to download the ZIP file containing Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files.
  2. Unpack the ZIP to extract the local_policy.jar and US_export_policy.jar JAR files.
  3. Copy and replace the existing JAR files found in <JITTERBIT_HOME>\jre\lib\security, replacing <JITTERBIT_HOME> with the path to your Private Agent root directory.
  4. Restart the Jitterbit Private Agent.

PostgreSQL Requirements

PostgreSQL is installed as part of the Harmony Private Agent installation. This instance of PostgreSQL is for use only with and by Jitterbit.

  • Do not install PostgreSQL separately prior to installing Jitterbit. The Jitterbit installation automatically installs the 64-bit, 9.6.11 version of PostgreSQL with the PostgreSQL 9.3 ODBC driver. (Jitterbit Agent upgrades do not upgrade an existing PostgreSQL installation to this version; they are left as-is.)
  • Do not have any other databases configured or running on the Jitterbit PostgreSQL instance.
  • Do not use the Jitterbit PostgreSQL database/server as part of any Jitterbit operations and transformations.
  • Do not use Windows compression on the Jitterbit folder, PostgreSQL folder, or temp folder on the machine where Jitterbit is installed and running. Using Windows compression will drastically slow down processing of Jitterbit operations and transformations.
  • PgBouncer may be required for high-load environments. Jitterbit Harmony Windows Agent versions 8.21 and later automatically install PgBouncer. If you already have an existing installation of PgBouncer and experience issues upgrading, please contact support for assistance.

Hardware Requirements

These are the minimum requirements for hardware and virtual machines for Jitterbit Harmony Private Agents:

  • Quad-core processor
  • 8 GB RAM
  • 50 GB hard drive space free; this includes space for the software, parallel processing, and temporary storage that can grow quite large while running an operation

  • Minimum of 50 megabytes/second transfer rate on the hard drive
  • High-speed Internet connection
  • A direct hardware installation or an installation on a virtual machine from VMWare, VirtualBox, Amazon AWS, or Rackspace that is configured for the specific requirements outlined above
  • Optimal configuration of the system and overall environment; if not optimally configured, sporadic and unpredictable problems can result from poor disk IO, limited/out of memory, limited/out of disk space, power failures, and/or abrupt system restarts

  • Access to outbound port 443 (HTTPS) to communicate with Harmony. Port 443 is normally allowed by corporate server firewalls.

  • Access to specified inbound ports as needed;  generally, inbound ports do not need to be opened

It is recommended that the Jitterbit API platform be used for inbound messages or data. Where a Private Agent is used to receive a message directly (such as an outbound message from Salesforce) in lieu of the Jitterbit API platform, then the inbound ports 443 (with SSL) or 46909 (HTTPS) could be opened. Custom ports may be used for specific requirements if they are redefined in the Private Agent configuration and are allowed by any corporate firewall.

Download Agent

These instructions on downloading a Windows Private Agent assume you have already created an Agent Group and Private Agent(s) for your organization within the Management Console. Refer to Agents > Agent Groups and Agents > Agents for more information.

  1. Log in to the Jitterbit Harmony Portal and go to the Management Console > Agents > Agent Groups
  2. In the upper portion of the screen, select the Agent Group row. The lower half of the screen should now list the Available Agents within the selected Agent Group.
  3. In the lower portion of the screen, select the agent row. Then click the Action dropdown on the far right and select Download for Windows EXE.
  4. The Windows agent executable can be downloaded, stored locally, and reused as needed for any additional Private Agents as they are added.

Install Agent

Installing more than one agent in an Agent Group automatically allows for high availability. Installing multiple agents in an Agent Group also automatically allows for load balancing. See Agent Groups High Availability and Load Balancing for additional information. Before installing, check that all software requirements and notices have been met.

On each agent within the Agent Group:

  1. Run the downloaded Windows agent executable file, and follow the prompts.
  2. At the Login Credentials prompt, enter your Jitterbit Harmony credentials (the email address and password you use to log on to https://login.jitterbit.com).

    CAUTION: If your organization and account uses single sign-on (SSO), your normal SSO credentials will not work. You must use Harmony credentials to install Private Agent(s). See Install Private Agent with Harmony Credentials in Setting Up SSO in Jitterbit for more information.
  3. Follow the prompts to select your organization, agent, etc. The available options are those you have already configured from the Management Console.

  4. At the Select Install Mode prompt, choose the mode depending on whether you are installing PostgreSQL or have an existing installation of PostgreSQL that you would like to use:

    • Quick Install (Recommended): Installs all components needed to run the Jitterbit Agent including a PostgreSQL agent database and driver. Use this option if you have never installed PostgreSQL or the Jitterbit Agent on this computer before, or if you have properly uninstalled all components following the instructions in Uninstall Agent.

      NOTE: When you are prompted to set up your PostgreSQL password, note that the password must conform to your system's password policies regarding length and complexity.
    • Advanced: Installs the Jitterbit Agent and configures the Jitterbit Agent database to use an existing installation of PostgreSQL. You will need to provide your PostgreSQL credentials. You may wish to use this option if you want to manage passwords separately within each application.

  5. After installation, the agent should start automatically. You can check the status of the agent in the Management Console (Menu > Agents), which should be be "Running."

    NOTE: It can take more than a minute for the Jitterbit Harmony Agent to start up and register with Jitterbit Harmony.
    WARNING: If you experience any problems during installation, please contact support. If you experience errors related to PostgreSQL, see Troubleshoot PostgreSQL Errors.

Restart Agent

Restarting agent services is required whenever you have made changes to your agent configuration. Restarting the agent can also be a good troubleshooting step if you are experiencing issues, which may be resolved upon restarting.

Though the agent can be stopped and then restarted directly from the machine where the Private Agent is installed, it is best if it is first stopped from the Management Console using the "Drain Stop" command, and then restarted using the commands on the Private Agent machine itself.

The "Drain Stop" command will wait for a period of time to complete existing operations and refuse to accept new ones. Long-running operations may be canceled instead of completing. Once stopped, the agent can only be restarted manually from the Private Agent machine directly.

  1. From the Management Console, select "Drain Stop" from the menu for the Agent. The agent will then stop. You may need to 
  2. The agent can then be restarted from the machine where the Private Agent is installed, either by:
    • From the Windows Start Menu: Run "Start Jitterbit Services" to restart the service; or
    • From the Private Agent installation directory: Run StartServices.bat to restart the service.

Once the Private Agent is started successfully, the status of the agent in the Jitterbit Harmony Management Console (Menu > Agents) will be "Running." You can also use Windows Services to check that the Jitterbit Services are all up and running:

If—after restarting the agent—you see that not all Jitterbit services have restarted, you should try stopping and restarting the Private Agent. If a second attempt does not resolve the situation, you should contact support.

Upgrade Agent

Upgrading the Private Agent on Windows can be done using similar instructions as for Install Agent. Follow the prompts to upgrade your Private Agent installation. You do not need to uninstall an existing agent prior to upgrading.

A Private Agent takes a very short time to upgrade—on the order of three minutes—depending on the server. If having any outage is a concern, you can use high availability (two or more agents) and have no downtime. If your current subscription does not have additional agents available for this, contact your Customer Success Manager (CSM) for assistance.

WARNING: If you experience any problems during the upgrade, please contact support. If you experience an error related to PostgreSQL, see Troubleshoot PostgreSQL Errors.

Roll Back Agent

It is not expected to need to revert to a previous version of a Private Agent. However, should it be required, these are the steps:

  1. Back up your config files and security certificates (optional, see Uninstall Agent below).
  2. Uninstall the agent (see Uninstall Agent below).
  3. Remove all Jitterbit-related files (see Uninstall Agent below).
  4. Install the selected version of the agent (see Install Agent above).
  5. To use your backup files (optional):
    1. Stop agent services (see Restart Agent above).
    2. Place your saved config files and security certificates in the installation directory.
    3. Start agent services (see Restart Agent above).

Uninstall Agent

Before uninstalling, it is recommended to copy the config files and security certificates for your current installation in case you want to reinstall with the same configuration in the future. These are typically located at:

Files
C:\Program Files (x86)\Jitterbit Agent\jitterbit.conf
C:\Program Files (x86)\Jitterbit Agent\apache\conf\httpd.conf
C:\Program Files (x86)\Jitterbit Agent\JdbcDrivers.conf
Directories
C:\Program Files (x86)\Jitterbit Agent\apache\conf\extra\
C:\Program Files (x86)\Jitterbit Agent\apache\conf\ssl.crt\
C:\Program Files (x86)\Jitterbit Agent\apache\conf\ssl.key\
CAUTION: To be able to use your backup files in a future installation, you must stop services while you move the files over, then restart services once completed (see Restart Agent).

To uninstall a Private Agent, these steps are recommended to remove both the Private Agent and the PostgreSQL installation:

  1. Uninstall these applications (this can be done from the Control Panel under Programs and Features > Uninstall a program):
    • Jitterbit Agent
    • PostgreSQL (the version may vary from what is shown below)
    • PostgreSQL driver (may be referred to as either psqlODBC or pODBC; the version may vary from what is shown below)
  2. Delete the Jitterbit PostgreSQL user. The management panel is accessible from the Control Panel under User Accounts > Edit local users and groups. (This also can be accessed using the netplwiz or lusrmgr.msc commands.) Open the Users folder and delete the jitterbitpostgres user:

  3. Delete the Windows user folder for the jitterbitpostgres user from the Users folder of the file system:

  4. Delete the PostgreSQL folder from the Program Files folder of the file system:

  5. Delete the PostgreSQL folder from the Program Files (x86) folder of the file system:

Troubleshooting

Error 1722

There are multiple reasons the Private Agent installation could fail with this error message:

Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ...

The most common reason for this failure is a conflict with an existing version of Microsoft Visual C++ Redistributable.

The Private Agent requires and installs Visual C++ Redistributable for Visual Studio 2015. If installing an agent that is prior to version 10.3 and a higher version (such as Visual C++ Redistributable for Visual Studio 2017) is already installed, the installation will fail. A workaround is to first remove the higher version, install the Private Agent, and then reinstall the higher version. As of Jitterbit Harmony version 10.3, this has been fixed, and installation on a machine that already has a version of Visual C++ Redistributable for Visual Studio higher than 2015 is now successful.

PostgreSQL Errors

In certain cases, after uninstalling a Windows Private Agent and then attempting to reinstall the agent, users may receive an error related to the PostgreSQL database.

This error has been known to occur on systems where the PostgreSQL installation associated with the Private Agent has not been completely removed.

To resolve the error, users should follow the steps above in Uninstall Agent to completely remove the Jitterbit PostgreSQL user account. The instructions for manually removing all PostgreSQL files are in steps 2 through 5.

Once this is done, you should be able to complete a new agent installation. If you are still experiencing issues, please contact support.

On This Page

Related Topics

Last updated:  Jul 26, 2019

  • No labels