Spotfire® Server and Environment - Installation and Administration

Enabling a graceful shutdown of a Spotfire Server cluster

Upgrading or changing the configuration of Spotfire can cause the server cluster to stop and then need to be restarted. You can configure the server cluster to restart gracefully automatically.

Before you begin

Review the configuration options for graceful shutdown: See the cluster section of Graceful shutdown configuration settings.

About this task

For information about configuring a single Spotfire instance for graceful shutdown, see Enabling a graceful shutdown of a single Spotfire Server instance

Note: You can set up a URL to monitor the health status of load-balanced servers in a cluster. For more information about enabling this feature, see Enabling health check URL for load balanced servers.

Procedure

  1. Open a command-line interface and export the active configuration by using the export-config command. (For details on using the Spotfire command line, see Executing commands on the command line.)
  2. On the command line, enter the following command:
    config set-config-prop --name=lifecycle.changes-monitoring.draining.rolling.enabled --value=true
  3. For each option you want to set for graceful shutdown, run the command config set-config-prop, passing in the name and value.
    Note: These settings control draining and shutting down only. The system relies on an external action to start the servers again; for example, using systemd/Windows service or Kubernetes.

What to do next

When you have set all of the options, import the configuration file back to the Spotfire database by using the import-config command.