HA file replication configuration lets you schedule automated replication of data from the primary server to the secondary server. The replication occurs every minute to ensure that in the event of a primary server failure, the secondary server can seamlessly take over without any data loss.
Role Required: SDAdmin
To configure HA data replication, go to Admin > General Settings > HA File Replication Configuration.
Enter the primary and secondary server details as follows,
Field Name
| Explanation
|
Primary/Secondary Server IP
| The IP address of the primary and secondary servers is auto-populated from HA Configuration settings.
|
Username
| Enter the username used to log into the primary and secondary servers in their respective fields.
 If the user has a domain account, enter the username in the following format: domainname\\username |
Password | Enter the primary and secondary server passwords in their respective fields.
 Ensure you update the password in the HA File Replication configuration page whenever it is changed to avoid file replication failure.  The following special characters are allowed in Password field: @ # $ ` ~ _ - + * ( ) { } [ ] ; : " / , .
In build 7201 or later, users can click on the Password field to view the allowed special characters.
|
Folders Replicated
The list of folders that will be replicated in the secondary machine is as follows:
- [AssetExplorer_Home]\inlineimages
- [AssetExplorer_Home]\custom
- [AssetExplorer_Home]\app_relationships
- [AssetExplorer_Home]\snmp
- [AssetExplorer_Home]\zreports
- [AssetExplorer_Home]\backup
- [AssetExplorer_Home]\archive
- [AssetExplorer_Home]\lib
- [AssetExplorer_Home]\exportimport
- [AssetExplorer_Home]\scannedxmls
- [AssetExplorer_Home]\fixes
- [AssetExplorer_Home]\integration
- [AssetExplorer_Home]\LuceneIndex
- [AssetExplorer_Home]\ZIA\dataset
- [AssetExplorer_Home]\fileAttachments
- [AssetExplorer_Home]\conf
- [AssetExplorer_Home]\mediaFiles
Add Folders to be Replicated
To add more folders to be replicated, follow the steps below
- Navigate to {AssetExplorer_home} / conf. in the primary machine
- Open the ha.conf file and find the key entry repl.copylist=
- Add a comma and list your folder name to the existing entries.
- Replicate the above steps in the secondary machine.
- Once replicated, navigate to {AssetExplorer_home} /tools/HighAvailability/
- Open the ha.conf file and find the key entry: repl.copylist=
- Add a comma and list your folder name to the existing entries.

For example: If your repl.copylist key has 8 existing entries and you want to add a folder named Database Configurations, this is how your entry would look:
repl.copylist = 1:inlineimages,2:custom,3:app_relationships,4:snmp,5:zreports,6:backup,7:archive,8:lib,9:DatabaseConfigurations
Restart the application for the configurations to take effect.

In case of file replication failure, HA service will be stopped and an email notification will be sent to the technicians specified in
HA Configuration.