Configuring the Presentation Server for high availability

After you install or upgrade the TrueSight Presentation Server in the high availability mode, you must configure the load balancer name to access the TrueSight Presentation Server UI with the load balancer by running the tssh properties set command from the command prompt.

 

Important

The tssh properties set command overwrites the proxy host values that you might have earlier configured. If you want to retain the values, you must add all the existing proxy host values in the command, and then add the new proxy host values. Use the tssh properties list command to view the existing proxy host values.

To configure the load balancer name

Run the following commands from the command prompt:

  1. tssh properties set loadbalancername <loadbalancername>
  2. tssh properties reload

To update the load balancer name

If you change the load balancer name after starting the TrueSight Presentation Server, you must configure the changed load balancer name before you access the TrueSight Presentation Server UI with the changed load balancer name. Run the following commands from the command prompt to configure the changed load balancer name:

  1. tssh properties set tspsProxyHosts alias1,alias2,proxy1,proxy2,changedloadbalancername
  2. tssh properties reload

To configure hosts for cross-site forgery validation

The TrueSight Presentation Server validates all incoming requests to prevent Cross-Site Forgery (CSRF) attacks. If you are connecting to the TrueSight Presentation Server with an alias or a proxy name, you must configure all hosts, aliases, or proxies for CSRF validation. Run the following commands to configure all hosts, aliases, or proxies for CSRF validation:

  1. tssh properties set tspsProxyHosts alias1,alias2,proxy1,proxy2,loadbalancername
  2. tssh properties reload

If implementing the CSRF validation degrades the performance of the UI, you can disable the CSRF filter. However, BMC strongly discourages this action. To disable the CSRF filter, run the following commands:

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. John Clitheroe

    Commands for disabling the CSRF filter are missing

    Feb 18, 2019 10:52
    1. Harihara Subramanian

      Hi John Clitheroe,

      Do you mean to say, we need to add more commands other than the following commands mentioned above? Please elaborate.


      tssh properties set csrfFilter false

      tssh properties reload

      Feb 19, 2019 12:11