Configuring file synchronization
Each Bravura Security Fabric instance can synchronize the files they use; for example, scripts, connectors, and plugin programs. File synchronization is controlled by the File Replication Service (idfilerep
) running on each server, and the updinst
program activates the process. The updinst
program is run during auto discovery when the Manage the system > Maintenance > Options > PSUPDATE FILE REPLICATION setting is enabled. This is the default setting.
The File Replication Service (idfilerep
) archives existing files before overwriting them. By default, the archived files are stored in the Logs directory for the instance (<Program Files path>\Bravura Security\Bravura Security Fabric\Logs\<instance> ). You can change the archive directory by using the Manage the system > Maintenance > Options > FILE REPLICATION ARCHIVE DIR setting. This directory will be automatically created on the other instances during file replication if it does not already exist.
The Manage the system > Maintenance > Options > FILE REPLICATION TIMEOUT setting is used to specify a timeout value (in seconds) before the File Replication Service disconnects. The default value is 300 seconds. This timeout only applies if servers lose their connection while backing up or deleting files; an error occurs immediately if the servers are unable to maintain a connection while replicating files.
To manually perform file synchronization:
Click Manage the system > Maintenance > File synchronization.
Select all file replication servers that you want to synchronize. You can choose file replication servers and proxy servers.
Click Synchronize.
If any nodes are missing from the Manage the system > Maintenance > File synchronization), verify that the missing nodes have network connectivity, then restart their File Replication Services. Reload the page. The missing nodes should be displayed after restarting their File Replication Services.
page (To determine which files and registry settings updinst
replicates, there are whitelists and blacklists that specify what data to include and what data to omit in the context of file/registry replication You can write an updinst.cfg
file to provide additional configuration.
A sample of updinst.cfg
is located in the samples directory. This configuration file must be placed in the \ <instance> \ psconfig \ directory before it can be used by the File Replication Service. Use this configuration file to control which files and registry settings are replicated to other instances (whitelist) and which are not replicated (blacklist). The whitelist settings override blacklist settings.
Warning
All file and configuration modifications should be done on the same server (the primary). When attempting to run updinst
from a node other than the primary, an error will occur, and the operation will be aborted. In extreme circumstances there is an option to force external data store replication (-extdb -forcerun) from a secondary node; however that should be done only when that database was corrupted on the primary (and its backups that are created every time the external data store is updated, were also corrupted) but the database, or a backup, survived on a secondary node. If updinst
is run from more than one server, or if file or registry changes are made on secondary nodes, it is possible for it to overwrite newer files or settings that exist on secondary nodes. If a server with missing files runs updinst
, that will remove those same files on all other instances.
Caution
Do not attempt to replace Database Service (iddb
) files using updinst or the File Replication Service. Updating the Database Service and related files (such as iddbmssql.dll
) must be done manually on all instances. This only applies to the Database Service service. All other services can be updated using the File Replication Service. To update the Database Service files manually, shut down all services on the instance, back up all services, and then replace the Database Service files.
Sending an alternative address
If the server on which you are running the File Replication Service cannot access the other replication servers using the hostname (that is, database replication has to use the node’s IP address to connect with other nodes), you can set the "serveraddress" string value in the instance’s registry to broadcast the node’s IP address to other replication nodes. This address can be used to set the file replication information.
See also