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

How to set up an SFTP Active-Passive cluster

Words by

John Carl Villanueva

This post was originally published on September 17, 2016 but was updated and republished on September 28, 2018. Overview In this quick tutorial, you’ll discover an easy way to set up a failover server for your SFTP server and in turn build an SFTP active-passive high availability cluster.

Published in:

Blog

/

JSCAPE MFT, Managed File Transfer, Secure File Transfer, SFTP

This post was originally published on September 17, 2016 but was updated and republished on September 28, 2018.

Overview

In this quick tutorial, you’ll discover an easy way to set up a failover server for your SFTP server and in turn build an SFTP active-passive high availability cluster.

What we’re trying to achieve

sftp_active_passive_high_availability_cluster.png

Why you need a SFTP failover server

Your primary SFTP server can experience planned or unplanned downtimes. This might be caused by a scheduled maintenance or an outright failure. While that server is down, all business operations that rely on it will also have to come to a halt. In many situations, such downtimes, especially if they stretch over extended periods, are simply unacceptable.

A failover SFTP server serves as a backup that you can quickly activate if your primary server goes down. If you have one, you can reduce your downtimes to just a couple of minutes.

An active SFTP server coupled with a passive (failover) server is usually known as a SFTP active-passive high availability cluster. Let’s now go through the steps of setting one up using two instances of JSCAPE MFT Server. JSCAPE MFT SERVER is a highly secure, automated managed file transfer server that supports SFTP as well as several other file transfer protocols.

Prefer to watch a video version of this article instead?

Settings on your primary SFTP server

In the latest version of JSCAPE MFT Server (request a free trial), active-passive SFTP high availability clustering has been made so much easier. All you have to do is point both your primary and failover server to the same global datastore.

Here’s what you need to do on your primary server.

Go to Settings > Datastore.

Now, enter the JDBC URL of the external database that serves as your server’s global datastore. This global datastore can be any RDBMS database. In preparing for this tutorial, we just created an empty database on MySQL (no tables) and added an administrative user for it.

In our example, the JDBC URL is: jdbc:mysql://172.31.47.129/jscape_ha

and the username of our database user is: jscapeadmin

We also enter that user’s corresponding password.

After entering those basic information, we then click the “Create DB” button. This will create the database schema on the empty database.

settings datastore

If everything goes well, you should see a message box indicating that the “Database created successfully”.

database_created_successfully.png

You can double-check the database on your RDBMS to verify whether the tables were really created.

mysql database schema

Click the Apply button to finalize/commit those settings.

apply datastore settings

After you click “Apply”, you’ll be asked whether you want MFT Server to copy existing configuration data from the embedded H2 database to the newly created database (in our case, on MySQL). Click Yes.

copy existin mft server configuration data yes

You’ll then be logged out. Log back in and double-check the Datastore module to verify if the changes were indeed applied. That’s it. Now we move on to the failover server. Yes. That’s all you had to do on the primary server side. But it’s even much easier on your failover server.

Settings on your failover SFTP server

Navigate to the same page on your failover server (i.e. Settings > Datastore).

Enter exactly the same JDBC URL and database user login credentials as the ones you entered on the primary server and then click Apply.

apply datastore settings

This time, when you’re prompted whether to copy existing configuration data, click NO (Remember, in the primary server, we clicked ‘YES’). So, instead of copying configuration data from this MFT Server’s H2 database to the MySQL database, this MFT Server instance will acquire config data from the MySQL database.

copy db data no

Once again, you’ll be logged out. Simply log back in if you want to check to see if your settings were indeed changed and now share the same settings as your your primary server.

Because this is a failover server, you don’t want it to be receiving file upload/download requests or performing any automated processes while your primary server is up. So, simply stop this MFT Server service.

That’s it! From this point onwards, all configuration changes you make on your primary SFTP server will be stored in the remote RDBMS and then automatically applied to your failover SFTP server as soon as that server is restarted.

If you want to try this out yourself, request a free, fully-functional evaluation edition of JSCAPE MFT Server now.

Fill out the form to request a free JSCAPE MFT Server Trial.

In case you want to know how to set up a SFTP server on JSCAPE MFT Server, read the post “Setting Up An SFTP Server” (It’s much easier than the usual way).

Other Related posts

Active-Active vs Active-Passive High Availability Cluster

Comparing Load Balancing Algorithms

How To Install A SFTP Server on Windows

How To Set Up A HTTPS File Transfer

How To Set Up a Server To Server File Transfer

10 Ways to Make a Server to Server File Transfer Fit Enterprise Use

Preparing Trading Partner Servers For SFTP Automation

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