Back to Articles

Site A site_vars changes

This process updates the site_vars files for sites A and B to add the HTAP multidatacenter variable to each, along with the site identifier and access information for the pair site. At the end of this process, you will have two site_vars files, each containing its own unique values and a new HTAP_MULTI_DC value.

Example:

Edit Site A Insight Viewssite_vars file and add the following variables under NXT_INSIGHT_INTEGRATION:
HTAP_MULTI_DC:
  enabled: '<true/false>'
# OPTIONAL - Enable multi-datacenter - Default: 'false'.                            
  site_id: '<A/B>'
# REQUIRED when HTAP_MULTI_DC.enabled is true - unique site id for the cluster - Default: ''.
  pair_site_htap_root_password: '<password>'         
# REQUIRED when HTAP_MULTI_DC.enabled is true - HTAP DB root password for the pair site - Default: NXT_INSIGHT_INTEGRATION.htap_root_password.
  pair_site_htap_port: '<port>'                      
# REQUIRED when HTAP_MULTI_DC.enabled is true - HTAP DB port for the pair site - Default: NXT_INSIGHT_INTEGRATION.htap_port.
HTAP_MULTI_DC:
  enabled: true                                                      
  site_id: 'A'                                                       
  pair_site_htap_root_password: '<htap root password of site B>'     
  pair_site_htap_port: '<htap port of site B>'

Site B site_vars changes

Example:

Edit Site B Insight Viewssite_vars file and add the following variables under NXT_INSIGHT_INTEGRATION:
HTAP_MULTI_DC:
  enabled: true                         
  site_id: 'B'                                 
  pair_site_htap_root_password: '<htap root password of site A>'       
  pair_site_htap_port: '<htap root password of site A>'