Skip to content

Sync files between cp nodes, reconfiguration after adding / removing nodes.

Notifications You must be signed in to change notification settings

layershift/file-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Synchronization

Jelastic File Synchronization Add-on

This repository provides Lsyncd add-on for Jelastic Platform.

Lsyncd is a light-weight, live mirror solution used to synchronize app servers. Being wisely coupled with inotify, lsyncd initiates file sync only if it has detected any actual changes in the system. In such a way, the load on CPU is decreased and you do not burn up many resources on processing the synchronization.

Type of nodes this add-on can be applied to:

  • Application server (cp).

What it can be used for?

With a help of our bookmarklet, lsyncd is automatically installed on each app server available in the environment. Before its installation, you will be asked to choose the folders you want to synchronize. As a result, when a change is made in the chosen folders on any of the app servers, those changes will be synced to each server node automatically.

One of two initial options can be selected:

  • One environment synchronization;
  • Two environments synchronization.

Sync path and delay (in sec) parameters can be selected for both options and two optional parameters for second option: IP address of any node from second environment and random password which will use to access to both environments.

For more information on what File Synchronization Add-on can be used for, follow the Lsyncd reference.

Deployment

In order to get this solution instantly deployed, click the "Get It Hosted Now" button, specify your email address within the widget, choose one of the Jelastic Public Cloud providers and press Install.

GET IT HOSTED

To deploy this package to Jelastic Private Cloud, import this JPS manifest within your dashboard (detailed instruction).

For more information on what Jelastic add-on is and how to apply it, follow the Jelastic Add-ons reference.

About

Sync files between cp nodes, reconfiguration after adding / removing nodes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.4%
  • Shell 23.6%