The user interface is very simple and intuitive so that with just a few clicks users can set up a backup and a reliable data protection should something be lost or deleted. This then allows the user to make a backup exactly when they need it, for example immediately after importing photos and videos from a digital camera. The backup starts by simply connecting a portable device, such as an external HDD or USB stick, to the computer. Sync path - path to a folder (relatively to the webroot directory) that should be synchronized on a chosen below (within the Nodes field) server, e.g.The core auto backup and sync functions in O&O AutoBackup 6 are especially useful for users who up until now have been afraid of using backup software because it was too complicated or involved high maintenance.Apart of that, provide the following details: Here, specify whether file synchronization should run within One environment (as in our example) or between Two different environments (see the related dedicated options in the table below). In the opened dialog box you need to define some additional sync parameters. Locate and Install the File Synchronization add-on within the platform Marketplace.Ģ. So, to implement content synchronization inside our cluster, let’s apply the File Synchronization add-on.ġ. Here is the list of such folders for some widely-used applications:Īs you can see, one of the app server instances ( Node ID 54502 in our example) contains the newly added file in the uploads directory, whilst another one (with 54505 identifier) does not have it yet. Note: The directory with uploaded files depends on the application you are running. In our example, we will use the WordPress application, deployed to an environment with two NGINX-PHP application servers. Now, let’s see how to put all of this into action step-by-step. Thus, only changes within the selected directory (on any of specified application server instances) will trigger the synchronization. In this way, you are able to sync only the part of your app server’s file system that actually requires this. Before the appliance, you will be asked to select the folder to synchronize. The File Sync add-on can be installed on top of any platform-managed application server stack (i.e. ![]() Such realization notably offloads CPU in comparison to the regular sync calls and keeps your data up-to-date all the time, which makes this solution simultaneously simple to use, powerful, and affordable. ![]() Herewith, being wisely coupled with inotify, lsyncd initiates file synchronization only when any actual changes are detected on the system. The File Sync solution is provided as a single-click add-on, implemented with a bundle of lsyncd daemon and cron utility. Test File Upload Without Synchronizationįile Synchronization Add-on Implementation.So, follow the guide below to dive into implementation specifics of this solution and to discover how it actually works in practice with the next steps: for a single horizontally scaled node) but even across application servers in two separate environments, regardless of whether they run the same stack and/or application or different ones. Herewith, synchronization could be applied not just in confines of one environment (i.e. To help you in getting rid of such content being out-of-sync upon building clustered solution for your application, the platform provides a special File Synchronization add-on, intended to keep the uploaded files set similar across multiple web-server instances. to scale it horizontally) upon your service popularity rises.įor lots of the most widely used apps (like WordPress, Drupal, Joomla, Liferay, Redmine and similar ones) such distribution across multiple web server instances becomes a real problem, as usually all user-provisioned content is saved only on a node that has processed the corresponding file upload request. Some room of capacities for elastic extension is automatically provisioned in confines of a set server vertical scaling limit, but eventually you most likely will face the need to enlarge a number of its nodes (i.e. ![]() ![]() File Synchronization Between Several Application Servers in a ClusterĪs incoming traffic to your project grows, you need to improve your app performance to keep up with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |