JSCAPE
  • Products
    • Managed File Transfer
    • JSCAPE SaaS
    • MFT Gateway
    • MFT Monitor
    • All Products
  • Solutions
    • All Solutions
    • Secure File Transfer
    • AS2 Server Software
    • File Synchronization
    • Reverse Proxy
    • Compliance
    • DMZ Streaming
  • Pricing
  • Company
    • Blog
    • Company
    • Contact Us
    • Clients
    • Case Studies
    • Testimonials
    • Certifications
  • Support
    • Help Desk
    • Documentation
    • Customer Downloads
Get a demo

Configure a High-Availability cluster for TCP/UDP services

Words by

John Carl Villanueva

Overview [Last updated July 20, 2019] When your server downtimes start becoming more frequent, that probably means it’s time for some major changes. One option would be to set up a high availability cluster. If you want to know how to do that, you’ve landed on the right place. In this tutorial, we’ll guide you…

Published in:

Blog

/

JSCAPE MFT, Reverse Proxy

Overview

[Last updated July 20, 2019] When your server downtimes start becoming more frequent, that probably means it’s time for some major changes. One option would be to set up a high availability cluster. If you want to know how to do that, you’ve landed on the right place. In this tutorial, we’ll guide you in setting up a high availability cluster for FTP, HTTP, SFTP, SMTP, and other TCP/UDP services.


A high availability cluster is a system consisting of two or more servers running the same type of service (e.g. all running SFTP). Its purpose is to provide network services with as little downtime as possible. A cluster can be set up using either an active-active, active-passive, or N+1 configuration (there are other configurations but these three are the most common). This tutorial only focuses on the active-active configuration.

Watch the video

Would you prefer to watch a video version of this tutorial instead? You can play the video below. Otherwise, just skip it if you wish to continue reading.

To set up this cluster we’ll be using JSCAPE MFT Gateway. MFT Gateway is a reverse proxy that also acts as a load balancer. As a reverse proxy, it provides the TCP/UDP service to external clients in behalf of the servers behind it. And as a load balancer, it distributes incoming traffic to those same servers, thereby preventing any single server from getting overloaded.

MFT Gateway with a 4-node HTTP high availability cluster

high_availability_cluster

I’ll be assuming you already have existing servers running the same service and all we need to do is to bring them together into a cluster on JSCAPE MFT Gateway.

Note that those servers should have exactly the same configurations. otherwise, you’ll encounter problems along the way. The article Simplifying MFT Server Clustering and High Availability Through Global Datastores discusses how to synchronize two servers so that they can have exactly the same settings.

Another vital component in clustering is having some kind of shared storage. The article Setting Up a NAS Shared Storage for Your File Transfer Servers provides more information on the subject.

Ready to proceed with this tutorial? Let’s begin.

Install JSCAPE MFT Gateway and launch its Manager.

Adding a cluster

Once you’ve logged in, navigate to the Clusters menu and then click the Add button.

mft gateway clusters add retina

 

That should bring up the Add Cluster dialog. Give this cluster a name. After that, select the protocol of the service which you want this cluster to serve. So, for example, if you have a set of HTTP servers that you want to bring to together into a cluster, then you simply select the HTTP protocol.

Notice that JSCAPE MFT Gateway supports a wide range of network protocols, including: FTP, FTPS, HTTP, HTTPS, SFTP/SSH, SMTP, POP3, IMAP4, and other TCP and UDP protocols.

Note: For an SFTP cluster, please select TCP. SFTP runs on TCP, so that shouldn’t be a problem.

add cluster name protocol

After specifying the protocol, expand the Algorithm list and select the load balancing algorithm you want to apply to this cluster. As of this writing, the supported algorithms are Round Robin, Weighted Round Robin, Random, Least Connections, and Weighted Least Connections. If you wish to know the difference between these algorithms, read the post ‘Comparing Load Balancing Algorithms‘

cluster load balancing algorithm

Adding servers to the cluster

Now it’s time to add our servers to this cluster. Click the Add button to add the first server. There are two Add buttons there. Click the first one as shown below.

add host 1 to the high availability cluster

