You are viewing limited content. For full access, please sign in.

Question

Question

Is Audit Trail Reports Compatible with Load Balancing Such as F5?

asked on August 4, 2023

As the title enquires. The customer doesn't need resilience necessearily but would prefer to keep the Audit Reports web app with the Web Client app, which does work. 

Can a centralised profile.json be used? Or can a  standardised profile.json just be copied to all servers, or are they unique to each server? 

-Ben

0 0

Replies

replied on August 7, 2023

Hi, Ben,

 

Audit Trail Reporting Site itself should work with load balancers such as Nginx. However, there is no specification for Audit Trail to deploy with load balancer so successful deployment may not be guaranteed.

 

For questions related to profile.json, it sounds like the purpose is to install Audit Trail web sites (web applications hosted in IIS) and Audit Trail services (Windows service) on two different servers. This deployment scenario is not fully considered in Audit Trail design. From the view of Audit Trail, it is currently not recommended to do so. If you would like to give it a try, the following steps can be used for reference. Note that the configuration and behaviors are subject to change in future Audit Trail version.

 

1. Install Audit Trail on both the two servers (including both web sites and Windows services, Audit Trail only supports full installation)

2. On server A which you want to keep the web site, add the following content to {AuditTrailInstallationPath}/WebAuditReport/web.config

  <appSettings>
    <add key="ReportEndpoint" value="http://{ServerBHostName}:5082/" />
  </appSettings>

3. On server A, add the following content to {AuditTrailInstallationPath}/WebAuditConfig/web.config

  <appSettings>
    <add key="ImportServiceEndpoint" value="http://{ServerBHostName}:5081/" />
    <add key="ReportEndpoint" value="http://{ServerBHostName}:5082/" />
    <add key="EventHubServiceEndpoint" value="http://{ServerBHostName}:5085/" />
  </appSettings>

4. (Optional) On server B, stop the IIS application pool AuditTrailAppPool

5. (Optional) On server A, stop and disable the Windows services "Laserfiche Audit Trail Event Hub", "Laserfiche Audit Trail Importing Service" and "Laserfiche Audit Trail Reporting Service"

6. You may need to address other issues such as firewall and SSL

 

Regards

0 0
replied on August 8, 2023

Thanks for your reply, Jiajun.

When load balancing woth NGIX, is it necessary (or preferred) to split the web app from the Windows service? I don't need to or want to, if I don't have to.

-Ben

0 0
replied on August 8, 2023

Splitting web app and Windows service is not necessary for Audit Trail to work with load balancer.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.