Keyword search: 

Locked file replication

3/28/2012 11:44 AM
You can subscribe to this wiki article using an RSS feed reader.

This article refers to shared mode file locks. 
For replication of databases, locked system files and etc. on Windows see the article on Open File Manager.

There are different types of file locks.  In addition to these differences, each OS has its own set of rules regarding file locks as well.  FRP's replication of locked files will vary in relation to the way the OS treats these types.  However, one rule is consistent throughout all operating systems in that exclusive file locks will prevent FRP from replicating data.  In Windows operating systems the third party application Open File Manager (Download Trial of OFM) will resolve the Exclusive mode issue.  We will be providing solutions for this file lock mode in other operating systems in the future as well.

Regarding locked files in shared mode: by default, FRP will not replicate most shared mode locked files to avoid the possibility of corrupting data.  If users are confident that it is safe to replicate their locked files, it is possible to enable the the FRP system to replicate them.  To do this , open the file typically located in the /FileReplicationPro/etc  folder  on older version it is found in the /lib/ directory.  There you will find the following two parameters:

These values can be set to true or false. The false settings will allow FRP to replicate duplicate locked files. 
Once this is done, stop the three replication services and then start them up again.  Please note that while replicating FRP locks the files (so as to avoid a file being changed/deleted/moved during replication).

In short:
- If the file lock is open in exclusive mode, FRP can only replicate the data using OFM in a Windows platform.
- If the file lock is in shared mode it is possible for FRP to replicate the data but some configuration may be required.

Other lock types:
  read only mode
  read and write mode

For replication of databases, locked system files and etc. on Windows see the article on Open File Manager.

-Yitzi  03/16/09
Home: Knowledge Base Index What's new: Recently changed articles