Spotfire Server and Environment - Quick Start

Setting up a cluster of Spotfire Servers

Setting up a Spotfire Server cluster is easier by adding new Spotfire Servers to the environment. Make sure to read the all the steps before you start.

Before you begin

  • The Spotfire database setup is completed. For instructions, see Spotfire database setup.
  • If you plan to add a load balancer in front of the servers, your load balancer must support session affinity. This means that after a session has been established, the load balancer continues to route all requests from a particular client to a particular server.
  • To be able to analyze streaming data in web clients, the load balancer must support WebSockets from the web client to the Spotfire Servers.

About this task

For general information about Spotfire Server clusters, see Clustered server deployments.

Procedure

  1. Install Spotfire Server on each computer. For instructions, see Installation.
    Note: For reasons of security and performance, do not install a Spotfire Server on the same computer as the database. (This is true for non-clustered systems as well.)
    Ensure that all the clustered Spotfire Servers have the same:
    • Version number
    • Database
    • Database drivers
    • Encryption password. This is an optional setting on the Bootstrap page of the configuration tool.
  2. Start at least one server to verify that it is working.
  3. Optional: If you want to change the clustering port, follow these steps on only one of the servers to modify the shared Spotfire Server configuration.
    Important: Make sure that none of the servers are running before you change the clustering configuration. For instructions, see Start or stop Spotfire Server.
    Note: These instructions are for using the configuration tool. Alternatively you can use the config-cluster command on the command line. For more information, see Executing commands on the command line.
    1. If the configuration tool is not open, open it; for instructions see Opening the configuration tool.
    2. On the Configuration page, at the bottom of the left pane, click Clustering.
    3. Next to Port, enter the TCP/IP port that you want to use for clustering. This port is the same for all servers in the cluster. (The default is 5701.)
      Note: Apache Ignite uses three ports. For information about how the ports are numbered, see the "Ports" section of Clustered server deployments. Make sure that on all the servers, these ports are not protected by a firewall.
    4. At the bottom of the page, click Save configuration.
  4. Start all the servers in the cluster.