Enter your server’s IP address/hostname and select the appropriate port number. The system will automatically recommend a port number based on the protocol you selected earlier. In the case of TCP though, the system will automatically recommend port 22. Change the value if you’re using a different port number. Otherwise, leave it as is. Click Add to add that server.

add server host to ha cluster

Once the server has been successfully added, it will be displayed in the list of hosts for that cluster.

newly added host on ha cluster

Add more servers to the cluster as needed. Here’s the screenshot of our cluster consisting of two (2) nodes.

Once you’re done adding hosts to the cluster, finalize the cluster creation process by clicking the second Add button.

>

2 hosts in ha cluster

You should then see your newly created cluster in the main Clusters panelp>

newly created ha cluster

Now that you have a cluster ready, the next step would be to create a reverse proxy service that would make this cluster available to client applications.

Making the cluster available to clients

Go to the Services menu and click the Add button.

add new reverse proxy service

Select the client protocol for this reverse proxy service. This is the protocol clients will be using when they connect to this service. In our example, that would be SFTP.

After that, select the server protocol. This is the protocol MFT Gateway will be using when it connects to the remote hosts in the cluster. In our example, that would again be SFTP.

proxy service protocols

For the Local host field and port number, specify a hostname/IP address and port number on your MFT Gateway server. This will be the IP address and Port number where your MFT Gateway will be listening for client requests.

After that, click the Cluster radio button and select the name of the cluster you created earlier.

Click the Add button to create the service or Add/Start to create and then start the service.

add proxy service parameters

That’s it! If you’ve been following the instructions on this tutorial, you should now have a running high availability cluster providing whatever service you created it for.

Get started

Want to try this out yourself?
Get started with JSCAPE when you request your exclusive free trial.

Recommended reading:  Why UDP file transfers are up to 100x faster than TCP.

Easy To Deploy, Easy To Administer, Easy To Manage

Ready to see how JSCAPE makes managed file transfer so much simpler? Schedule your demo now.

Request a demo

Popular Articles

View more by

JSCAPE
  •  
    1–2 minutes
    23/09/2025

    JSCAPE by Redwood, version 2025.3: New UI continues to make a splash

    Dive back into JSCAPE by Redwood with version 2025.3, bringing more modern UI updates to make using and navigating JSCAPE more intuitive. 

    Read article

  •  
    1–2 minutes
    19/08/2025

    Weathering the economic storm: Expert support is your enterprise file transfer system’s lifeline

    The global economic landscape can be described by one word: “uncertain”. Lingering effects from the 2020 pandemic, combined with new waves of international tariffs throughout 2025, have…

    Read article

  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    23/07/2025

    Avoid downtime and threat actors: Getting the best of both worlds in MFT

    For enterprise organizations relying on managed file transfer (MFT) solutions, cybersecurity often feels like an arms race. The need to patch MFT software vulnerabilities to prevent breaches…

    Read article

Related Content

Read more about

JSCAPE MFT
  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    03/07/2025

    Consolidate, deploy and thrive: JSCAPE’s formula for MFT success in uncertain times

    Global enterprises today are navigating a landscape marked by significant economic volatility. Fluctuating markets, shifting trade policies and persistent economic uncertainty are compelling enterprise organizations to reevaluate…

    Read article

  •  
    1–2 minutes
    31/03/2025

    SFTP vs. FTPS: Which file transfer software is best for business use?

    What is SFTP? SFTP is a file transfer protocol that’s normally packaged with Secure Shell (SSH), the network protocol most IT administrators use to access and manage…

    Read article

  •  
    1–2 minutes
    25/03/2025

    EDI integration with trading partners: 6 best practices

    Many large companies with high-volume transactions, especially those involved in e-commerce, manufacturing and retail supply chains, have long migrated from manual processes to Electronic Data Interchange (EDI).…

    Read article

Company

  • About Us
  • Contact Us
  • Clients
  • Case Studies
  • Testimonials
  • Privacy Policy
  • Certifications

Resources

  • Managed File Transfer
  • Secure File Transfer
  • Secure FTP Server
  • AS2 Server
  • Reverse Proxy
  • File Upload Processing
  • What Is An AS2 Server?

Support

  • Help Desk
  • Documentation
  • Customer Downloads
JSCAPE

Copyright © 2025 JSCAPE

  • Privacy Policy
  • Cookie Settings