HA File Replication Configuration

HA File Replication Configuration


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.
You can configure HA file replication only if HA configuration is set up. 

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:
  1. [AssetExplorer_Home]\inlineimages
  2. [AssetExplorer_Home]\custom
  3. [AssetExplorer_Home]\app_relationships
  4. [AssetExplorer_Home]\snmp
  5. [AssetExplorer_Home]\zreports
  6. [AssetExplorer_Home]\backup
  7. [AssetExplorer_Home]\archive
  8. [AssetExplorer_Home]\lib
  9. [AssetExplorer_Home]\exportimport
  10. [AssetExplorer_Home]\scannedxmls
  11. [AssetExplorer_Home]\fixes
  12. [AssetExplorer_Home]\integration
  13. [AssetExplorer_Home]\LuceneIndex
  14. [AssetExplorer_Home]\ZIA\dataset
  15. [AssetExplorer_Home]\fileAttachments
  16. [AssetExplorer_Home]\conf
  17. [AssetExplorer_Home]\mediaFiles
 

Add Folders to be Replicated 

To add more folders to be replicated, follow the steps below
  1. Navigate to {AssetExplorer_home} / conf. in the primary machine
  2. Open the ha.conf file and find the key entry repl.copylist=
  3. Add a comma and list your folder name to the existing entries.
  4. Replicate the above steps in the secondary machine.
  5. Once replicated, navigate to {AssetExplorer_home} /tools/HighAvailability/
  6. Open the ha.conf file and find the key entry: repl.copylist=
  7. 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.  


    • Related Articles

    • HA Configuration

      High Availability (HA) configuration ensures continuous availability of AssetExplorer during disasters or unexpected hardware/software failures. Currently, Failover Service and Disaster Recovery are supported only for servers running on Windows OS. ...
    • Agent Configuration

      Agent-based scanning is supported for Windows, Linux, and Mac machines. Before proceeding with an agent-based scan, Endpoint Central has to be installed. Click here to learn more. Configure Endpoint Central agent settings in AssetExplorer under Admin ...
    • Configuration Item Types

      Configuration Item Types (CI Types) denote the categorization of the CIs. Any organization-specific entity can be considered as a CI Type, such as Business Services, Workstations, Servers, Documents, or the People working for your organization. Each ...
    • Edit/Delete Replenishment Configuration

      You can edit only the threshold limit of replenishment configuration. Fields such as Site, Product Type, and Product Name are cannot be edited. On the replenishment list view, click beside a replenishment configuration. Update the threshold count. ...
    • Introduction - SNMP Configuration

      Using this feature, you can configure and map Object IDs (OIDs) to SNMP device attributes. How does SNMP scan work? When you scan an SNMP device, its sysOID is initially fetched. The sysOID uniquely identifies the device's model name, product type, ...